mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-09 22:00:05 +00:00
19 lines
191 B
GLSL
19 lines
191 B
GLSL
#version 450
|
|
|
|
struct Foo
|
|
{
|
|
vec4 v;
|
|
};
|
|
|
|
layout(set = 0, binding = 0) uniform UBO
|
|
{
|
|
Foo foo;
|
|
} ubos[2];
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = ubos[1].foo.v;
|
|
}
|