X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fgen7_urb.c;h=d371c19357708f3465d69b5d63b6904bff391e9d;hb=4e56a9ad46ff7fe85308ce12e21719ff2b476516;hp=201f42e7ad5d028307b3c2c5370c13949ee97933;hpb=20ef23b22721961c93b73700f619179d33747554;p=mesa.git diff --git a/src/mesa/drivers/dri/i965/gen7_urb.c b/src/mesa/drivers/dri/i965/gen7_urb.c index 201f42e7ad5..d371c193577 100644 --- a/src/mesa/drivers/dri/i965/gen7_urb.c +++ b/src/mesa/drivers/dri/i965/gen7_urb.c @@ -94,7 +94,7 @@ gen7_allocate_push_constants(struct brw_context *brw) * Similar text exists for the other 3DSTATE_PUSH_CONSTANT_ALLOC_* * commands. */ - brw->state.dirty.brw |= BRW_NEW_PUSH_CONSTANT_ALLOCATION; + brw->ctx.NewDriverState |= BRW_NEW_PUSH_CONSTANT_ALLOCATION; } void @@ -152,7 +152,7 @@ gen7_upload_urb(struct brw_context *brw) /* If we're just switching between programs with the same URB requirements, * skip the rest of the logic. */ - if (!(brw->state.dirty.brw & BRW_NEW_CONTEXT) && + if (!(brw->ctx.NewDriverState & BRW_NEW_CONTEXT) && brw->urb.vsize == vs_size && brw->urb.gs_present == gs_present && brw->urb.gsize == gs_size) {