From f15ff98e2c53f6ce62443b24e3a9cf79c60ddff7 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Thu, 14 May 2015 19:24:57 +0200 Subject: st/nine: Use CSO cache for sampler views The CSO cache unbinds views that are not needed anymore, which we don't do. It checks for change before committing the views. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/state_trackers/nine/device9.c') diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index b5ff7746c7f..dbe0e16da5f 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -2711,9 +2711,6 @@ NineDevice9_SetSamplerState( struct NineDevice9 *This, state->samp[Sampler][Type] = Value; state->changed.group |= NINE_STATE_SAMPLER; state->changed.sampler[Sampler] |= 1 << Type; - - if (Type == D3DSAMP_SRGBTEXTURE) - state->changed.srgb = TRUE; } return D3D_OK; -- cgit v1.2.3