summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderobj.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-11-05 12:52:26 +0200
committerTapani Pälli <[email protected]>2015-11-12 09:50:14 +0200
commit7e6dac11866d264c21a108b9623114943d6e88ec (patch)
treeb86850f4dcd588f3184d25f669797d93ce7166c8 /src/mesa/main/shaderobj.h
parent5bd122cad9d16596f89260f3b115cd0fb72cb886 (diff)
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 <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
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 796de470735..be80752d7f2 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