mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 13:10:06 +00:00
2f47bc9781
This fixes issue #360.
21 lines
435 B
GLSL
21 lines
435 B
GLSL
#version 450 core
|
|
|
|
layout(vertices = 4) out;
|
|
|
|
patch out vec4 patchOut;
|
|
|
|
struct S {
|
|
float sMem1; // should not see a patch decoration
|
|
float sMem2; // should not see a patch decoration
|
|
};
|
|
|
|
layout(location = 12) patch out TheBlock {
|
|
highp float bMem1; // should not see a location decoration
|
|
highp float bMem2;
|
|
S s; // should see a patch decoration
|
|
} tcBlock[2];
|
|
|
|
void main()
|
|
{
|
|
}
|