• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.bufferhandle16.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 48
5
6                              Capability Shader
7                              Capability Int64
8                              Capability PhysicalStorageBufferAddressesEXT
9                              Extension  "SPV_EXT_physical_storage_buffer"
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                              SourceExtension  "GL_EXT_scalar_block_layout"
17                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int64"
18                              Name 4  "main"
19                              Name 9  "T1"
20                              MemberName 9(T1) 0  "x"
21                              MemberName 9(T1) 1  "y"
22                              Name 11  "a"
23                              Name 15  "b"
24                              Name 18  "c"
25                              Name 24  "d"
26                              Name 26  "e"
27                              Name 29  "f"
28                              Name 46  "x"
29                              MemberDecorate 9(T1) 0 Offset 0
30                              MemberDecorate 9(T1) 1 Offset 4
31                              Decorate 9(T1) Block
32                              Decorate 11(a) DecorationAliasedPointerEXT
33                              Decorate 15(b) DecorationAliasedPointerEXT
34                              Decorate 18(c) DecorationAliasedPointerEXT
35                              Decorate 24(d) DecorationAliasedPointerEXT
36                              Decorate 26(e) DecorationAliasedPointerEXT
37                              Decorate 29(f) DecorationAliasedPointerEXT
38               2:             TypeVoid
39               3:             TypeFunction 2
40                              TypeForwardPointer 6 PhysicalStorageBufferEXT
41               7:             TypeInt 32 1
42               8:             TypeInt 32 0
43           9(T1):             TypeStruct 7(int) 8(int)
44               6:             TypePointer PhysicalStorageBufferEXT 9(T1)
45              10:             TypePointer Function 6(ptr)
46              12:             TypeInt 64 0
47              13: 12(int64_t) Constant 4 0
48              16: 12(int64_t) Constant 5 0
49              19:             TypeBool
50              20:    19(bool) ConstantTrue
51              27: 12(int64_t) Constant 6 0
52              31:      7(int) Constant 1
53              32:             TypePointer PhysicalStorageBufferEXT 8(int)
54              35:      8(int) Constant 0
55              37: 12(int64_t) Constant 8 0
56              39: 12(int64_t) Constant 9 0
57              42:      7(int) Constant 3
58              43:      8(int) Constant 3
59              44:             TypeArray 7(int) 43
60              45:             TypePointer Private 44
61           46(x):     45(ptr) Variable Private
62              47: 12(int64_t) Constant 10 0
63         4(main):           2 Function None 3
64               5:             Label
65           11(a):     10(ptr) Variable Function
66           15(b):     10(ptr) Variable Function
67           18(c):     10(ptr) Variable Function
68           24(d):     10(ptr) Variable Function
69           26(e):     10(ptr) Variable Function
70           29(f):     10(ptr) Variable Function
71              14:      6(ptr) Bitcast 13
72                              Store 11(a) 14
73              17:      6(ptr) Bitcast 16
74                              Store 15(b) 17
75              21:      6(ptr) Load 11(a)
76              22:      6(ptr) Load 15(b)
77              23:      6(ptr) Select 20 21 22
78                              Store 18(c) 23
79              25:      6(ptr) Load 15(b)
80                              Store 24(d) 25
81              28:      6(ptr) Bitcast 27
82                              Store 26(e) 28
83              30:      6(ptr) Load 11(a)
84              33:     32(ptr) AccessChain 30 31
85              34:      8(int) Load 33 Aligned 4
86              36:    19(bool) INotEqual 34 35
87              38:      6(ptr) Bitcast 37
88              40:      6(ptr) Bitcast 39
89              41:      6(ptr) Select 36 38 40
90                              Store 29(f) 41
91                              Return
92                              FunctionEnd
93