From eadabec4cd0649af2827cce2bd71aea0cb6e7d06 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 8 Nov 2013 22:21:29 -0800 Subject: 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 Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/gen7_urb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') 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); } -- cgit v1.2.3