summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-11-08 22:21:29 -0800
committerKenneth Graunke <[email protected]>2014-01-14 00:59:03 -0800
commiteadabec4cd0649af2827cce2bd71aea0cb6e7d06 (patch)
treed84d662a65dcfc5160e38bfb10364a753af15414 /src
parent8618407d15ead94358ccd691f598ca1c76c46385 (diff)
i965: Disable workaround flush for push constants on Broadwell.
If it wasn't necessary for Haswell, it's likely not to be necessary for Broadwell either. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_urb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_urb.c b/src/mesa/drivers/dri/i965/gen7_urb.c
index 34634762438..c37c110fa8e 100644
--- a/src/mesa/drivers/dri/i965/gen7_urb.c
+++ b/src/mesa/drivers/dri/i965/gen7_urb.c
@@ -122,7 +122,7 @@ gen7_emit_push_constant_state(struct brw_context *brw, unsigned vs_size,
*
* No such restriction exists for Haswell.
*/
- if (!brw->is_haswell)
+ if (brw->gen < 8 && !brw->is_haswell)
gen7_emit_cs_stall_flush(brw);
}