• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.atomicStoreInt64.comp
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 25
5
6                              Capability Shader
7                              Capability Int64
8                              Capability Int64Atomics
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint GLCompute 4  "main"
12                              ExecutionMode 4 LocalSize 1 1 1
13                              Source GLSL 450
14                              SourceExtension  "GL_EXT_shader_atomic_int64"
15                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int64"
16                              SourceExtension  "GL_KHR_memory_scope_semantics"
17                              Name 4  "main"
18                              Name 7  "ssbo"
19                              MemberName 7(ssbo) 0  "y"
20                              Name 9  ""
21                              Name 14  "ubo"
22                              MemberName 14(ubo) 0  "z"
23                              Name 16  ""
24                              MemberDecorate 7(ssbo) 0 Offset 0
25                              Decorate 7(ssbo) BufferBlock
26                              Decorate 9 DescriptorSet 0
27                              Decorate 9 Binding 0
28                              MemberDecorate 14(ubo) 0 Offset 0
29                              Decorate 14(ubo) Block
30                              Decorate 16 DescriptorSet 0
31                              Decorate 16 Binding 1
32               2:             TypeVoid
33               3:             TypeFunction 2
34               6:             TypeInt 64 0
35         7(ssbo):             TypeStruct 6(int64_t)
36               8:             TypePointer Uniform 7(ssbo)
37               9:      8(ptr) Variable Uniform
38              10:             TypeInt 32 1
39              11:     10(int) Constant 0
40              12:             TypePointer Uniform 6(int64_t)
41         14(ubo):             TypeStruct 6(int64_t)
42              15:             TypePointer Uniform 14(ubo)
43              16:     15(ptr) Variable Uniform
44              19:     10(int) Constant 1
45              20:     10(int) Constant 64
46              21:             TypeInt 32 0
47              22:     21(int) Constant 1
48              23:     21(int) Constant 0
49              24:     21(int) Constant 64
50         4(main):           2 Function None 3
51               5:             Label
52              13:     12(ptr) AccessChain 9 11
53              17:     12(ptr) AccessChain 16 11
54              18:  6(int64_t) Load 17
55                              AtomicStore 13 19 24 18
56                              Return
57                              FunctionEnd
58