Debian Codegraph @

third_party/spirv-cross/reference/shaders/asm/frag/empty-struct.asm.frag

raw
1 #version 450
2
3 struct EmptyStructTest
4 {
5 int empty_struct_member;
6 };
7
8 float GetValue(EmptyStructTest self)
9 {
10 return 0.0;
11 }
12
13 float GetValue_1(EmptyStructTest self)
14 {
15 return 0.0;
16 }
17
18 void main()
19 {
20 EmptyStructTest _23 = EmptyStructTest(0);
21 EmptyStructTest emptyStruct;
22 float value = GetValue(emptyStruct);
23 value = GetValue_1(_23);
24 }
25