f929078f1e
Bug: OpLoad fails when loading an interface struct directly, followed by OpCompositeExtract. This should be fixed, but not critical enough to block this PR.
17 lines
187 B
GLSL
17 lines
187 B
GLSL
#version 450
|
|
|
|
struct VOUT
|
|
{
|
|
vec4 a;
|
|
};
|
|
|
|
layout(location = 0) in VOUT Clip;
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
VOUT tmp = Clip;
|
|
tmp.a += 1.0;
|
|
FragColor = tmp.a;
|
|
}
|