projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b333d23
)
rendercopy/bdw: Fix the STATE_SIP instruction length
author
Damien Lespiau
<damien.lespiau@intel.com>
Fri, 22 Nov 2013 17:36:54 +0000
(17:36 +0000)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Thu, 28 Nov 2013 14:33:37 +0000
(14:33 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/rendercopy_gen8.c
patch
|
blob
|
history
diff --git
a/lib/rendercopy_gen8.c
b/lib/rendercopy_gen8.c
index
7089676
..
30f5ff5
100644
(file)
--- a/
lib/rendercopy_gen8.c
+++ b/
lib/rendercopy_gen8.c
@@
-471,8
+471,9
@@
gen6_create_scissor_rect(struct intel_batchbuffer *batch)
}
static void
-gen6_emit_sip(struct intel_batchbuffer *batch) {
- OUT_BATCH(GEN6_STATE_SIP | 0);
+gen8_emit_sip(struct intel_batchbuffer *batch) {
+ OUT_BATCH(GEN6_STATE_SIP | (3 - 2));
+ OUT_BATCH(0);
OUT_BATCH(0);
}
@@
-889,7
+890,7
@@
void gen8_render_copyfunc(struct intel_batchbuffer *batch,
* order */
OUT_BATCH(GEN6_PIPELINE_SELECT | PIPELINE_SELECT_3D);
- gen
6
_emit_sip(batch);
+ gen
8
_emit_sip(batch);
gen7_emit_push_constants(batch);