st/nine: Print warnings for r500 when shader is likely to go wrong
authorAxel Davy <axel.davy@ens.fr>
Wed, 7 Jan 2015 10:21:00 +0000 (11:21 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 5 Feb 2015 23:07:18 +0000 (00:07 +0100)
commit6fcc2c887279e6c03b2e7df0f869bd05c99faf28
tree40d3e7b6695bbc49e474bac486c70a0ec7adbc3b
parent70a523818f08f97b6d51f156dca383cfcab8efab
st/nine: Print warnings for r500 when shader is likely to go wrong

r500 hasn't enough float constants for vs to fill all needs.
Overlapping issues can happen with complex shaders.
The fix would be to recompile shaders to include the integer
and boolean constants, instead of reserving slots for them.

Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_shader.c