st/nine: Declare lighting consts for ff shaders
authorAxel Davy <davyaxel0@gmail.com>
Mon, 2 Apr 2018 16:25:35 +0000 (18:25 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Fri, 6 Apr 2018 21:34:31 +0000 (23:34 +0200)
commit39240926cd45519f35a6fa576c387f727b057aa1
tree962a07299fe584a6f8c44f0d1994cfa076a350ee
parent67c728f7a9450b04d4de1a29f1dcfb9265a7ebfd
st/nine: Declare lighting consts for ff shaders

The lighting constants were not declared previously,
but were accessed with indirect addressing, which is
illegal.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=105442
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
CC: "17.3 18.0" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/nine/nine_ff.c