summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/gen7_blorp.cpp
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2016-04-15 14:03:18 +0300
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2016-04-21 10:20:03 +0300
commit0ae360f098d88450f73f2b2176a6839ab593da2a (patch)
tree5341e0b4fd9f4afd8e62c12df3eaf3b7a807bd0f /src/mesa/drivers/dri/i965/gen7_blorp.cpp
parent69dfb7b2b7f2686f782414bc303f24f584f8f850 (diff)
i965/blorp: Do not tricker urb re-configuration unnecessarily
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_blorp.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_blorp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.cpp b/src/mesa/drivers/dri/i965/gen7_blorp.cpp
index c6f95492de2..e1e855951f8 100644
--- a/src/mesa/drivers/dri/i965/gen7_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/gen7_blorp.cpp
@@ -74,6 +74,8 @@ gen7_blorp_emit_urb_config(struct brw_context *brw)
if (gen7_blorp_skip_urb_config(brw))
return;
+ brw->ctx.NewDriverState |= BRW_NEW_URB_SIZE;
+
gen7_emit_push_constant_state(brw,
urb_size / 2 /* vs_size */,
0 /* hs_size */,