1hlsl.load.rwbuffer.dx10.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:22 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 60:22 Function Parameters: 70:? Sequence 80:25 imageLoad ( temp 4-component vector of float) 90:25 'g_tBuffF' (layout( rgba32f) uniform imageBuffer) 100:25 c1: direct index for structure ( uniform int) 110:25 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 120:25 Constant: 130:25 0 (const uint) 140:26 imageLoad ( temp 4-component vector of uint) 150:26 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer) 160:26 c1: direct index for structure ( uniform int) 170:26 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 180:26 Constant: 190:26 0 (const uint) 200:27 imageLoad ( temp 4-component vector of int) 210:27 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer) 220:27 c1: direct index for structure ( uniform int) 230:27 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 240:27 Constant: 250:27 0 (const uint) 260:29 move second child to first child ( temp 4-component vector of float) 270:29 Color: direct index for structure ( temp 4-component vector of float) 280:29 'psout' ( temp structure{ temp 4-component vector of float Color}) 290:29 Constant: 300:29 0 (const int) 310:29 Constant: 320:29 1.000000 330:29 1.000000 340:29 1.000000 350:29 1.000000 360:31 Branch: Return with expression 370:31 'psout' ( temp structure{ temp 4-component vector of float Color}) 380:22 Function Definition: main( ( temp void) 390:22 Function Parameters: 400:? Sequence 410:22 Sequence 420:22 move second child to first child ( temp 4-component vector of float) 430:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 440:22 Color: direct index for structure ( temp 4-component vector of float) 450:22 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 460:22 Constant: 470:22 0 (const int) 480:? Linker Objects 490:? 'g_tBuffF' (layout( rgba32f) uniform imageBuffer) 500:? 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer) 510:? 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer) 520:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 530:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 54 55 56Linked fragment stage: 57 58 59Shader version: 500 60gl_FragCoord origin is upper left 610:? Sequence 620:22 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 630:22 Function Parameters: 640:? Sequence 650:25 imageLoad ( temp 4-component vector of float) 660:25 'g_tBuffF' (layout( rgba32f) uniform imageBuffer) 670:25 c1: direct index for structure ( uniform int) 680:25 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 690:25 Constant: 700:25 0 (const uint) 710:26 imageLoad ( temp 4-component vector of uint) 720:26 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer) 730:26 c1: direct index for structure ( uniform int) 740:26 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 750:26 Constant: 760:26 0 (const uint) 770:27 imageLoad ( temp 4-component vector of int) 780:27 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer) 790:27 c1: direct index for structure ( uniform int) 800:27 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 810:27 Constant: 820:27 0 (const uint) 830:29 move second child to first child ( temp 4-component vector of float) 840:29 Color: direct index for structure ( temp 4-component vector of float) 850:29 'psout' ( temp structure{ temp 4-component vector of float Color}) 860:29 Constant: 870:29 0 (const int) 880:29 Constant: 890:29 1.000000 900:29 1.000000 910:29 1.000000 920:29 1.000000 930:31 Branch: Return with expression 940:31 'psout' ( temp structure{ temp 4-component vector of float Color}) 950:22 Function Definition: main( ( temp void) 960:22 Function Parameters: 970:? Sequence 980:22 Sequence 990:22 move second child to first child ( temp 4-component vector of float) 1000:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1010:22 Color: direct index for structure ( temp 4-component vector of float) 1020:22 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 1030:22 Constant: 1040:22 0 (const int) 1050:? Linker Objects 1060:? 'g_tBuffF' (layout( rgba32f) uniform imageBuffer) 1070:? 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer) 1080:? 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer) 1090:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 1100:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 111 112// Module Version 10000 113// Generated by (magic number): 8000a 114// Id's are bound by 57 115 116 Capability Shader 117 Capability ImageBuffer 118 1: ExtInstImport "GLSL.std.450" 119 MemoryModel Logical GLSL450 120 EntryPoint Fragment 4 "main" 54 121 ExecutionMode 4 OriginUpperLeft 122 Source HLSL 500 123 Name 4 "main" 124 Name 8 "PS_OUTPUT" 125 MemberName 8(PS_OUTPUT) 0 "Color" 126 Name 10 "@main(" 127 Name 14 "g_tBuffF" 128 Name 20 "$Global" 129 MemberName 20($Global) 0 "c1" 130 MemberName 20($Global) 1 "c2" 131 MemberName 20($Global) 2 "c3" 132 MemberName 20($Global) 3 "c4" 133 MemberName 20($Global) 4 "o1" 134 MemberName 20($Global) 5 "o2" 135 MemberName 20($Global) 6 "o3" 136 MemberName 20($Global) 7 "o4" 137 Name 22 "" 138 Name 31 "g_tBuffU" 139 Name 39 "g_tBuffI" 140 Name 45 "psout" 141 Name 54 "@entryPointOutput.Color" 142 Decorate 14(g_tBuffF) DescriptorSet 0 143 Decorate 14(g_tBuffF) Binding 0 144 MemberDecorate 20($Global) 0 Offset 0 145 MemberDecorate 20($Global) 1 Offset 8 146 MemberDecorate 20($Global) 2 Offset 16 147 MemberDecorate 20($Global) 3 Offset 32 148 MemberDecorate 20($Global) 4 Offset 48 149 MemberDecorate 20($Global) 5 Offset 56 150 MemberDecorate 20($Global) 6 Offset 64 151 MemberDecorate 20($Global) 7 Offset 80 152 Decorate 20($Global) Block 153 Decorate 22 DescriptorSet 0 154 Decorate 22 Binding 3 155 Decorate 31(g_tBuffU) DescriptorSet 0 156 Decorate 31(g_tBuffU) Binding 2 157 Decorate 39(g_tBuffI) DescriptorSet 0 158 Decorate 39(g_tBuffI) Binding 1 159 Decorate 54(@entryPointOutput.Color) Location 0 160 2: TypeVoid 161 3: TypeFunction 2 162 6: TypeFloat 32 163 7: TypeVector 6(float) 4 164 8(PS_OUTPUT): TypeStruct 7(fvec4) 165 9: TypeFunction 8(PS_OUTPUT) 166 12: TypeImage 6(float) Buffer nonsampled format:Rgba32f 167 13: TypePointer UniformConstant 12 168 14(g_tBuffF): 13(ptr) Variable UniformConstant 169 16: TypeInt 32 1 170 17: TypeVector 16(int) 2 171 18: TypeVector 16(int) 3 172 19: TypeVector 16(int) 4 173 20($Global): TypeStruct 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 174 21: TypePointer Uniform 20($Global) 175 22: 21(ptr) Variable Uniform 176 23: 16(int) Constant 0 177 24: TypePointer Uniform 16(int) 178 28: TypeInt 32 0 179 29: TypeImage 28(int) Buffer nonsampled format:Rgba32ui 180 30: TypePointer UniformConstant 29 181 31(g_tBuffU): 30(ptr) Variable UniformConstant 182 35: TypeVector 28(int) 4 183 37: TypeImage 16(int) Buffer nonsampled format:Rgba32i 184 38: TypePointer UniformConstant 37 185 39(g_tBuffI): 38(ptr) Variable UniformConstant 186 44: TypePointer Function 8(PS_OUTPUT) 187 46: 6(float) Constant 1065353216 188 47: 7(fvec4) ConstantComposite 46 46 46 46 189 48: TypePointer Function 7(fvec4) 190 53: TypePointer Output 7(fvec4) 19154(@entryPointOutput.Color): 53(ptr) Variable Output 192 4(main): 2 Function None 3 193 5: Label 194 55:8(PS_OUTPUT) FunctionCall 10(@main() 195 56: 7(fvec4) CompositeExtract 55 0 196 Store 54(@entryPointOutput.Color) 56 197 Return 198 FunctionEnd 199 10(@main():8(PS_OUTPUT) Function None 9 200 11: Label 201 45(psout): 44(ptr) Variable Function 202 15: 12 Load 14(g_tBuffF) 203 25: 24(ptr) AccessChain 22 23 204 26: 16(int) Load 25 205 27: 7(fvec4) ImageRead 15 26 206 32: 29 Load 31(g_tBuffU) 207 33: 24(ptr) AccessChain 22 23 208 34: 16(int) Load 33 209 36: 35(ivec4) ImageRead 32 34 210 40: 37 Load 39(g_tBuffI) 211 41: 24(ptr) AccessChain 22 23 212 42: 16(int) Load 41 213 43: 19(ivec4) ImageRead 40 42 214 49: 48(ptr) AccessChain 45(psout) 23 215 Store 49 47 216 50:8(PS_OUTPUT) Load 45(psout) 217 ReturnValue 50 218 FunctionEnd 219