• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.460.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 32
5
6                              Capability Shader
7                              Capability AtomicStorage
8                              Capability AtomicStorageOps
9                              Extension  "SPV_KHR_shader_atomic_counter_ops"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint Fragment 4  "main"
13                              ExecutionMode 4 OriginLowerLeft
14                              Source GLSL 460
15                              Name 4  "main"
16                              Name 8  "aui"
17                              Name 10  "ui"
18                              Decorate 8(aui) Offset 0
19                              Decorate 8(aui) DescriptorSet 0
20                              Decorate 8(aui) Binding 0
21               2:             TypeVoid
22               3:             TypeFunction 2
23               6:             TypeInt 32 0
24               7:             TypePointer AtomicCounter 6(int)
25          8(aui):      7(ptr) Variable AtomicCounter
26               9:             TypePointer Private 6(int)
27          10(ui):      9(ptr) Variable Private
28              12:      6(int) Constant 1
29              13:      6(int) Constant 0
30         4(main):           2 Function None 3
31               5:             Label
32              11:      6(int) Load 10(ui)
33              14:      6(int) AtomicIAdd 8(aui) 12 13 11
34              15:      6(int) Load 10(ui)
35              16:      6(int) AtomicISub 8(aui) 12 13 15
36              17:      6(int) Load 10(ui)
37              18:      6(int) AtomicUMin 8(aui) 12 13 17
38              19:      6(int) Load 10(ui)
39              20:      6(int) AtomicUMax 8(aui) 12 13 19
40              21:      6(int) Load 10(ui)
41              22:      6(int) AtomicAnd 8(aui) 12 13 21
42              23:      6(int) Load 10(ui)
43              24:      6(int) AtomicOr 8(aui) 12 13 23
44              25:      6(int) Load 10(ui)
45              26:      6(int) AtomicXor 8(aui) 12 13 25
46              27:      6(int) Load 10(ui)
47              28:      6(int) AtomicExchange 8(aui) 12 13 27
48              29:      6(int) Load 10(ui)
49              30:      6(int) Load 10(ui)
50              31:      6(int) AtomicCompareExchange 8(aui) 12 13 13 30 29
51                              Return
52                              FunctionEnd
53