1hlsl.load.buffer.float.dx10.frag 2Shader version: 500 3gl_FragCoord origin is upper left 4using depth_any 50:? Sequence 60:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 70:24 Function Parameters: 80:? Sequence 90:28 Sequence 100:28 move second child to first child ( temp float) 110:28 'r00' ( temp float) 120:28 Construct float ( temp float) 130:? textureFetch ( temp 4-component vector of float) 140:28 'g_tTexbfs' (layout( r32f) uniform textureBuffer) 150:28 c1: direct index for structure ( uniform int) 160:28 '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}) 170:28 Constant: 180:28 0 (const uint) 190:29 Sequence 200:29 move second child to first child ( temp int) 210:29 'r01' ( temp int) 220:29 Construct int ( temp int) 230:? textureFetch ( temp 4-component vector of int) 240:29 'g_tTexbis' (layout( r32i) uniform itextureBuffer) 250:29 c1: direct index for structure ( uniform int) 260:29 '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}) 270:29 Constant: 280:29 0 (const uint) 290:30 Sequence 300:30 move second child to first child ( temp uint) 310:30 'r02' ( temp uint) 320:30 Construct uint ( temp uint) 330:? textureFetch ( temp 4-component vector of uint) 340:30 'g_tTexbus' (layout( r32ui) uniform utextureBuffer) 350:30 c1: direct index for structure ( uniform int) 360:30 '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}) 370:30 Constant: 380:30 0 (const uint) 390:34 move second child to first child ( temp 4-component vector of float) 400:34 Color: direct index for structure ( temp 4-component vector of float) 410:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 420:34 Constant: 430:34 0 (const int) 440:34 Constant: 450:34 1.000000 460:34 1.000000 470:34 1.000000 480:34 1.000000 490:35 move second child to first child ( temp float) 500:35 Depth: direct index for structure ( temp float) 510:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 520:35 Constant: 530:35 1 (const int) 540:35 Constant: 550:35 1.000000 560:37 Branch: Return with expression 570:37 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 580:24 Function Definition: main( ( temp void) 590:24 Function Parameters: 600:? Sequence 610:24 Sequence 620:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 630:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 640:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 650:24 move second child to first child ( temp 4-component vector of float) 660:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 670:24 Color: direct index for structure ( temp 4-component vector of float) 680:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 690:24 Constant: 700:24 0 (const int) 710:24 move second child to first child ( temp float) 720:? '@entryPointOutput.Depth' ( out float FragDepth) 730:24 Depth: direct index for structure ( temp float) 740:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 750:24 Constant: 760:24 1 (const int) 770:? Linker Objects 780:? 'g_tTexbfs_test' (layout( binding=0 r32f) uniform textureBuffer) 790:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer) 800:? 'g_tTexbis' (layout( r32i) uniform itextureBuffer) 810:? 'g_tTexbus' (layout( r32ui) uniform utextureBuffer) 820:? '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}) 830:? '@entryPointOutput.Depth' ( out float FragDepth) 840:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 85 86 87Linked fragment stage: 88 89 90Shader version: 500 91gl_FragCoord origin is upper left 92using depth_any 930:? Sequence 940:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 950:24 Function Parameters: 960:? Sequence 970:28 Sequence 980:28 move second child to first child ( temp float) 990:28 'r00' ( temp float) 1000:28 Construct float ( temp float) 1010:? textureFetch ( temp 4-component vector of float) 1020:28 'g_tTexbfs' (layout( r32f) uniform textureBuffer) 1030:28 c1: direct index for structure ( uniform int) 1040:28 '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}) 1050:28 Constant: 1060:28 0 (const uint) 1070:29 Sequence 1080:29 move second child to first child ( temp int) 1090:29 'r01' ( temp int) 1100:29 Construct int ( temp int) 1110:? textureFetch ( temp 4-component vector of int) 1120:29 'g_tTexbis' (layout( r32i) uniform itextureBuffer) 1130:29 c1: direct index for structure ( uniform int) 1140:29 '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}) 1150:29 Constant: 1160:29 0 (const uint) 1170:30 Sequence 1180:30 move second child to first child ( temp uint) 1190:30 'r02' ( temp uint) 1200:30 Construct uint ( temp uint) 1210:? textureFetch ( temp 4-component vector of uint) 1220:30 'g_tTexbus' (layout( r32ui) uniform utextureBuffer) 1230:30 c1: direct index for structure ( uniform int) 1240:30 '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}) 1250:30 Constant: 1260:30 0 (const uint) 1270:34 move second child to first child ( temp 4-component vector of float) 1280:34 Color: direct index for structure ( temp 4-component vector of float) 1290:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1300:34 Constant: 1310:34 0 (const int) 1320:34 Constant: 1330:34 1.000000 1340:34 1.000000 1350:34 1.000000 1360:34 1.000000 1370:35 move second child to first child ( temp float) 1380:35 Depth: direct index for structure ( temp float) 1390:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1400:35 Constant: 1410:35 1 (const int) 1420:35 Constant: 1430:35 1.000000 1440:37 Branch: Return with expression 1450:37 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1460:24 Function Definition: main( ( temp void) 1470:24 Function Parameters: 1480:? Sequence 1490:24 Sequence 1500:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1510:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1520:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1530:24 move second child to first child ( temp 4-component vector of float) 1540:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1550:24 Color: direct index for structure ( temp 4-component vector of float) 1560:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1570:24 Constant: 1580:24 0 (const int) 1590:24 move second child to first child ( temp float) 1600:? '@entryPointOutput.Depth' ( out float FragDepth) 1610:24 Depth: direct index for structure ( temp float) 1620:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1630:24 Constant: 1640:24 1 (const int) 1650:? Linker Objects 1660:? 'g_tTexbfs_test' (layout( binding=0 r32f) uniform textureBuffer) 1670:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer) 1680:? 'g_tTexbis' (layout( r32i) uniform itextureBuffer) 1690:? 'g_tTexbus' (layout( r32ui) uniform utextureBuffer) 1700:? '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}) 1710:? '@entryPointOutput.Depth' ( out float FragDepth) 1720:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 173 174// Module Version 10000 175// Generated by (magic number): 80008 176// Id's are bound by 75 177 178 Capability Shader 179 Capability SampledBuffer 180 1: ExtInstImport "GLSL.std.450" 181 MemoryModel Logical GLSL450 182 EntryPoint Fragment 4 "main" 67 71 183 ExecutionMode 4 OriginUpperLeft 184 ExecutionMode 4 DepthReplacing 185 Source HLSL 500 186 Name 4 "main" 187 Name 8 "PS_OUTPUT" 188 MemberName 8(PS_OUTPUT) 0 "Color" 189 MemberName 8(PS_OUTPUT) 1 "Depth" 190 Name 10 "@main(" 191 Name 13 "r00" 192 Name 16 "g_tTexbfs" 193 Name 22 "$Global" 194 MemberName 22($Global) 0 "c1" 195 MemberName 22($Global) 1 "c2" 196 MemberName 22($Global) 2 "c3" 197 MemberName 22($Global) 3 "c4" 198 MemberName 22($Global) 4 "o1" 199 MemberName 22($Global) 5 "o2" 200 MemberName 22($Global) 6 "o3" 201 MemberName 22($Global) 7 "o4" 202 Name 24 "" 203 Name 32 "r01" 204 Name 35 "g_tTexbis" 205 Name 43 "r02" 206 Name 46 "g_tTexbus" 207 Name 54 "psout" 208 Name 64 "flattenTemp" 209 Name 67 "@entryPointOutput.Color" 210 Name 71 "@entryPointOutput.Depth" 211 Name 74 "g_tTexbfs_test" 212 Decorate 16(g_tTexbfs) DescriptorSet 0 213 Decorate 16(g_tTexbfs) Binding 0 214 MemberDecorate 22($Global) 0 Offset 0 215 MemberDecorate 22($Global) 1 Offset 8 216 MemberDecorate 22($Global) 2 Offset 16 217 MemberDecorate 22($Global) 3 Offset 32 218 MemberDecorate 22($Global) 4 Offset 48 219 MemberDecorate 22($Global) 5 Offset 56 220 MemberDecorate 22($Global) 6 Offset 64 221 MemberDecorate 22($Global) 7 Offset 80 222 Decorate 22($Global) Block 223 Decorate 24 DescriptorSet 0 224 Decorate 24 Binding 0 225 Decorate 35(g_tTexbis) DescriptorSet 0 226 Decorate 35(g_tTexbis) Binding 0 227 Decorate 46(g_tTexbus) DescriptorSet 0 228 Decorate 46(g_tTexbus) Binding 0 229 Decorate 67(@entryPointOutput.Color) Location 0 230 Decorate 71(@entryPointOutput.Depth) BuiltIn FragDepth 231 Decorate 74(g_tTexbfs_test) DescriptorSet 0 232 Decorate 74(g_tTexbfs_test) Binding 0 233 2: TypeVoid 234 3: TypeFunction 2 235 6: TypeFloat 32 236 7: TypeVector 6(float) 4 237 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 238 9: TypeFunction 8(PS_OUTPUT) 239 12: TypePointer Function 6(float) 240 14: TypeImage 6(float) Buffer sampled format:R32f 241 15: TypePointer UniformConstant 14 242 16(g_tTexbfs): 15(ptr) Variable UniformConstant 243 18: TypeInt 32 1 244 19: TypeVector 18(int) 2 245 20: TypeVector 18(int) 3 246 21: TypeVector 18(int) 4 247 22($Global): TypeStruct 18(int) 19(ivec2) 20(ivec3) 21(ivec4) 18(int) 19(ivec2) 20(ivec3) 21(ivec4) 248 23: TypePointer Uniform 22($Global) 249 24: 23(ptr) Variable Uniform 250 25: 18(int) Constant 0 251 26: TypePointer Uniform 18(int) 252 31: TypePointer Function 18(int) 253 33: TypeImage 18(int) Buffer sampled format:R32i 254 34: TypePointer UniformConstant 33 255 35(g_tTexbis): 34(ptr) Variable UniformConstant 256 41: TypeInt 32 0 257 42: TypePointer Function 41(int) 258 44: TypeImage 41(int) Buffer sampled format:R32ui 259 45: TypePointer UniformConstant 44 260 46(g_tTexbus): 45(ptr) Variable UniformConstant 261 50: TypeVector 41(int) 4 262 53: TypePointer Function 8(PS_OUTPUT) 263 55: 6(float) Constant 1065353216 264 56: 7(fvec4) ConstantComposite 55 55 55 55 265 57: TypePointer Function 7(fvec4) 266 59: 18(int) Constant 1 267 66: TypePointer Output 7(fvec4) 26867(@entryPointOutput.Color): 66(ptr) Variable Output 269 70: TypePointer Output 6(float) 27071(@entryPointOutput.Depth): 70(ptr) Variable Output 27174(g_tTexbfs_test): 15(ptr) Variable UniformConstant 272 4(main): 2 Function None 3 273 5: Label 274 64(flattenTemp): 53(ptr) Variable Function 275 65:8(PS_OUTPUT) FunctionCall 10(@main() 276 Store 64(flattenTemp) 65 277 68: 57(ptr) AccessChain 64(flattenTemp) 25 278 69: 7(fvec4) Load 68 279 Store 67(@entryPointOutput.Color) 69 280 72: 12(ptr) AccessChain 64(flattenTemp) 59 281 73: 6(float) Load 72 282 Store 71(@entryPointOutput.Depth) 73 283 Return 284 FunctionEnd 285 10(@main():8(PS_OUTPUT) Function None 9 286 11: Label 287 13(r00): 12(ptr) Variable Function 288 32(r01): 31(ptr) Variable Function 289 43(r02): 42(ptr) Variable Function 290 54(psout): 53(ptr) Variable Function 291 17: 14 Load 16(g_tTexbfs) 292 27: 26(ptr) AccessChain 24 25 293 28: 18(int) Load 27 294 29: 7(fvec4) ImageFetch 17 28 295 30: 6(float) CompositeExtract 29 0 296 Store 13(r00) 30 297 36: 33 Load 35(g_tTexbis) 298 37: 26(ptr) AccessChain 24 25 299 38: 18(int) Load 37 300 39: 21(ivec4) ImageFetch 36 38 301 40: 18(int) CompositeExtract 39 0 302 Store 32(r01) 40 303 47: 44 Load 46(g_tTexbus) 304 48: 26(ptr) AccessChain 24 25 305 49: 18(int) Load 48 306 51: 50(ivec4) ImageFetch 47 49 307 52: 41(int) CompositeExtract 51 0 308 Store 43(r02) 52 309 58: 57(ptr) AccessChain 54(psout) 25 310 Store 58 56 311 60: 12(ptr) AccessChain 54(psout) 59 312 Store 60 55 313 61:8(PS_OUTPUT) Load 54(psout) 314 ReturnValue 61 315 FunctionEnd 316