Home | History | Annotate | Download | only in baseResults
      1 spv.460.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      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) Binding 0
     20                2:             TypeVoid
     21                3:             TypeFunction 2
     22                6:             TypeInt 32 0
     23                7:             TypePointer AtomicCounter 6(int)
     24           8(aui):      7(ptr) Variable AtomicCounter
     25                9:             TypePointer Private 6(int)
     26           10(ui):      9(ptr) Variable Private
     27               12:      6(int) Constant 1
     28               13:      6(int) Constant 0
     29          4(main):           2 Function None 3
     30                5:             Label
     31               11:      6(int) Load 10(ui)
     32               14:      6(int) AtomicIAdd 8(aui) 12 13 11
     33               15:      6(int) Load 10(ui)
     34               16:      6(int) AtomicISub 8(aui) 12 13 15
     35               17:      6(int) Load 10(ui)
     36               18:      6(int) AtomicUMin 8(aui) 12 13 17
     37               19:      6(int) Load 10(ui)
     38               20:      6(int) AtomicUMax 8(aui) 12 13 19
     39               21:      6(int) Load 10(ui)
     40               22:      6(int) AtomicAnd 8(aui) 12 13 21
     41               23:      6(int) Load 10(ui)
     42               24:      6(int) AtomicOr 8(aui) 12 13 23
     43               25:      6(int) Load 10(ui)
     44               26:      6(int) AtomicXor 8(aui) 12 13 25
     45               27:      6(int) Load 10(ui)
     46               28:      6(int) AtomicExchange 8(aui) 12 13 27
     47               29:      6(int) Load 10(ui)
     48               30:      6(int) Load 10(ui)
     49               31:      6(int) AtomicCompareExchange 8(aui) 12 13 13 30 29
     50                               Return
     51                               FunctionEnd
     52