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