mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
26 lines
254 B
GLSL
26 lines
254 B
GLSL
#version 450
|
|
|
|
struct Foo
|
|
{
|
|
vec4 a;
|
|
};
|
|
|
|
struct Bar
|
|
{
|
|
Foo foo;
|
|
Foo foo2;
|
|
};
|
|
|
|
layout(binding = 0, std140) uniform UBO
|
|
{
|
|
Bar bar;
|
|
} _7;
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = _7.bar.foo.a + _7.bar.foo2.a;
|
|
}
|
|
|