1spv.ssboAlias.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 44
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 41
10                              ExecutionMode 4 OriginUpperLeft
11                              Source HLSL 500
12                              Name 4  "main"
13                              Name 9  "@main("
14                              Name 13  "Buf1"
15                              MemberName 13(Buf1) 0  "@data"
16                              Name 15  "Buf1"
17                              Name 18  "Buf1@count"
18                              MemberName 18(Buf1@count) 0  "@count"
19                              Name 20  "Buf1@count"
20                              Name 28  "Buf2"
21                              Name 29  "Buf2@count"
22                              Name 41  "@entryPointOutput"
23                              Name 43  "Buf3"
24                              Decorate 12 ArrayStride 4
25                              MemberDecorate 13(Buf1) 0 Offset 0
26                              Decorate 13(Buf1) BufferBlock
27                              Decorate 15(Buf1) DescriptorSet 0
28                              Decorate 15(Buf1) Binding 84
29                              MemberDecorate 18(Buf1@count) 0 Offset 0
30                              Decorate 18(Buf1@count) BufferBlock
31                              Decorate 20(Buf1@count) DescriptorSet 0
32                              Decorate 20(Buf1@count) Binding 83
33                              Decorate 28(Buf2) DescriptorSet 0
34                              Decorate 28(Buf2) Binding 85
35                              Decorate 29(Buf2@count) DescriptorSet 0
36                              Decorate 29(Buf2@count) Binding 86
37                              Decorate 41(@entryPointOutput) Location 0
38                              Decorate 43(Buf3) DescriptorSet 0
39                              Decorate 43(Buf3) Binding 84
40               2:             TypeVoid
41               3:             TypeFunction 2
42               6:             TypeFloat 32
43               7:             TypeVector 6(float) 4
44               8:             TypeFunction 7(fvec4)
45              11:             TypeInt 32 0
46              12:             TypeRuntimeArray 11(int)
47        13(Buf1):             TypeStruct 12
48              14:             TypePointer Uniform 13(Buf1)
49        15(Buf1):     14(ptr) Variable Uniform
50              16:             TypeInt 32 1
51              17:     16(int) Constant 0
52  18(Buf1@count):             TypeStruct 11(int)
53              19:             TypePointer Uniform 18(Buf1@count)
54  20(Buf1@count):     19(ptr) Variable Uniform
55              21:             TypePointer Uniform 11(int)
56              23:     11(int) Constant 1
57              24:     11(int) Constant 0
58              26:     11(int) Constant 10
59        28(Buf2):     14(ptr) Variable Uniform
60  29(Buf2@count):     19(ptr) Variable Uniform
61              32:     11(int) Constant 20
62              34:    6(float) Constant 1065353216
63              35:    6(float) Constant 1077936128
64              36:    6(float) Constant 1084227584
65              37:    7(fvec4) ConstantComposite 34 35 36 34
66              40:             TypePointer Output 7(fvec4)
6741(@entryPointOutput):     40(ptr) Variable Output
68        43(Buf3):     14(ptr) Variable Uniform
69         4(main):           2 Function None 3
70               5:             Label
71              42:    7(fvec4) FunctionCall 9(@main()
72                              Store 41(@entryPointOutput) 42
73                              Return
74                              FunctionEnd
75       9(@main():    7(fvec4) Function None 8
76              10:             Label
77              22:     21(ptr) AccessChain 20(Buf1@count) 17
78              25:     11(int) AtomicIAdd 22 23 24 23
79              27:     21(ptr) AccessChain 15(Buf1) 17 25
80                              Store 27 26
81              30:     21(ptr) AccessChain 29(Buf2@count) 17
82              31:     11(int) AtomicIAdd 30 23 24 23
83              33:     21(ptr) AccessChain 28(Buf2) 17 31
84                              Store 33 32
85                              ReturnValue 37
86                              FunctionEnd
87