projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c89f8
)
glcpp: Add built-in define for ARB_shader_image_load_store.
author
Francisco Jerez
<currojerez@riseup.net>
Wed, 12 Feb 2014 16:12:24 +0000
(17:12 +0100)
committer
Francisco Jerez
<currojerez@riseup.net>
Wed, 12 Feb 2014 17:44:05 +0000
(18:44 +0100)
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/glcpp/glcpp-parse.y
patch
|
blob
|
history
diff --git
a/src/glsl/glcpp/glcpp-parse.y
b/src/glsl/glcpp/glcpp-parse.y
index eeafa4d39ac8c87d2263744f25d578a678e348be..5bb2891c47593164ffa4d8779fbd60f8476e054d 100644
(file)
--- a/
src/glsl/glcpp/glcpp-parse.y
+++ b/
src/glsl/glcpp/glcpp-parse.y
@@
-2126,6
+2126,9
@@
_glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
if (extensions->ARB_compute_shader)
add_builtin_define(parser, "GL_ARB_compute_shader", 1);
+
+ if (extensions->ARB_shader_image_load_store)
+ add_builtin_define(parser, "GL_ARB_shader_image_load_store", 1);
}
}