SPIRV-Cross/reference/shaders-hlsl-no-opt/asm/frag/empty-struct-in-struct.asm.frag

38 lines
582 B
GLSL
Raw Normal View History

struct EmptyStructTest
{
int empty_struct_member;
};
struct EmptyStruct2Test
{
EmptyStructTest _m0;
};
static const EmptyStructTest _30 = { 0 };
static const EmptyStruct2Test _20 = { { 0 } };
float GetValue(EmptyStruct2Test self)
{
return 0.0f;
}
float GetValue_1(EmptyStruct2Test self)
{
return 0.0f;
}
void frag_main()
{
EmptyStructTest _25 = { 0 };
EmptyStruct2Test _26 = { _25 };
EmptyStruct2Test emptyStruct;
float value = GetValue(emptyStruct);
value = GetValue_1(_26);
value = GetValue_1(_20);
}
void main()
{
frag_main();
}