Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
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 = ~0ull;
+ brw->ctx.NewDriverState |= ~do_not_smash_bits;
brw->no_depth_or_stencil = false;
brw->ib.type = -1;
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 */,