1hlsl.preprocessor.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:9 Function Definition: @main(vf4; ( temp 4-component vector of float) 60:9 Function Parameters: 70:9 'input' ( in 4-component vector of float) 80:? Sequence 90:10 Sequence 100:10 move second child to first child ( temp 4-component vector of float) 110:10 'tex' ( temp 4-component vector of float) 120:10 texture ( temp 4-component vector of float) 130:10 Construct combined texture-sampler ( temp sampler2D) 140:10 'test_texture' ( uniform texture2D) 150:10 'test_texture_ss' ( uniform sampler) 160:10 vector swizzle ( temp 2-component vector of float) 170:10 vector swizzle ( temp 2-component vector of float) 180:10 'input' ( in 4-component vector of float) 190:10 Sequence 200:10 Constant: 210:10 0 (const int) 220:10 Constant: 230:10 1 (const int) 240:10 Sequence 250:10 Constant: 260:10 0 (const int) 270:10 Constant: 280:10 1 (const int) 290:11 Branch: Return with expression 300:11 'tex' ( temp 4-component vector of float) 310:9 Function Definition: main( ( temp void) 320:9 Function Parameters: 330:? Sequence 340:9 move second child to first child ( temp 4-component vector of float) 350:? 'input' ( temp 4-component vector of float) 360:? 'input' (layout( location=0) in 4-component vector of float) 370:9 move second child to first child ( temp 4-component vector of float) 380:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 390:9 Function Call: @main(vf4; ( temp 4-component vector of float) 400:? 'input' ( temp 4-component vector of float) 410:? Linker Objects 420:? 'test_texture' ( uniform texture2D) 430:? 'test_texture_ss' ( uniform sampler) 440:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 450:? 'input' (layout( location=0) in 4-component vector of float) 46 47 48Linked fragment stage: 49 50 51Shader version: 500 52gl_FragCoord origin is upper left 530:? Sequence 540:9 Function Definition: @main(vf4; ( temp 4-component vector of float) 550:9 Function Parameters: 560:9 'input' ( in 4-component vector of float) 570:? Sequence 580:10 Sequence 590:10 move second child to first child ( temp 4-component vector of float) 600:10 'tex' ( temp 4-component vector of float) 610:10 texture ( temp 4-component vector of float) 620:10 Construct combined texture-sampler ( temp sampler2D) 630:10 'test_texture' ( uniform texture2D) 640:10 'test_texture_ss' ( uniform sampler) 650:10 vector swizzle ( temp 2-component vector of float) 660:10 vector swizzle ( temp 2-component vector of float) 670:10 'input' ( in 4-component vector of float) 680:10 Sequence 690:10 Constant: 700:10 0 (const int) 710:10 Constant: 720:10 1 (const int) 730:10 Sequence 740:10 Constant: 750:10 0 (const int) 760:10 Constant: 770:10 1 (const int) 780:11 Branch: Return with expression 790:11 'tex' ( temp 4-component vector of float) 800:9 Function Definition: main( ( temp void) 810:9 Function Parameters: 820:? Sequence 830:9 move second child to first child ( temp 4-component vector of float) 840:? 'input' ( temp 4-component vector of float) 850:? 'input' (layout( location=0) in 4-component vector of float) 860:9 move second child to first child ( temp 4-component vector of float) 870:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 880:9 Function Call: @main(vf4; ( temp 4-component vector of float) 890:? 'input' ( temp 4-component vector of float) 900:? Linker Objects 910:? 'test_texture' ( uniform texture2D) 920:? 'test_texture_ss' ( uniform sampler) 930:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 940:? 'input' (layout( location=0) in 4-component vector of float) 95 96// Module Version 10000 97// Generated by (magic number): 8000a 98// Id's are bound by 40 99 100 Capability Shader 101 1: ExtInstImport "GLSL.std.450" 102 MemoryModel Logical GLSL450 103 EntryPoint Fragment 4 "main" 33 36 104 ExecutionMode 4 OriginUpperLeft 105 Source HLSL 500 106 Name 4 "main" 107 Name 11 "@main(vf4;" 108 Name 10 "input" 109 Name 13 "tex" 110 Name 16 "test_texture" 111 Name 20 "test_texture_ss" 112 Name 31 "input" 113 Name 33 "input" 114 Name 36 "@entryPointOutput" 115 Name 37 "param" 116 Decorate 16(test_texture) DescriptorSet 0 117 Decorate 16(test_texture) Binding 0 118 Decorate 20(test_texture_ss) DescriptorSet 0 119 Decorate 20(test_texture_ss) Binding 1 120 Decorate 33(input) Location 0 121 Decorate 36(@entryPointOutput) Location 0 122 2: TypeVoid 123 3: TypeFunction 2 124 6: TypeFloat 32 125 7: TypeVector 6(float) 4 126 8: TypePointer Function 7(fvec4) 127 9: TypeFunction 7(fvec4) 8(ptr) 128 14: TypeImage 6(float) 2D sampled format:Unknown 129 15: TypePointer UniformConstant 14 13016(test_texture): 15(ptr) Variable UniformConstant 131 18: TypeSampler 132 19: TypePointer UniformConstant 18 13320(test_texture_ss): 19(ptr) Variable UniformConstant 134 22: TypeSampledImage 14 135 24: TypeVector 6(float) 2 136 32: TypePointer Input 7(fvec4) 137 33(input): 32(ptr) Variable Input 138 35: TypePointer Output 7(fvec4) 13936(@entryPointOutput): 35(ptr) Variable Output 140 4(main): 2 Function None 3 141 5: Label 142 31(input): 8(ptr) Variable Function 143 37(param): 8(ptr) Variable Function 144 34: 7(fvec4) Load 33(input) 145 Store 31(input) 34 146 38: 7(fvec4) Load 31(input) 147 Store 37(param) 38 148 39: 7(fvec4) FunctionCall 11(@main(vf4;) 37(param) 149 Store 36(@entryPointOutput) 39 150 Return 151 FunctionEnd 152 11(@main(vf4;): 7(fvec4) Function None 9 153 10(input): 8(ptr) FunctionParameter 154 12: Label 155 13(tex): 8(ptr) Variable Function 156 17: 14 Load 16(test_texture) 157 21: 18 Load 20(test_texture_ss) 158 23: 22 SampledImage 17 21 159 25: 7(fvec4) Load 10(input) 160 26: 24(fvec2) VectorShuffle 25 25 0 1 161 27: 7(fvec4) ImageSampleImplicitLod 23 26 162 Store 13(tex) 27 163 28: 7(fvec4) Load 13(tex) 164 ReturnValue 28 165 FunctionEnd 166