1hlsl.rw.register.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 60:11 Function Parameters: 70:? Sequence 80:12 Sequence 90:12 move second child to first child ( temp float) 100:12 'r00' ( temp float) 110:12 imageLoad ( temp float) 120:12 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) 130:12 Constant: 140:12 0 (const int) 150:13 Sequence 160:13 move second child to first child ( temp uint) 170:13 'r01' ( temp uint) 180:13 imageLoad ( temp uint) 190:13 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) 200:13 Constant: 210:13 0 (const int) 220:16 move second child to first child ( temp 4-component vector of float) 230:16 Color: direct index for structure ( temp 4-component vector of float) 240:16 'psout' ( temp structure{ temp 4-component vector of float Color}) 250:16 Constant: 260:16 0 (const int) 270:16 Constant: 280:16 1.000000 290:16 1.000000 300:16 1.000000 310:16 1.000000 320:17 Branch: Return with expression 330:17 'psout' ( temp structure{ temp 4-component vector of float Color}) 340:11 Function Definition: main( ( temp void) 350:11 Function Parameters: 360:? Sequence 370:11 Sequence 380:11 move second child to first child ( temp 4-component vector of float) 390:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 400:11 Color: direct index for structure ( temp 4-component vector of float) 410:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 420:11 Constant: 430:11 0 (const int) 440:? Linker Objects 450:? 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) 460:? 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) 470:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 48 49 50Linked fragment stage: 51 52 53Shader version: 500 54gl_FragCoord origin is upper left 550:? Sequence 560:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 570:11 Function Parameters: 580:? Sequence 590:12 Sequence 600:12 move second child to first child ( temp float) 610:12 'r00' ( temp float) 620:12 imageLoad ( temp float) 630:12 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) 640:12 Constant: 650:12 0 (const int) 660:13 Sequence 670:13 move second child to first child ( temp uint) 680:13 'r01' ( temp uint) 690:13 imageLoad ( temp uint) 700:13 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) 710:13 Constant: 720:13 0 (const int) 730:16 move second child to first child ( temp 4-component vector of float) 740:16 Color: direct index for structure ( temp 4-component vector of float) 750:16 'psout' ( temp structure{ temp 4-component vector of float Color}) 760:16 Constant: 770:16 0 (const int) 780:16 Constant: 790:16 1.000000 800:16 1.000000 810:16 1.000000 820:16 1.000000 830:17 Branch: Return with expression 840:17 'psout' ( temp structure{ temp 4-component vector of float Color}) 850:11 Function Definition: main( ( temp void) 860:11 Function Parameters: 870:? Sequence 880:11 Sequence 890:11 move second child to first child ( temp 4-component vector of float) 900:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 910:11 Color: direct index for structure ( temp 4-component vector of float) 920:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 930:11 Constant: 940:11 0 (const int) 950:? Linker Objects 960:? 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) 970:? 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) 980:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 99 100// Module Version 10000 101// Generated by (magic number): 8000b 102// Id's are bound by 45 103 104 Capability Shader 105 Capability Image1D 106 Capability ImageBuffer 107 1: ExtInstImport "GLSL.std.450" 108 MemoryModel Logical GLSL450 109 EntryPoint Fragment 4 "main" 42 110 ExecutionMode 4 OriginUpperLeft 111 Source HLSL 500 112 Name 4 "main" 113 Name 8 "PS_OUTPUT" 114 MemberName 8(PS_OUTPUT) 0 "Color" 115 Name 10 "@main(" 116 Name 13 "r00" 117 Name 16 "g_tTex1df1" 118 Name 24 "r01" 119 Name 27 "g_tBuf1du1" 120 Name 33 "psout" 121 Name 42 "@entryPointOutput.Color" 122 Decorate 16(g_tTex1df1) DescriptorSet 0 123 Decorate 16(g_tTex1df1) Binding 2 124 Decorate 27(g_tBuf1du1) DescriptorSet 0 125 Decorate 27(g_tBuf1du1) Binding 3 126 Decorate 42(@entryPointOutput.Color) Location 0 127 2: TypeVoid 128 3: TypeFunction 2 129 6: TypeFloat 32 130 7: TypeVector 6(float) 4 131 8(PS_OUTPUT): TypeStruct 7(fvec4) 132 9: TypeFunction 8(PS_OUTPUT) 133 12: TypePointer Function 6(float) 134 14: TypeImage 6(float) 1D nonsampled format:R32f 135 15: TypePointer UniformConstant 14 136 16(g_tTex1df1): 15(ptr) Variable UniformConstant 137 18: TypeInt 32 1 138 19: 18(int) Constant 0 139 22: TypeInt 32 0 140 23: TypePointer Function 22(int) 141 25: TypeImage 22(int) Buffer nonsampled format:R32ui 142 26: TypePointer UniformConstant 25 143 27(g_tBuf1du1): 26(ptr) Variable UniformConstant 144 29: TypeVector 22(int) 4 145 32: TypePointer Function 8(PS_OUTPUT) 146 34: 6(float) Constant 1065353216 147 35: 7(fvec4) ConstantComposite 34 34 34 34 148 36: TypePointer Function 7(fvec4) 149 41: TypePointer Output 7(fvec4) 15042(@entryPointOutput.Color): 41(ptr) Variable Output 151 4(main): 2 Function None 3 152 5: Label 153 43:8(PS_OUTPUT) FunctionCall 10(@main() 154 44: 7(fvec4) CompositeExtract 43 0 155 Store 42(@entryPointOutput.Color) 44 156 Return 157 FunctionEnd 158 10(@main():8(PS_OUTPUT) Function None 9 159 11: Label 160 13(r00): 12(ptr) Variable Function 161 24(r01): 23(ptr) Variable Function 162 33(psout): 32(ptr) Variable Function 163 17: 14 Load 16(g_tTex1df1) 164 20: 7(fvec4) ImageRead 17 19 165 21: 6(float) CompositeExtract 20 0 166 Store 13(r00) 21 167 28: 25 Load 27(g_tBuf1du1) 168 30: 29(ivec4) ImageRead 28 19 169 31: 22(int) CompositeExtract 30 0 170 Store 24(r01) 31 171 37: 36(ptr) AccessChain 33(psout) 19 172 Store 37 35 173 38:8(PS_OUTPUT) Load 33(psout) 174 ReturnValue 38 175 FunctionEnd 176