Debian Codegraph @

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

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