st/nine: Account POINTSIZE_MIN and POINTSIZE_MAX for point size
authorPatrick Rudolph <siro@das-labor.org>
Sun, 19 Apr 2015 08:14:30 +0000 (10:14 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:45 +0000 (22:21 +0200)
commit1b645df2f309833cca5dbeaa2deceeda36a7426c
tree00d6359e7bd82aaac53d80020720ce58837a0753
parent886227d363b7e889e2a9162c27059e2a9fe79cb7
st/nine: Account POINTSIZE_MIN and POINTSIZE_MAX for point size

When using D3DRS_POINTSIZE make sure the value is at least
D3DRS_POINTSIZE_MIN but not greater than D3DRS_POINTSIZE_MAX.

Fixes some Wine tests.

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