mesa: Fix fixed function spot lighting on newer hardware (again)
authorDaniel Scharrer <daniel@constexpr.org>
Sat, 20 Aug 2016 02:23:29 +0000 (04:23 +0200)
committerMatt Turner <mattst88@gmail.com>
Sat, 20 Aug 2016 03:46:53 +0000 (20:46 -0700)
commit16ef7ab5c13d2c5638f5a4e1fe7f0303d26b4e96
tree28a80bcd3d86b023e009eaa52bc7b7f37fbee30c
parenta9033d1dc1fd7c4701fb5c4402280a530e93a189
mesa: Fix fixed function spot lighting on newer hardware (again)

This was first fixed in commit b3f9c5c and then broken again in commit
fe2d2c7, which removed the abs modifier from input registers.

v2: Don't change the size of struct ureg.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91342
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Daniel Scharrer <daniel@constexpr.org>
src/mesa/main/ffvertex_prog.c