1hlsl.samplecmp.dualmode.frag 2WARNING: AST will form illegal SPIR-V; need to transform to legalize 3Shader version: 500 4gl_FragCoord origin is upper left 50:? Sequence 60:7 Function Definition: @main( ( temp 4-component vector of float) 70:7 Function Parameters: 80:? Sequence 90:10 texture ( temp float) 100:10 Construct combined texture-sampler ( temp sampler1DShadow) 110:10 'g_tTex' (layout( binding=3) uniform texture1DShadow) 120:10 'g_sSampCmp' (layout( binding=1) uniform sampler) 130:10 Construct vec2 ( temp 2-component vector of float) 140:10 Constant: 150:10 0.100000 160:10 Constant: 170:10 0.750000 180:11 texture ( temp 4-component vector of float) 190:11 Construct combined texture-sampler ( temp sampler1D) 200:11 'g_tTex' (layout( binding=3) uniform texture1D) 210:11 'g_sSamp' (layout( binding=0) uniform sampler) 220:11 Constant: 230:11 0.100000 240:13 Branch: Return with expression 250:13 Constant: 260:13 0.000000 270:13 0.000000 280:13 0.000000 290:13 0.000000 300:7 Function Definition: main( ( temp void) 310:7 Function Parameters: 320:? Sequence 330:7 move second child to first child ( temp 4-component vector of float) 340:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 350:7 Function Call: @main( ( temp 4-component vector of float) 360:? Linker Objects 370:? 'g_sSamp' (layout( binding=0) uniform sampler) 380:? 'g_sSampCmp' (layout( binding=1) uniform sampler) 390:? 'g_tTex' (layout( binding=3) uniform texture1DShadow) 400:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 410:? 'g_tTex' (layout( binding=3) uniform texture1D) 42 43 44Linked fragment stage: 45 46 47Shader version: 500 48gl_FragCoord origin is upper left 490:? Sequence 500:7 Function Definition: @main( ( temp 4-component vector of float) 510:7 Function Parameters: 520:? Sequence 530:10 texture ( temp float) 540:10 Construct combined texture-sampler ( temp sampler1DShadow) 550:10 'g_tTex' (layout( binding=3) uniform texture1DShadow) 560:10 'g_sSampCmp' (layout( binding=1) uniform sampler) 570:10 Construct vec2 ( temp 2-component vector of float) 580:10 Constant: 590:10 0.100000 600:10 Constant: 610:10 0.750000 620:11 texture ( temp 4-component vector of float) 630:11 Construct combined texture-sampler ( temp sampler1D) 640:11 'g_tTex' (layout( binding=3) uniform texture1D) 650:11 'g_sSamp' (layout( binding=0) uniform sampler) 660:11 Constant: 670:11 0.100000 680:13 Branch: Return with expression 690:13 Constant: 700:13 0.000000 710:13 0.000000 720:13 0.000000 730:13 0.000000 740:7 Function Definition: main( ( temp void) 750:7 Function Parameters: 760:? Sequence 770:7 move second child to first child ( temp 4-component vector of float) 780:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 790:7 Function Call: @main( ( temp 4-component vector of float) 800:? Linker Objects 810:? 'g_sSamp' (layout( binding=0) uniform sampler) 820:? 'g_sSampCmp' (layout( binding=1) uniform sampler) 830:? 'g_tTex' (layout( binding=3) uniform texture1DShadow) 840:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 850:? 'g_tTex' (layout( binding=3) uniform texture1D) 86 87// Module Version 10000 88// Generated by (magic number): 8000a 89// Id's are bound by 43 90 91 Capability Shader 92 Capability Sampled1D 93 1: ExtInstImport "GLSL.std.450" 94 MemoryModel Logical GLSL450 95 EntryPoint Fragment 4 "main" 41 96 ExecutionMode 4 OriginUpperLeft 97 Source HLSL 500 98 Name 4 "main" 99 Name 9 "@main(" 100 Name 13 "g_tTex" 101 Name 17 "g_sSampCmp" 102 Name 29 "g_tTex" 103 Name 31 "g_sSamp" 104 Name 41 "@entryPointOutput" 105 Decorate 13(g_tTex) DescriptorSet 0 106 Decorate 13(g_tTex) Binding 3 107 Decorate 17(g_sSampCmp) DescriptorSet 0 108 Decorate 17(g_sSampCmp) Binding 1 109 Decorate 29(g_tTex) DescriptorSet 0 110 Decorate 29(g_tTex) Binding 3 111 Decorate 31(g_sSamp) DescriptorSet 0 112 Decorate 31(g_sSamp) Binding 0 113 Decorate 41(@entryPointOutput) Location 0 114 2: TypeVoid 115 3: TypeFunction 2 116 6: TypeFloat 32 117 7: TypeVector 6(float) 4 118 8: TypeFunction 7(fvec4) 119 11: TypeImage 6(float) 1D depth sampled format:Unknown 120 12: TypePointer UniformConstant 11 121 13(g_tTex): 12(ptr) Variable UniformConstant 122 15: TypeSampler 123 16: TypePointer UniformConstant 15 124 17(g_sSampCmp): 16(ptr) Variable UniformConstant 125 19: TypeSampledImage 11 126 21: 6(float) Constant 1036831949 127 22: 6(float) Constant 1061158912 128 23: TypeVector 6(float) 2 129 27: TypeImage 6(float) 1D sampled format:Unknown 130 28: TypePointer UniformConstant 27 131 29(g_tTex): 28(ptr) Variable UniformConstant 132 31(g_sSamp): 16(ptr) Variable UniformConstant 133 33: TypeSampledImage 27 134 36: 6(float) Constant 0 135 37: 7(fvec4) ConstantComposite 36 36 36 36 136 40: TypePointer Output 7(fvec4) 13741(@entryPointOutput): 40(ptr) Variable Output 138 4(main): 2 Function None 3 139 5: Label 140 42: 7(fvec4) FunctionCall 9(@main() 141 Store 41(@entryPointOutput) 42 142 Return 143 FunctionEnd 144 9(@main(): 7(fvec4) Function None 8 145 10: Label 146 14: 11 Load 13(g_tTex) 147 18: 15 Load 17(g_sSampCmp) 148 20: 19 SampledImage 14 18 149 24: 23(fvec2) CompositeConstruct 21 22 150 25: 6(float) CompositeExtract 24 1 151 26: 6(float) ImageSampleDrefImplicitLod 20 24 25 152 30: 27 Load 29(g_tTex) 153 32: 15 Load 31(g_sSamp) 154 34: 33 SampledImage 30 32 155 35: 7(fvec4) ImageSampleImplicitLod 34 21 156 ReturnValue 37 157 FunctionEnd 158