blob: d1c7905225dacec4bda246ca0ffb6e82ebdffe31 [file] [log] [blame]
#version 450
layout(location = 0) out float FragColor;
struct T
{
float a;
};
void main()
{
T foo;
struct T { float b; };
T bar;
foo.a = 10.0;
bar.b = 20.0;
FragColor = foo.a + bar.b;
}