1spv.bufferhandle13.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 58
5
6                              Capability Shader
7                              Capability PhysicalStorageBufferAddressesEXT
8                              Extension  "SPV_EXT_physical_storage_buffer"
9                              Extension  "SPV_KHR_storage_buffer_storage_class"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel PhysicalStorageBuffer64EXT GLSL450
12                              EntryPoint Fragment 4  "main"
13                              ExecutionMode 4 OriginUpperLeft
14                              Source GLSL 450
15                              SourceExtension  "GL_EXT_buffer_reference"
16                              Name 4  "main"
17                              Name 8  "t4"
18                              MemberName 8(t4) 0  "j"
19                              Name 11  "f1(1;"
20                              Name 10  "y"
21                              Name 16  "f2(1;"
22                              Name 15  "y"
23                              Name 19  "f3(1;"
24                              Name 18  "y"
25                              Name 22  "f4(1;"
26                              Name 21  "y"
27                              Name 34  "a"
28                              Name 35  "t5"
29                              MemberName 35(t5) 0  "m"
30                              Name 37  "s5"
31                              Name 42  "b"
32                              Name 47  "param"
33                              Name 52  "param"
34                              Name 56  "g1"
35                              Name 57  "g2"
36                              MemberDecorate 8(t4) 0 Offset 0
37                              Decorate 8(t4) Block
38                              Decorate 10(y) Aliased
39                              Decorate 15(y) DecorationAliasedPointerEXT
40                              Decorate 18(y) Restrict
41                              Decorate 18(y) Restrict
42                              Decorate 21(y) Restrict
43                              Decorate 21(y) DecorationRestrictPointerEXT
44                              Decorate 34(a) DecorationAliasedPointerEXT
45                              MemberDecorate 35(t5) 0 Offset 0
46                              Decorate 35(t5) Block
47                              Decorate 37(s5) DescriptorSet 0
48                              Decorate 37(s5) Binding 0
49                              Decorate 42(b) DecorationRestrictPointerEXT
50                              Decorate 56(g1) DecorationAliasedPointerEXT
51                              Decorate 57(g2) DecorationRestrictPointerEXT
52                              Decorate 47(param) DecorationAliasedPointerEXT
53                              Decorate 52(param) DecorationAliasedPointerEXT
54               2:             TypeVoid
55               3:             TypeFunction 2
56                              TypeForwardPointer 6 PhysicalStorageBufferEXT
57               7:             TypeInt 32 1
58           8(t4):             TypeStruct 7(int)
59               6:             TypePointer PhysicalStorageBufferEXT 8(t4)
60               9:             TypeFunction 6(ptr) 6(ptr)
61              13:             TypePointer Function 6(ptr)
62              14:             TypeFunction 6(ptr) 13(ptr)
63          35(t5):             TypeStruct 6(ptr)
64              36:             TypePointer StorageBuffer 35(t5)
65          37(s5):     36(ptr) Variable StorageBuffer
66              38:      7(int) Constant 0
67              39:             TypePointer StorageBuffer 6(ptr)
68              55:             TypePointer Private 6(ptr)
69          56(g1):     55(ptr) Variable Private
70         4(main):           2 Function None 3
71               5:             Label
72           34(a):     13(ptr) Variable Function
73           42(b):     13(ptr) Variable Function
74       47(param):     13(ptr) Variable Function
75       52(param):     13(ptr) Variable Function
76          57(g2):     13(ptr) Variable Function
77              40:     39(ptr) AccessChain 37(s5) 38
78              41:      6(ptr) Load 40
79                              Store 34(a) 41
80              43:     39(ptr) AccessChain 37(s5) 38
81              44:      6(ptr) Load 43
82                              Store 42(b) 44
83              45:      6(ptr) Load 34(a)
84              46:      6(ptr) FunctionCall 11(f1(1;) 45
85              48:      6(ptr) Load 34(a)
86                              Store 47(param) 48
87              49:      6(ptr) FunctionCall 16(f2(1;) 47(param)
88              50:      6(ptr) Load 34(a)
89              51:      6(ptr) FunctionCall 19(f3(1;) 50
90              53:      6(ptr) Load 34(a)
91                              Store 52(param) 53
92              54:      6(ptr) FunctionCall 22(f4(1;) 52(param)
93                              Return
94                              FunctionEnd
95       11(f1(1;):      6(ptr) Function None 9
96           10(y):      6(ptr) FunctionParameter
97              12:             Label
98                              ReturnValue 10(y)
99                              FunctionEnd
100       16(f2(1;):      6(ptr) Function None 14
101           15(y):     13(ptr) FunctionParameter
102              17:             Label
103              26:      6(ptr) Load 15(y)
104                              ReturnValue 26
105                              FunctionEnd
106       19(f3(1;):      6(ptr) Function None 9
107           18(y):      6(ptr) FunctionParameter
108              20:             Label
109                              ReturnValue 18(y)
110                              FunctionEnd
111       22(f4(1;):      6(ptr) Function None 14
112           21(y):     13(ptr) FunctionParameter
113              23:             Label
114              31:      6(ptr) Load 21(y)
115                              ReturnValue 31
116                              FunctionEnd
117