Add grammar productions for the syntax "layout(...) uniform;" for setting global defaults.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22112 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
60d9f7a881
commit
211cba242b
4 changed files with 121 additions and 54 deletions
|
|
@ -9,7 +9,7 @@ layout(LocatioN = 10) in s r[4]; // ERROR, no struct
|
|||
out vec4 pos;
|
||||
out vec3 color;
|
||||
|
||||
layout(shared, column_major, row_major) uniform mat4 badm4; // ERROR
|
||||
layout(shared, column_major) uniform mat4 badm4; // ERROR
|
||||
layout(shared, column_major, row_major) uniform; // default is now shared and row_major
|
||||
|
||||
layout(std140) uniform Transform { // layout of this block is std140
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue