diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_sol.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_sol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sol.c b/src/mesa/drivers/dri/i965/gen6_sol.c index 689b68f2f33..e1c1b3cb060 100644 --- a/src/mesa/drivers/dri/i965/gen6_sol.c +++ b/src/mesa/drivers/dri/i965/gen6_sol.c @@ -65,7 +65,7 @@ gen6_update_sol_surfaces(struct brw_context *brw) } } - SET_DIRTY_BIT(brw, BRW_NEW_SURFACES); + brw->state.dirty.brw |= BRW_NEW_SURFACES; } const struct brw_tracked_state gen6_sol_surface = { @@ -103,7 +103,7 @@ brw_gs_upload_binding_table(struct brw_context *brw) /* Skip making a binding table if we don't have anything to put in it. */ if (!has_surfaces) { if (brw->ff_gs.bind_bo_offset != 0) { - SET_DIRTY_BIT(brw, BRW_NEW_GS_BINDING_TABLE); + brw->state.dirty.brw |= BRW_NEW_GS_BINDING_TABLE; brw->ff_gs.bind_bo_offset = 0; } return; @@ -119,7 +119,7 @@ brw_gs_upload_binding_table(struct brw_context *brw) /* BRW_NEW_SURFACES */ memcpy(bind, brw->ff_gs.surf_offset, BRW_MAX_GEN6_GS_SURFACES * sizeof(uint32_t)); - SET_DIRTY_BIT(brw, BRW_NEW_GS_BINDING_TABLE); + brw->state.dirty.brw |= BRW_NEW_GS_BINDING_TABLE; } const struct brw_tracked_state gen6_gs_binding_table = { |