st/nine: Commit sampler views again if srgb state changed.
authorAxel Davy <axel.davy@ens.fr>
Wed, 7 Jan 2015 15:34:12 +0000 (16:34 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 5 Feb 2015 23:07:18 +0000 (00:07 +0100)
commit65ce2b2848eafe0d51375edca15fbb91956668e4
tree7025eaea3fa9553f506e5cc8d608fe07fc24ae1b
parent2d2286d17c78af95c4bb5f56ef1b58a09eef7260
st/nine: Commit sampler views again if srgb state changed.

This fixes a wine test and some minor visual issues on some games.

The patch is not optimal, there is probably a more efficient way to
fix this issue, but the code there already has some innefficiencies.
There is plans to rewrite that part of the code to make it more
efficient.

Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/nine_state.c
src/gallium/state_trackers/nine/nine_state.h