st/nine: Set CLAMP_TO_EDGE on cubetextures
authorPatrick Rudolph <siro@das-labor.org>
Sat, 24 Sep 2016 16:19:26 +0000 (18:19 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:51 +0000 (23:43 +0200)
commit09edc0555f91d76001b1ffc0e656b0614abb809a
tree52e990e1f26f0bba30276502968a2777d51587e9
parentfa2574497b25d06258404b83282719dbb477b190
st/nine: Set CLAMP_TO_EDGE on cubetextures

Wine tests show that cubetextures always use
PIPE_TEX_WRAP_CLAMP_TO_EDGE regardless of set
sampler states.

Fixes failing d3d9 wine test test_cube_wrap.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_pipe.c
src/gallium/state_trackers/nine/nine_state.c
src/gallium/state_trackers/nine/nine_state.h