From d36fa60191359af9ac1e1889bcdc95c3b9d65332 Mon Sep 17 00:00:00 2001 From: Micah Fedke Date: Wed, 31 Dec 2014 14:16:52 -0600 Subject: mesa: Add ARB_shader_precision infrastructure Reviewed-by: Ian Romanick Reviewed-by: Chris Forbes --- src/glsl/glcpp/glcpp-parse.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/glsl/glcpp/glcpp-parse.y') diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 9e705ef0741..e5bebe58e3a 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2474,6 +2474,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio if (extensions->ARB_derivative_control) add_builtin_define(parser, "GL_ARB_derivative_control", 1); + + if (extensions->ARB_shader_precision) + add_builtin_define(parser, "GL_ARB_shader_precision", 1); } } -- cgit v1.2.3