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/gen7_vs_state.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/gen7_vs_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_vs_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_vs_state.c b/src/mesa/drivers/dri/i965/gen7_vs_state.c index 0e9b4fe83ca..278b3ec6d21 100644 --- a/src/mesa/drivers/dri/i965/gen7_vs_state.c +++ b/src/mesa/drivers/dri/i965/gen7_vs_state.c @@ -66,7 +66,7 @@ gen7_upload_constant_state(struct brw_context *brw, * that is sent */ if (brw->gen >= 9) - brw->state.dirty.brw |= BRW_NEW_SURFACES; + brw->ctx.NewDriverState |= BRW_NEW_SURFACES; } |