projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
073f8d1
)
i965: Force single program flow in SNB GS, to match gen4 GS.
author
Eric Anholt
<eric@anholt.net>
Sat, 20 Mar 2010 00:14:12 +0000
(17:14 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 22 Mar 2010 22:04:46 +0000
(15:04 -0700)
src/mesa/drivers/dri/i965/gen6_gs_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/gen6_gs_state.c
b/src/mesa/drivers/dri/i965/gen6_gs_state.c
index 161e7b85c289c1335458741d6527ae72bf18c349..cefc93ba48b13fed9482231f98cd5c8b3ed9b86c 100644
(file)
--- a/
src/mesa/drivers/dri/i965/gen6_gs_state.c
+++ b/
src/mesa/drivers/dri/i965/gen6_gs_state.c
@@
-50,7
+50,8
@@
upload_gs_state(struct brw_context *brw)
BEGIN_BATCH(7);
OUT_BATCH(CMD_3D_GS_STATE << 16 | (7 - 2));
OUT_RELOC(brw->gs.prog_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
- OUT_BATCH((0 << GEN6_GS_SAMPLER_COUNT_SHIFT) |
+ OUT_BATCH(GEN6_GS_SPF_MODE |
+ (0 << GEN6_GS_SAMPLER_COUNT_SHIFT) |
(0 << GEN6_GS_BINDING_TABLE_ENTRY_COUNT_SHIFT));
OUT_BATCH(0); /* scratch space base offset */
OUT_BATCH((1 << GEN6_GS_DISPATCH_START_GRF_SHIFT) |