projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df16e0d
)
glsl: allow barrier() in tessellation control shaders
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 14 Jun 2015 18:14:22 +0000
(20:14 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:28 +0000
(
00:59
+0200)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_functions.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/builtin_functions.cpp
b/src/glsl/builtin_functions.cpp
index efab2991993379ca5bc32b6f5581e72b6cfb23ba..2175c66cbd7453cd7d65a66c8e50df73f1773961 100644
(file)
--- a/
src/glsl/builtin_functions.cpp
+++ b/
src/glsl/builtin_functions.cpp
@@
-413,8
+413,8
@@
fp64(const _mesa_glsl_parse_state *state)
static bool
barrier_supported(const _mesa_glsl_parse_state *state)
{
- return state->stage == MESA_SHADER_COMPUTE
;
- /* TODO: || stage->state == MESA_SHADER_TESS_CTRL; */
+ return state->stage == MESA_SHADER_COMPUTE
||
+ state->stage == MESA_SHADER_TESS_CTRL;
}
/** @} */