diff options
author | Jordan Justen <[email protected]> | 2015-03-19 18:57:34 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-03-31 16:40:24 -0700 |
commit | 4e56a9ad46ff7fe85308ce12e21719ff2b476516 (patch) | |
tree | 461e06bf2e5d25a52ae16495471d47903c9857af /src/mesa/drivers/dri/i965/brw_interpolation_map.c | |
parent | 20ef23b22721961c93b73700f619179d33747554 (diff) |
i965/state: Don't use brw->state.dirty.brw
Now, we only use ctx->NewDriverState.
I used this bash & sed command in the i965 directory:
for file in *.[ch] *.[ch]pp; do
sed -i -e 's/state\.dirty\.brw/ctx.NewDriverState/g' $file
done
Followed by manual changes to brw_state_upload.c.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_interpolation_map.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_interpolation_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_interpolation_map.c b/src/mesa/drivers/dri/i965/brw_interpolation_map.c index 8ab17aaa505..b5da6f5ea3b 100644 --- a/src/mesa/drivers/dri/i965/brw_interpolation_map.c +++ b/src/mesa/drivers/dri/i965/brw_interpolation_map.c @@ -44,7 +44,7 @@ brw_setup_vue_interpolation(struct brw_context *brw) memset(&brw->interpolation_mode, INTERP_QUALIFIER_NONE, sizeof(brw->interpolation_mode)); - brw->state.dirty.brw |= BRW_NEW_INTERPOLATION_MAP; + brw->ctx.NewDriverState |= BRW_NEW_INTERPOLATION_MAP; if (!fprog) return; |