glsl: validate output types for shader stages
authorTapani Pälli <tapani.palli@intel.com>
Mon, 11 Aug 2014 09:03:54 +0000 (12:03 +0300)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Feb 2015 05:28:35 +0000 (00:28 -0500)
commit3bbaf719940447045b4f1faae77953e15908cfec
tree835b416bbe0ee5c8168b4811a2c09595a12d465f
parent94f9ed701abe33b854f22577adffc4c7ad45cf18
glsl: validate output types for shader stages

Patch fixes Piglit test:
   arb_gpu_shader_fp64/preprocessor/fs-output-double.frag

and adds additional validation for shader outputs.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/ast_to_hir.cpp