1 hlsl.string.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:10 Function Definition: @main(f1; ( temp float) 6 0:10 Function Parameters: 7 0:10 'f' ( in float) 8 0:? Sequence 9 0:11 Branch: Return with expression 10 0:11 'f' ( in float) 11 0:10 Function Definition: main( ( temp void) 12 0:10 Function Parameters: 13 0:? Sequence 14 0:10 move second child to first child ( temp float) 15 0:? 'f' ( temp float) 16 0:? 'f' (layout( location=0) in float) 17 0:10 move second child to first child ( temp float) 18 0:? '@entryPointOutput' (layout( location=0) out float) 19 0:10 Function Call: @main(f1; ( temp float) 20 0:? 'f' ( temp float) 21 0:? Linker Objects 22 0:? '@entryPointOutput' (layout( location=0) out float) 23 0:? 'f' (layout( location=0) in float) 24 25 26 Linked fragment stage: 27 28 29 Shader version: 500 30 gl_FragCoord origin is upper left 31 0:? Sequence 32 0:10 Function Definition: @main(f1; ( temp float) 33 0:10 Function Parameters: 34 0:10 'f' ( in float) 35 0:? Sequence 36 0:11 Branch: Return with expression 37 0:11 'f' ( in float) 38 0:10 Function Definition: main( ( temp void) 39 0:10 Function Parameters: 40 0:? Sequence 41 0:10 move second child to first child ( temp float) 42 0:? 'f' ( temp float) 43 0:? 'f' (layout( location=0) in float) 44 0:10 move second child to first child ( temp float) 45 0:? '@entryPointOutput' (layout( location=0) out float) 46 0:10 Function Call: @main(f1; ( temp float) 47 0:? 'f' ( temp float) 48 0:? Linker Objects 49 0:? '@entryPointOutput' (layout( location=0) out float) 50 0:? 'f' (layout( location=0) in float) 51 52 // Module Version 10000 53 // Generated by (magic number): 80007 54 // Id's are bound by 24 55 56 Capability Shader 57 1: ExtInstImport "GLSL.std.450" 58 MemoryModel Logical GLSL450 59 EntryPoint Fragment 4 "main" 17 20 60 ExecutionMode 4 OriginUpperLeft 61 Source HLSL 500 62 Name 4 "main" 63 Name 10 "@main(f1;" 64 Name 9 "f" 65 Name 15 "f" 66 Name 17 "f" 67 Name 20 "@entryPointOutput" 68 Name 21 "param" 69 Decorate 17(f) Location 0 70 Decorate 20(@entryPointOutput) Location 0 71 2: TypeVoid 72 3: TypeFunction 2 73 6: TypeFloat 32 74 7: TypePointer Function 6(float) 75 8: TypeFunction 6(float) 7(ptr) 76 16: TypePointer Input 6(float) 77 17(f): 16(ptr) Variable Input 78 19: TypePointer Output 6(float) 79 20(@entryPointOutput): 19(ptr) Variable Output 80 4(main): 2 Function None 3 81 5: Label 82 15(f): 7(ptr) Variable Function 83 21(param): 7(ptr) Variable Function 84 18: 6(float) Load 17(f) 85 Store 15(f) 18 86 22: 6(float) Load 15(f) 87 Store 21(param) 22 88 23: 6(float) FunctionCall 10(@main(f1;) 21(param) 89 Store 20(@entryPointOutput) 23 90 Return 91 FunctionEnd 92 10(@main(f1;): 6(float) Function None 8 93 9(f): 7(ptr) FunctionParameter 94 11: Label 95 12: 6(float) Load 9(f) 96 ReturnValue 12 97 FunctionEnd 98