mesa: validate precision of varyings during ValidateProgramPipeline
authorTapani Pälli <tapani.palli@intel.com>
Thu, 5 Nov 2015 10:52:26 +0000 (12:52 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 12 Nov 2015 07:50:14 +0000 (09:50 +0200)
commit7e6dac11866d264c21a108b9623114943d6e88ec
treeb86850f4dcd588f3184d25f669797d93ce7166c8
parent5bd122cad9d16596f89260f3b115cd0fb72cb886
mesa: validate precision of varyings during ValidateProgramPipeline

Fixes following failing ES3.1 CTS tests:

   ES31-CTS.sepshaderobjs.InterfacePrecisionMatchingFloat
   ES31-CTS.sepshaderobjs.InterfacePrecisionMatchingInt
   ES31-CTS.sepshaderobjs.InterfacePrecisionMatchingUInt

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/main/pipelineobj.c
src/mesa/main/shader_query.cpp
src/mesa/main/shaderobj.h