On Wednesday, September 6, 2017 5:12:10 AM PDT Chris Wilson wrote: > Quoting Kenneth Graunke (2017-09-06 01:09:46) > > @@ -156,11 +158,14 @@ intel_batchbuffer_reset(struct intel_batchbuffer > > *batch, > > batch->map = brw_bo_map(NULL, batch->bo, MAP_READ | MAP_WRITE); > > batch->map_next = batch->map; > > > > + batch->state_bo = brw_bo_alloc(bufmgr, "statebuffer", STATE_SZ, 4096); > > + batch->state_map = brw_bo_map(NULL, batch->state_bo, MAP_READ | > > MAP_WRITE); > > + batch->state_used = 1; /* don't make 0 valid */ > > You'll want to mark this state_bo with EXEC_OBJECT_CAPTURE. > -Chris
Yikes, good point! I hadn't actually realized that we'd lose the ability to capture the state buffer on earlier kernels. That's unfortunate, but there's not much we can do. Fixed locally.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev