st/nine: Add validation to SetSamplerState
authorAxel Davy <axel.davy@ens.fr>
Sat, 16 May 2015 14:46:51 +0000 (16:46 +0200)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:20 +0000 (23:44 +0100)
commit494ace4b851fc3201bdb0297e53ccf8dfde78510
tree893c3aeb9978636ded44b7d6e01459f6a7eff8c6
parentf4d5bc2555a419bd5304b64fedc91fad79cd8d2b
st/nine: Add validation to SetSamplerState

Check value validity and mimick Win behaviour.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/nine_limits.h
src/gallium/state_trackers/nine/nine_state.c
src/gallium/state_trackers/nine/nine_state.h
src/gallium/state_trackers/nine/stateblock9.c