1hlsl.emptystructreturn.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:10 Function Definition: @main(struct-ps_in1; ( temp structure{}) 60:10 Function Parameters: 70:10 'i' ( in structure{}) 80:? Sequence 90:12 Branch: Return with expression 100:12 'o' ( temp structure{}) 110:10 Function Definition: main( ( temp void) 120:10 Function Parameters: 130:? Sequence 140:10 Sequence 150:10 move second child to first child ( temp structure{}) 160:? 'i' ( temp structure{}) 170:? 'i' ( in structure{}) 180:10 Sequence 190:10 move second child to first child ( temp structure{}) 200:? '@entryPointOutput' ( out structure{}) 210:10 Function Call: @main(struct-ps_in1; ( temp structure{}) 220:? 'i' ( temp structure{}) 230:? Linker Objects 24 25 26Linked fragment stage: 27 28 29Shader version: 500 30gl_FragCoord origin is upper left 310:? Sequence 320:10 Function Definition: @main(struct-ps_in1; ( temp structure{}) 330:10 Function Parameters: 340:10 'i' ( in structure{}) 350:? Sequence 360:12 Branch: Return with expression 370:12 'o' ( temp structure{}) 380:10 Function Definition: main( ( temp void) 390:10 Function Parameters: 400:? Sequence 410:10 Sequence 420:10 move second child to first child ( temp structure{}) 430:? 'i' ( temp structure{}) 440:? 'i' ( in structure{}) 450:10 Sequence 460:10 move second child to first child ( temp structure{}) 470:? '@entryPointOutput' ( out structure{}) 480:10 Function Call: @main(struct-ps_in1; ( temp structure{}) 490:? 'i' ( temp structure{}) 500:? Linker Objects 51 52Validation failed 53// Module Version 10000 54// Generated by (magic number): 80007 55// Id's are bound by 27 56 57 Capability Shader 58 1: ExtInstImport "GLSL.std.450" 59 MemoryModel Logical GLSL450 60 EntryPoint Fragment 4 "main" 61 ExecutionMode 4 OriginUpperLeft 62 Source HLSL 500 63 Name 4 "main" 64 Name 6 "ps_in" 65 Name 8 "ps_out" 66 Name 11 "@main(struct-ps_in1;" 67 Name 10 "i" 68 Name 14 "o" 69 Name 18 "i" 70 Name 20 "i" 71 Name 23 "@entryPointOutput" 72 Name 24 "param" 73 2: TypeVoid 74 3: TypeFunction 2 75 6(ps_in): TypeStruct 76 7: TypePointer Function 6(ps_in) 77 8(ps_out): TypeStruct 78 9: TypeFunction 8(ps_out) 7(ptr) 79 13: TypePointer Function 8(ps_out) 80 19: TypePointer Input 6(ps_in) 81 20(i): 19(ptr) Variable Input 82 22: TypePointer Output 8(ps_out) 8323(@entryPointOutput): 22(ptr) Variable Output 84 4(main): 2 Function None 3 85 5: Label 86 18(i): 7(ptr) Variable Function 87 24(param): 7(ptr) Variable Function 88 21: 6(ps_in) Load 20(i) 89 Store 18(i) 21 90 25: 6(ps_in) Load 18(i) 91 Store 24(param) 25 92 26: 8(ps_out) FunctionCall 11(@main(struct-ps_in1;) 24(param) 93 Store 23(@entryPointOutput) 26 94 Return 95 FunctionEnd 9611(@main(struct-ps_in1;): 8(ps_out) Function None 9 97 10(i): 7(ptr) FunctionParameter 98 12: Label 99 14(o): 13(ptr) Variable Function 100 15: 8(ps_out) Load 14(o) 101 ReturnValue 15 102 FunctionEnd 103