Add swizzles to scalars.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23580 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
8d8f4cc408
commit
8f13e1322d
8 changed files with 159 additions and 60 deletions
|
|
@ -23,7 +23,7 @@ layout(location = 6) in vec4 colors[3];
|
|||
layout(location = 9) in mat4 transforms[2];
|
||||
|
||||
layout(location = 3) struct S {
|
||||
vec3 a;
|
||||
vec3 a1;
|
||||
mat2 b;
|
||||
vec4 c[2];
|
||||
} s;
|
||||
|
|
@ -82,7 +82,7 @@ uniform sampler2D s17; // okay, s still bound at 3
|
|||
// in another compilation unit...
|
||||
//layout(binding=4) uniform sampler2D s; // ERROR: contradictory bindings
|
||||
|
||||
layout (binding = 2, offset = 4) uniform atomic_uint a;
|
||||
layout (binding = 2, offset = 4) uniform atomic_uint a2;
|
||||
|
||||
layout (binding = 2) uniform atomic_uint bar;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue