projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3ca56
)
Partially revert "glsl: Add builtin define for ARB_fragment_layer_viewport"
author
Chris Forbes
<chrisf@ijw.co.nz>
Sun, 22 Jun 2014 11:53:59 +0000
(23:53 +1200)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Sun, 22 Jun 2014 11:54:21 +0000
(23:54 +1200)
This partially reverts commit
cc18b1ec2161c846109e921d7821dfeef7a06f3a
,
which dropped some unrelated code due to a fumbled rebase.
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 58843a73ac3f5dd63d435cdae19027841d57a28a..d8c395778abfbd75b9fb8e53db3d99581d513c83 100644
(file)
--- a/
src/glsl/glcpp/glcpp-parse.y
+++ b/
src/glsl/glcpp/glcpp-parse.y
@@
-2147,6
+2147,12
@@
_glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
if (extensions->ARB_viewport_array)
add_builtin_define(parser, "GL_ARB_viewport_array", 1);
+
+ 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);
}
}