summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderobj.h
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2015-11-05 12:52:26 +0200
committerTapani Pälli <tapani.palli@intel.com>2015-11-12 09:50:14 +0200
commit7e6dac11866d264c21a108b9623114943d6e88ec (patch)
treeb86850f4dcd588f3184d25f669797d93ce7166c8 /src/mesa/main/shaderobj.h
parent5bd122cad9d16596f89260f3b115cd0fb72cb886 (diff)
downloadexternal_mesa3d-7e6dac11866d264c21a108b9623114943d6e88ec.zip
external_mesa3d-7e6dac11866d264c21a108b9623114943d6e88ec.tar.gz
external_mesa3d-7e6dac11866d264c21a108b9623114943d6e88ec.tar.bz2
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>
Diffstat (limited to 'src/mesa/main/shaderobj.h')
-rw-r--r--src/mesa/main/shaderobj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/shaderobj.h b/src/mesa/main/shaderobj.h
index 796de47..be80752 100644
--- a/src/mesa/main/shaderobj.h
+++ b/src/mesa/main/shaderobj.h
@@ -234,6 +234,9 @@ _mesa_shader_stage_to_subroutine_uniform(gl_shader_stage stage)
}
}
+extern bool
+_mesa_validate_pipeline_io(struct gl_pipeline_object *);
+
#ifdef __cplusplus
}
#endif