summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2016-04-22 13:43:39 +0300
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2016-04-23 07:09:39 +0300
commit234b5f23f8047a837b8236e58301ad60fe63902b (patch)
tree332738ad8ea6e2c91b36d3b1a943230197d1f727 /src/mesa/drivers/dri
parent6d5ce1b0433f4cbc5cd88b4bfeaf4cdcba6beda8 (diff)
downloadexternal_mesa3d-234b5f23f8047a837b8236e58301ad60fe63902b.zip
external_mesa3d-234b5f23f8047a837b8236e58301ad60fe63902b.tar.gz
external_mesa3d-234b5f23f8047a837b8236e58301ad60fe63902b.tar.bz2
i965/blorp: Use BRW_NEW_BLORP instead of trashing all state bits
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp.cpp4
-rw-r--r--src/mesa/drivers/dri/i965/gen7_urb.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp
index ce09b09..76c9fbe 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp
@@ -284,12 +284,10 @@ retry:
if (unlikely(brw->always_flush_batch))
intel_batchbuffer_flush(brw);
- const uint64_t do_not_smash_bits = BRW_NEW_URB_SIZE;
-
/* We've smashed all state compared to what the normal 3D pipeline
* rendering tracks for GL.
*/
- brw->ctx.NewDriverState |= ~do_not_smash_bits;
+ brw->ctx.NewDriverState |= BRW_NEW_BLORP;
brw->no_depth_or_stencil = false;
brw->ib.type = -1;
diff --git a/src/mesa/drivers/dri/i965/gen7_urb.c b/src/mesa/drivers/dri/i965/gen7_urb.c
index 3f731df..a412a42 100644
--- a/src/mesa/drivers/dri/i965/gen7_urb.c
+++ b/src/mesa/drivers/dri/i965/gen7_urb.c
@@ -418,8 +418,7 @@ gen7_emit_urb_state(struct brw_context *brw,
const struct brw_tracked_state gen7_urb = {
.dirty = {
.mesa = 0,
- .brw = BRW_NEW_BLORP |
- BRW_NEW_CONTEXT |
+ .brw = BRW_NEW_CONTEXT |
BRW_NEW_URB_SIZE |
BRW_NEW_GEOMETRY_PROGRAM |
BRW_NEW_TESS_PROGRAMS |