1spv.bufferhandle1.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 52
5
6                              Capability Shader
7                              Capability VulkanMemoryModelKHR
8                              Capability PhysicalStorageBufferAddressesEXT
9                              Extension  "SPV_EXT_physical_storage_buffer"
10                              Extension  "SPV_KHR_storage_buffer_storage_class"
11                              Extension  "SPV_KHR_vulkan_memory_model"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel PhysicalStorageBuffer64EXT VulkanKHR
14                              EntryPoint Fragment 4  "main"
15                              ExecutionMode 4 OriginUpperLeft
16                              Source GLSL 450
17                              SourceExtension  "GL_EXT_buffer_reference"
18                              Name 4  "main"
19                              Name 7  "t2"
20                              MemberName 7(t2) 0  "f"
21                              MemberName 7(t2) 1  "g"
22                              Name 13  "blockType"
23                              MemberName 13(blockType) 0  "a"
24                              MemberName 13(blockType) 1  "b"
25                              MemberName 13(blockType) 2  "c"
26                              MemberName 13(blockType) 3  "d"
27                              MemberName 13(blockType) 4  "e"
28                              MemberName 13(blockType) 5  "f"
29                              MemberName 13(blockType) 6  "g"
30                              Name 15  "t"
31                              Name 28  "j"
32                              MemberDecorate 7(t2) 0 Offset 0
33                              MemberDecorate 7(t2) 1 Offset 8
34                              Decorate 7(t2) Block
35                              Decorate 11 ArrayStride 4
36                              MemberDecorate 13(blockType) 0 Offset 0
37                              MemberDecorate 13(blockType) 1 Offset 4
38                              MemberDecorate 13(blockType) 2 Offset 8
39                              MemberDecorate 13(blockType) 3 Offset 12
40                              MemberDecorate 13(blockType) 4 Offset 16
41                              MemberDecorate 13(blockType) 5 Offset 32
42                              MemberDecorate 13(blockType) 6 Offset 48
43                              Decorate 13(blockType) Block
44                              Decorate 15(t) DescriptorSet 0
45                              Decorate 15(t) Binding 0
46                              Decorate 28(j) DecorationAliasedPointerEXT
47               2:             TypeVoid
48               3:             TypeFunction 2
49                              TypeForwardPointer 6 PhysicalStorageBufferEXT
50           7(t2):             TypeStruct 6 6
51               8:             TypeInt 32 1
52               9:             TypeInt 32 0
53              10:      9(int) Constant 2
54              11:             TypeArray 8(int) 10
55              12:             TypeVector 8(int) 4
56   13(blockType):             TypeStruct 8(int) 8(int) 8(int) 8(int) 8(int) 11 12(ivec4)
57               6:             TypePointer PhysicalStorageBufferEXT 13(blockType)
58              14:             TypePointer StorageBuffer 7(t2)
59           15(t):     14(ptr) Variable StorageBuffer
60              16:      8(int) Constant 0
61              17:             TypePointer StorageBuffer 6(ptr)
62              20:      8(int) Constant 1
63              23:             TypePointer PhysicalStorageBufferEXT 8(int)
64              27:             TypePointer Function 6(ptr)
65              32:      8(int) Constant 3
66              34:      8(int) Constant 2
67              40:      8(int) Constant 5
68              46:      8(int) Constant 6
69              47:      9(int) Constant 1
70              50:      9(int) Constant 5
71         4(main):           2 Function None 3
72               5:             Label
73           28(j):     27(ptr) Variable Function
74              18:     17(ptr) AccessChain 15(t) 16
75              19:      6(ptr) Load 18
76              21:     17(ptr) AccessChain 15(t) 20
77              22:      6(ptr) Load 21
78              24:     23(ptr) AccessChain 22 16
79              25:      8(int) Load 24 Aligned 16
80              26:     23(ptr) AccessChain 19 20
81                              Store 26 25 Aligned 4
82              29:     17(ptr) AccessChain 15(t) 16
83              30:      6(ptr) Load 29
84                              Store 28(j) 30
85              31:      6(ptr) Load 28(j)
86              33:      6(ptr) Load 28(j)
87              35:     23(ptr) AccessChain 33 34
88              36:      8(int) Load 35 Aligned 8
89              37:     23(ptr) AccessChain 31 32
90                              Store 37 36 Aligned 4
91              38:      6(ptr) Load 28(j)
92              39:      6(ptr) Load 28(j)
93              41:     23(ptr) AccessChain 39 40 20
94              42:      8(int) Load 41 Aligned 4
95              43:     23(ptr) AccessChain 38 32
96                              Store 43 42 Aligned 4
97              44:      6(ptr) Load 28(j)
98              45:      6(ptr) Load 28(j)
99              48:     23(ptr) AccessChain 45 46 47
100              49:      8(int) Load 48 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 4 50
101              51:     23(ptr) AccessChain 44 32
102                              Store 51 49 Aligned 4
103                              Return
104                              FunctionEnd
105