28 lines
369 B
GLSL
28 lines
369 B
GLSL
struct EmptyStructTest
|
|
{
|
|
int empty_struct_member;
|
|
};
|
|
|
|
float GetValue(EmptyStructTest self)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
|
|
float GetValue_1(EmptyStructTest self)
|
|
{
|
|
return 0.0f;
|
|
}
|
|
|
|
void frag_main()
|
|
{
|
|
EmptyStructTest _23 = { 0 };
|
|
EmptyStructTest emptyStruct;
|
|
float value = GetValue(emptyStruct);
|
|
value = GetValue_1(_23);
|
|
}
|
|
|
|
void main()
|
|
{
|
|
frag_main();
|
|
}
|