From 6bbb7b9fc5bc978ac3236064a1de50376177c735 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 16 Oct 2016 15:56:14 +0200 Subject: st/nine: Move texture setting to nine_context_* And move samplers_shadow to 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 --- src/gallium/state_trackers/nine/vertexshader9.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/state_trackers/nine/vertexshader9.h') diff --git a/src/gallium/state_trackers/nine/vertexshader9.h b/src/gallium/state_trackers/nine/vertexshader9.h index f1d8ec1e0d4..a912d4628b4 100644 --- a/src/gallium/state_trackers/nine/vertexshader9.h +++ b/src/gallium/state_trackers/nine/vertexshader9.h @@ -80,13 +80,12 @@ static inline BOOL NineVertexShader9_UpdateKey( struct NineVertexShader9 *vs, struct NineDevice9 *device ) { - struct nine_state *state = &(device->state); struct nine_context *context = &(device->context); uint8_t samplers_shadow; uint64_t key; BOOL res; - samplers_shadow = (uint8_t)((state->samplers_shadow & NINE_VS_SAMPLERS_MASK) >> NINE_SAMPLER_VS(0)); + samplers_shadow = (uint8_t)((context->samplers_shadow & NINE_VS_SAMPLERS_MASK) >> NINE_SAMPLER_VS(0)); samplers_shadow &= vs->sampler_mask; key = samplers_shadow; -- cgit v1.2.3