summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/nine_ff.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-17 21:43:11 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:21 +0100
commit2a698c3df2a940a693d39c77692b32d946ccec1d (patch)
tree51fb54d5b061beb5079faf61442d6cb3895b379b /src/gallium/state_trackers/nine/nine_ff.h
parent43288cf376a280f1f7757e2c47f6ddcaad0c384f (diff)
st/nine: Back vs to nine_context
And move programmable_vs storage and computation. Part of the refactor to move all gallium calls to nine_state.c, and have all internal states required for those calls in nine_context. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_ff.h')
-rw-r--r--src/gallium/state_trackers/nine/nine_ff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_ff.h b/src/gallium/state_trackers/nine/nine_ff.h
index b1e3b9ac4a9..ec79959211f 100644
--- a/src/gallium/state_trackers/nine/nine_ff.h
+++ b/src/gallium/state_trackers/nine/nine_ff.h
@@ -85,7 +85,7 @@ nine_ff_get_projected_key(struct nine_state *state, struct nine_context *context
unsigned dim = state->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & 0x7;
unsigned proj = !!(state->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & D3DTTFF_PROJECTED);
- if (!state->vs) {
+ if (!context->vs) {
if (dim > 4)
dim = input_texture_coord[s];