summaryrefslogtreecommitdiffstats
path: root/src/glsl/s_expression.cpp
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <[email protected]>2015-03-18 10:52:53 +0100
committerSamuel Iglesias Gonsalvez <[email protected]>2015-07-14 07:04:04 +0200
commit9f651dbf7924938a8aa2c9c940ae3ed1366d6198 (patch)
treef6382c8a0eadf97921e1010dd83340cb03a43bfc /src/glsl/s_expression.cpp
parent20b2907db7b93656cbafe1d24302498e5817dbe2 (diff)
glsl: buffer variables cannot be defined outside interface blocks
Section 4.3.7 "Buffer Variables", GLSL 4.30 spec: "Buffer variables may only be declared inside interface blocks (section 4.3.9 “Interface Blocks”), which are then referred to as shader storage blocks. It is a compile-time error to declare buffer variables at global scope (outside a block)." Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/s_expression.cpp')
0 files changed, 0 insertions, 0 deletions