st/nine: Fix support for ps 1.4 dw and dz modifiers
authorAxel Davy <axel.davy@ens.fr>
Sun, 26 Mar 2017 20:57:15 +0000 (22:57 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 13 Apr 2017 18:05:03 +0000 (20:05 +0200)
commit442780ea373cbea7d138e9cfa8c4857bb8118b3a
tree2086ffa4b5bdf68586e812398a6ff3e1f6dc3f46
parentd8ffe4d0ce954218461218d0cc7c83d6832f0d98
st/nine: Fix support for ps 1.4 dw and dz modifiers

RCP was used incorrectly to support NINED3DSPSM_DW and
NINED3DSPSM_DZ. src.x was used as input instead of src.w
or src.z.

Fixes: https://github.com/iXit/Mesa-3D/issues/271
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/state_trackers/nine/nine_shader.c