diff options
author | Eric Anholt <[email protected]> | 2010-03-19 17:14:12 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-03-22 15:04:46 -0700 |
commit | 7319b19fc94c3b49d19b8bf9ce52dc17db3ac6f3 (patch) | |
tree | 7c4f272fd5428768b2a8b0a66d1083f175704cc6 | |
parent | 073f8d1c00165acccb60f878a2aa770c2b885aec (diff) |
i965: Force single program flow in SNB GS, to match gen4 GS.
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_gs_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_gs_state.c b/src/mesa/drivers/dri/i965/gen6_gs_state.c index 161e7b85c28..cefc93ba48b 100644 --- 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) | |