st/nine: Do not use scratch for face register
authorAxel Davy <davyaxel0@gmail.com>
Thu, 5 Apr 2018 21:46:48 +0000 (23:46 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Sun, 8 Apr 2018 20:49:43 +0000 (22:49 +0200)
commitd899826733b1f6614c913c1c216f8157bf9e297d
tree937f6dfb5eb6c7ede3329a4867b83050a0cc66e3
parent9e802736935816d5456ff93c990d3a751c11a971
st/nine: Do not use scratch for face register

Scratch registers are reused every instructions.
Since vFace is reused, a new temporary register
should be used.

Fixes: https://github.com/iXit/Mesa-3D/issues/311
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
CC: "17.3 18.0" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/nine/nine_shader.c