1hlsl.rw.swizzle.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:4 Function Definition: SomeValue( ( temp 3-component vector of float) 60:4 Function Parameters: 70:? Sequence 80:4 Branch: Return with expression 90:? Constant: 100:? 1.000000 110:? 2.000000 120:? 3.000000 130:7 Function Definition: @main( ( temp 4-component vector of float) 140:7 Function Parameters: 150:? Sequence 160:8 Sequence 170:8 move second child to first child ( temp 2-component vector of int) 180:8 'tc2' ( temp 2-component vector of int) 190:8 Constant: 200:8 0 (const int) 210:8 0 (const int) 220:9 Sequence 230:9 move second child to first child ( temp int) 240:9 'tc' ( temp int) 250:9 Constant: 260:9 0 (const int) 270:12 Sequence 280:12 move second child to first child ( temp 3-component vector of float) 290:12 vector swizzle ( temp 3-component vector of float) 300:12 'storeTemp' ( temp 3-component vector of float) 310:12 Sequence 320:12 Constant: 330:12 2 (const int) 340:12 Constant: 350:12 1 (const int) 360:12 Constant: 370:12 0 (const int) 380:? Constant: 390:? 1.000000 400:? 2.000000 410:? 3.000000 420:12 imageStore ( temp void) 430:12 'rwtx' (layout( rgba32f) uniform image2D) 440:12 'tc2' ( temp 2-component vector of int) 450:12 'storeTemp' ( temp 3-component vector of float) 460:12 'storeTemp' ( temp 3-component vector of float) 470:13 Sequence 480:13 move second child to first child ( temp 3-component vector of float) 490:13 vector swizzle ( temp 3-component vector of float) 500:13 'storeTemp' ( temp 3-component vector of float) 510:13 Sequence 520:13 Constant: 530:13 2 (const int) 540:13 Constant: 550:13 1 (const int) 560:13 Constant: 570:13 0 (const int) 580:13 Function Call: SomeValue( ( temp 3-component vector of float) 590:13 imageStore ( temp void) 600:13 'rwtx' (layout( rgba32f) uniform image2D) 610:13 'tc2' ( temp 2-component vector of int) 620:13 'storeTemp' ( temp 3-component vector of float) 630:13 'storeTemp' ( temp 3-component vector of float) 640:14 Sequence 650:14 move second child to first child ( temp 3-component vector of float) 660:14 vector swizzle ( temp 3-component vector of float) 670:14 'storeTemp' ( temp 3-component vector of float) 680:14 Sequence 690:14 Constant: 700:14 2 (const int) 710:14 Constant: 720:14 1 (const int) 730:14 Constant: 740:14 0 (const int) 750:14 Constant: 760:14 2.000000 770:14 2.000000 780:14 2.000000 790:14 imageStore ( temp void) 800:14 'rwtx' (layout( rgba32f) uniform image2D) 810:14 'tc2' ( temp 2-component vector of int) 820:14 'storeTemp' ( temp 3-component vector of float) 830:14 'storeTemp' ( temp 3-component vector of float) 840:27 Branch: Return with expression 850:27 Constant: 860:27 0.000000 870:27 0.000000 880:27 0.000000 890:27 0.000000 900:7 Function Definition: main( ( temp void) 910:7 Function Parameters: 920:? Sequence 930:7 move second child to first child ( temp 4-component vector of float) 940:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 950:7 Function Call: @main( ( temp 4-component vector of float) 960:? Linker Objects 970:? 'rwtx' (layout( rgba32f) uniform image2D) 980:? 'buf' (layout( rgba32f) uniform imageBuffer) 990:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 100 101 102Linked fragment stage: 103 104 105Shader version: 500 106gl_FragCoord origin is upper left 1070:? Sequence 1080:4 Function Definition: SomeValue( ( temp 3-component vector of float) 1090:4 Function Parameters: 1100:? Sequence 1110:4 Branch: Return with expression 1120:? Constant: 1130:? 1.000000 1140:? 2.000000 1150:? 3.000000 1160:7 Function Definition: @main( ( temp 4-component vector of float) 1170:7 Function Parameters: 1180:? Sequence 1190:8 Sequence 1200:8 move second child to first child ( temp 2-component vector of int) 1210:8 'tc2' ( temp 2-component vector of int) 1220:8 Constant: 1230:8 0 (const int) 1240:8 0 (const int) 1250:9 Sequence 1260:9 move second child to first child ( temp int) 1270:9 'tc' ( temp int) 1280:9 Constant: 1290:9 0 (const int) 1300:12 Sequence 1310:12 move second child to first child ( temp 3-component vector of float) 1320:12 vector swizzle ( temp 3-component vector of float) 1330:12 'storeTemp' ( temp 3-component vector of float) 1340:12 Sequence 1350:12 Constant: 1360:12 2 (const int) 1370:12 Constant: 1380:12 1 (const int) 1390:12 Constant: 1400:12 0 (const int) 1410:? Constant: 1420:? 1.000000 1430:? 2.000000 1440:? 3.000000 1450:12 imageStore ( temp void) 1460:12 'rwtx' (layout( rgba32f) uniform image2D) 1470:12 'tc2' ( temp 2-component vector of int) 1480:12 'storeTemp' ( temp 3-component vector of float) 1490:12 'storeTemp' ( temp 3-component vector of float) 1500:13 Sequence 1510:13 move second child to first child ( temp 3-component vector of float) 1520:13 vector swizzle ( temp 3-component vector of float) 1530:13 'storeTemp' ( temp 3-component vector of float) 1540:13 Sequence 1550:13 Constant: 1560:13 2 (const int) 1570:13 Constant: 1580:13 1 (const int) 1590:13 Constant: 1600:13 0 (const int) 1610:13 Function Call: SomeValue( ( temp 3-component vector of float) 1620:13 imageStore ( temp void) 1630:13 'rwtx' (layout( rgba32f) uniform image2D) 1640:13 'tc2' ( temp 2-component vector of int) 1650:13 'storeTemp' ( temp 3-component vector of float) 1660:13 'storeTemp' ( temp 3-component vector of float) 1670:14 Sequence 1680:14 move second child to first child ( temp 3-component vector of float) 1690:14 vector swizzle ( temp 3-component vector of float) 1700:14 'storeTemp' ( temp 3-component vector of float) 1710:14 Sequence 1720:14 Constant: 1730:14 2 (const int) 1740:14 Constant: 1750:14 1 (const int) 1760:14 Constant: 1770:14 0 (const int) 1780:14 Constant: 1790:14 2.000000 1800:14 2.000000 1810:14 2.000000 1820:14 imageStore ( temp void) 1830:14 'rwtx' (layout( rgba32f) uniform image2D) 1840:14 'tc2' ( temp 2-component vector of int) 1850:14 'storeTemp' ( temp 3-component vector of float) 1860:14 'storeTemp' ( temp 3-component vector of float) 1870:27 Branch: Return with expression 1880:27 Constant: 1890:27 0.000000 1900:27 0.000000 1910:27 0.000000 1920:27 0.000000 1930:7 Function Definition: main( ( temp void) 1940:7 Function Parameters: 1950:? Sequence 1960:7 move second child to first child ( temp 4-component vector of float) 1970:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 1980:7 Function Call: @main( ( temp 4-component vector of float) 1990:? Linker Objects 2000:? 'rwtx' (layout( rgba32f) uniform image2D) 2010:? 'buf' (layout( rgba32f) uniform imageBuffer) 2020:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 203 204// Module Version 10000 205// Generated by (magic number): 80007 206// Id's are bound by 63 207 208 Capability Shader 209 Capability ImageBuffer 210 1: ExtInstImport "GLSL.std.450" 211 MemoryModel Logical GLSL450 212 EntryPoint Fragment 4 "main" 58 213 ExecutionMode 4 OriginUpperLeft 214 Source HLSL 500 215 Name 4 "main" 216 Name 9 "SomeValue(" 217 Name 13 "@main(" 218 Name 24 "tc2" 219 Name 28 "tc" 220 Name 30 "storeTemp" 221 Name 35 "rwtx" 222 Name 39 "storeTemp" 223 Name 46 "storeTemp" 224 Name 58 "@entryPointOutput" 225 Name 62 "buf" 226 Decorate 35(rwtx) DescriptorSet 0 227 Decorate 35(rwtx) Binding 0 228 Decorate 58(@entryPointOutput) Location 0 229 Decorate 62(buf) DescriptorSet 0 230 Decorate 62(buf) Binding 0 231 2: TypeVoid 232 3: TypeFunction 2 233 6: TypeFloat 32 234 7: TypeVector 6(float) 3 235 8: TypeFunction 7(fvec3) 236 11: TypeVector 6(float) 4 237 12: TypeFunction 11(fvec4) 238 15: 6(float) Constant 1065353216 239 16: 6(float) Constant 1073741824 240 17: 6(float) Constant 1077936128 241 18: 7(fvec3) ConstantComposite 15 16 17 242 21: TypeInt 32 1 243 22: TypeVector 21(int) 2 244 23: TypePointer Function 22(ivec2) 245 25: 21(int) Constant 0 246 26: 22(ivec2) ConstantComposite 25 25 247 27: TypePointer Function 21(int) 248 29: TypePointer Function 7(fvec3) 249 33: TypeImage 6(float) 2D nonsampled format:Rgba32f 250 34: TypePointer UniformConstant 33 251 35(rwtx): 34(ptr) Variable UniformConstant 252 47: 7(fvec3) ConstantComposite 16 16 16 253 53: 6(float) Constant 0 254 54: 11(fvec4) ConstantComposite 53 53 53 53 255 57: TypePointer Output 11(fvec4) 25658(@entryPointOutput): 57(ptr) Variable Output 257 60: TypeImage 6(float) Buffer nonsampled format:Rgba32f 258 61: TypePointer UniformConstant 60 259 62(buf): 61(ptr) Variable UniformConstant 260 4(main): 2 Function None 3 261 5: Label 262 59: 11(fvec4) FunctionCall 13(@main() 263 Store 58(@entryPointOutput) 59 264 Return 265 FunctionEnd 266 9(SomeValue(): 7(fvec3) Function None 8 267 10: Label 268 ReturnValue 18 269 FunctionEnd 270 13(@main(): 11(fvec4) Function None 12 271 14: Label 272 24(tc2): 23(ptr) Variable Function 273 28(tc): 27(ptr) Variable Function 274 30(storeTemp): 29(ptr) Variable Function 275 39(storeTemp): 29(ptr) Variable Function 276 46(storeTemp): 29(ptr) Variable Function 277 Store 24(tc2) 26 278 Store 28(tc) 25 279 31: 7(fvec3) Load 30(storeTemp) 280 32: 7(fvec3) VectorShuffle 31 18 5 4 3 281 Store 30(storeTemp) 32 282 36: 33 Load 35(rwtx) 283 37: 22(ivec2) Load 24(tc2) 284 38: 7(fvec3) Load 30(storeTemp) 285 ImageWrite 36 37 38 286 40: 7(fvec3) FunctionCall 9(SomeValue() 287 41: 7(fvec3) Load 39(storeTemp) 288 42: 7(fvec3) VectorShuffle 41 40 5 4 3 289 Store 39(storeTemp) 42 290 43: 33 Load 35(rwtx) 291 44: 22(ivec2) Load 24(tc2) 292 45: 7(fvec3) Load 39(storeTemp) 293 ImageWrite 43 44 45 294 48: 7(fvec3) Load 46(storeTemp) 295 49: 7(fvec3) VectorShuffle 48 47 5 4 3 296 Store 46(storeTemp) 49 297 50: 33 Load 35(rwtx) 298 51: 22(ivec2) Load 24(tc2) 299 52: 7(fvec3) Load 46(storeTemp) 300 ImageWrite 50 51 52 301 ReturnValue 54 302 FunctionEnd 303