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): 80007 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 MemberDecorate 22($Global) 0 Offset 0 214 MemberDecorate 22($Global) 1 Offset 8 215 MemberDecorate 22($Global) 2 Offset 16 216 MemberDecorate 22($Global) 3 Offset 32 217 MemberDecorate 22($Global) 4 Offset 48 218 MemberDecorate 22($Global) 5 Offset 56 219 MemberDecorate 22($Global) 6 Offset 64 220 MemberDecorate 22($Global) 7 Offset 80 221 Decorate 22($Global) Block 222 Decorate 24 DescriptorSet 0 223 Decorate 35(g_tTexbis) DescriptorSet 0 224 Decorate 46(g_tTexbus) DescriptorSet 0 225 Decorate 67(@entryPointOutput.Color) Location 0 226 Decorate 71(@entryPointOutput.Depth) BuiltIn FragDepth 227 Decorate 74(g_tTexbfs_test) DescriptorSet 0 228 Decorate 74(g_tTexbfs_test) Binding 0 229 2: TypeVoid 230 3: TypeFunction 2 231 6: TypeFloat 32 232 7: TypeVector 6(float) 4 233 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 234 9: TypeFunction 8(PS_OUTPUT) 235 12: TypePointer Function 6(float) 236 14: TypeImage 6(float) Buffer sampled format:R32f 237 15: TypePointer UniformConstant 14 238 16(g_tTexbfs): 15(ptr) Variable UniformConstant 239 18: TypeInt 32 1 240 19: TypeVector 18(int) 2 241 20: TypeVector 18(int) 3 242 21: TypeVector 18(int) 4 243 22($Global): TypeStruct 18(int) 19(ivec2) 20(ivec3) 21(ivec4) 18(int) 19(ivec2) 20(ivec3) 21(ivec4) 244 23: TypePointer Uniform 22($Global) 245 24: 23(ptr) Variable Uniform 246 25: 18(int) Constant 0 247 26: TypePointer Uniform 18(int) 248 31: TypePointer Function 18(int) 249 33: TypeImage 18(int) Buffer sampled format:R32i 250 34: TypePointer UniformConstant 33 251 35(g_tTexbis): 34(ptr) Variable UniformConstant 252 41: TypeInt 32 0 253 42: TypePointer Function 41(int) 254 44: TypeImage 41(int) Buffer sampled format:R32ui 255 45: TypePointer UniformConstant 44 256 46(g_tTexbus): 45(ptr) Variable UniformConstant 257 50: TypeVector 41(int) 4 258 53: TypePointer Function 8(PS_OUTPUT) 259 55: 6(float) Constant 1065353216 260 56: 7(fvec4) ConstantComposite 55 55 55 55 261 57: TypePointer Function 7(fvec4) 262 59: 18(int) Constant 1 263 66: TypePointer Output 7(fvec4) 26467(@entryPointOutput.Color): 66(ptr) Variable Output 265 70: TypePointer Output 6(float) 26671(@entryPointOutput.Depth): 70(ptr) Variable Output 26774(g_tTexbfs_test): 15(ptr) Variable UniformConstant 268 4(main): 2 Function None 3 269 5: Label 270 64(flattenTemp): 53(ptr) Variable Function 271 65:8(PS_OUTPUT) FunctionCall 10(@main() 272 Store 64(flattenTemp) 65 273 68: 57(ptr) AccessChain 64(flattenTemp) 25 274 69: 7(fvec4) Load 68 275 Store 67(@entryPointOutput.Color) 69 276 72: 12(ptr) AccessChain 64(flattenTemp) 59 277 73: 6(float) Load 72 278 Store 71(@entryPointOutput.Depth) 73 279 Return 280 FunctionEnd 281 10(@main():8(PS_OUTPUT) Function None 9 282 11: Label 283 13(r00): 12(ptr) Variable Function 284 32(r01): 31(ptr) Variable Function 285 43(r02): 42(ptr) Variable Function 286 54(psout): 53(ptr) Variable Function 287 17: 14 Load 16(g_tTexbfs) 288 27: 26(ptr) AccessChain 24 25 289 28: 18(int) Load 27 290 29: 7(fvec4) ImageFetch 17 28 291 30: 6(float) CompositeExtract 29 0 292 Store 13(r00) 30 293 36: 33 Load 35(g_tTexbis) 294 37: 26(ptr) AccessChain 24 25 295 38: 18(int) Load 37 296 39: 21(ivec4) ImageFetch 36 38 297 40: 18(int) CompositeExtract 39 0 298 Store 32(r01) 40 299 47: 44 Load 46(g_tTexbus) 300 48: 26(ptr) AccessChain 24 25 301 49: 18(int) Load 48 302 51: 50(ivec4) ImageFetch 47 49 303 52: 41(int) CompositeExtract 51 0 304 Store 43(r02) 52 305 58: 57(ptr) AccessChain 54(psout) 25 306 Store 58 56 307 60: 12(ptr) AccessChain 54(psout) 59 308 Store 60 55 309 61:8(PS_OUTPUT) Load 54(psout) 310 ReturnValue 61 311 FunctionEnd 312