mesa: validate sampler type across the whole program
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 21 Apr 2017 07:04:10 +0000 (17:04 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 22 Apr 2017 00:01:15 +0000 (10:01 +1000)
commitd682f8aa8e0edd166166f87fcd774dd2d57b4180
tree741869caba61db7d6d55f7ab9baa5b10cd86a955
parent918cec8cbeeac58b8d9092d6fc4aacb8490eb50c
mesa: validate sampler type across the whole program

Currently we were only making sure types were the same within a
single stage. This looks to have regressed with 953a0af8e3f73.

Fixes: 953a0af8e3f73 ("mesa: validate sampler uniforms during gluniform calls")
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
https://bugs.freedesktop.org/show_bug.cgi?id=97524
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/program/ir_to_mesa.cpp