st/nine: Fix ff cases when stages should be disabled
authorAxel Davy <axel.davy@ens.fr>
Sat, 26 Nov 2016 20:58:29 +0000 (21:58 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:21 +0000 (23:44 +0100)
commit7afea63d4fc2077c0f18604c0b68adb13435eabc
tree6305c43ce165a3db5d88ab8be900529fa2e7520b
parent191b90a35c1fa5230937456a95722971d46ed79d
st/nine: Fix ff cases when stages should be disabled

When a texture is read by a stage for colorop, it should
be disabled, and disable following stages.

When a texture is read for alphaop, 1.0f is read for the input,
which is the behaviour for a dummy texture.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_ff.c