summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-05-14 19:24:57 +0200
committerAxel Davy <[email protected]>2015-08-21 22:21:48 +0200
commitf15ff98e2c53f6ce62443b24e3a9cf79c60ddff7 (patch)
tree6578ff2431895b2da73d72b52a7793a923779ec5 /src/gallium/state_trackers/nine/device9.c
parent98f786b270b3e55a1e8a7bdc8182e436702748a2 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.c')
-rw-r--r--src/gallium/state_trackers/nine/device9.c3
1 files changed, 0 insertions, 3 deletions
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;