glslang/Test/spv.debugInfo.frag
2017-05-31 17:14:15 -06:00

22 lines
228 B
GLSL

#version 450
struct S {
int a;
};
uniform ubuf {
S s;
};
layout(location = 0) in vec4 inv;
layout(location = 0) out vec4 outv;
void foo(S s)
{
outv = s.a * inv;
}
void main()
{
foo(s);
}