summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/basetexture9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-16 16:09:51 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:21 +0100
commiteed47b748f26363c0de063f51b0c67959e7e5b06 (patch)
treee515f5f9128eb717a3a86026970d8f70cc163b7f /src/gallium/state_trackers/nine/basetexture9.c
parent6bbb7b9fc5bc978ac3236064a1de50376177c735 (diff)
st/nine: Back textures into nine_context
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/basetexture9.c')
-rw-r--r--src/gallium/state_trackers/nine/basetexture9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c
index e7b049c4311..633fa232877 100644
--- a/src/gallium/state_trackers/nine/basetexture9.c
+++ b/src/gallium/state_trackers/nine/basetexture9.c
@@ -209,6 +209,7 @@ NineBaseTexture9_UploadSelf( struct NineBaseTexture9 *This )
struct nine_state *state = &This->base.base.device->state;
unsigned s;
for (s = 0; s < NINE_MAX_SAMPLERS; ++s)
+ /* Dirty tracking is done in device9 state, not nine_context. */
if (state->texture[s] == This)
state->changed.group |= NINE_STATE_TEXTURE;
}