summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-11-09 16:13:44 -0800
committerKenneth Graunke <kenneth@whitecape.org>2015-11-09 16:13:44 -0800
commit6bbbdadb5c940db69f146ed51555a30e032ad7b6 (patch)
treed1b5ac12f1c3da8fad16b7d8a7f7ed5b848ef2ec
parentda4b44e9e41545c95a9e9f6df7b49d8a0f10880f (diff)
disable single program flow
UFO on IVB doesn't do it. UFO on SKL doesn't do it. I can't imagine this is actually necessary. SPF seemed to be papering over the previous CSE / WE_all bug.
-rw-r--r--src/mesa/drivers/dri/i965/gen8_hs_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_hs_state.c b/src/mesa/drivers/dri/i965/gen8_hs_state.c
index bd51aeb374..9ffb555f57 100644
--- a/src/mesa/drivers/dri/i965/gen8_hs_state.c
+++ b/src/mesa/drivers/dri/i965/gen8_hs_state.c
@@ -64,8 +64,7 @@ gen8_upload_hs_state(struct brw_context *brw)
OUT_BATCH(0);
}
/* Decrement dispatch_grf_start_reg by 1 for gl_PatchVerticesIn hack */
- OUT_BATCH(GEN7_HS_SINGLE_PROGRAM_FLOW |
- GEN7_HS_INCLUDE_VERTEX_HANDLES |
+ OUT_BATCH(GEN7_HS_INCLUDE_VERTEX_HANDLES |
SET_FIELD(prog_data->base.dispatch_grf_start_reg - 1,
GEN7_HS_DISPATCH_START_GRF));
OUT_BATCH(0); /* MBZ */