Home | History | Annotate | Download | only in baseResults
      1 spv.bufferhandle10.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 34
      5 
      6                               Capability Shader
      7                               Capability CapabilityVulkanMemoryModelKHR
      8                               Capability CapabilityPhysicalStorageBufferAddressesEXT
      9                               Extension  "SPV_EXT_physical_storage_buffer"
     10                               Extension  "SPV_KHR_storage_buffer_storage_class"
     11                               Extension  "SPV_KHR_vulkan_memory_model"
     12                1:             ExtInstImport  "GLSL.std.450"
     13                               MemoryModel PhysicalStorageBuffer64EXT VulkanKHR
     14                               EntryPoint Fragment 4  "main" 19
     15                               ExecutionMode 4 OriginUpperLeft
     16                               Source GLSL 450
     17                               SourceExtension  "GL_ARB_gpu_shader_int64"
     18                               SourceExtension  "GL_EXT_buffer_reference"
     19                               Name 4  "main"
     20                               Name 7  "t2"
     21                               MemberName 7(t2) 0  "f"
     22                               Name 10  "blockType"
     23                               MemberName 10(blockType) 0  "x"
     24                               Name 12  "t"
     25                               Name 19  "i"
     26                               Name 28  "b"
     27                               MemberDecorate 7(t2) 0 Offset 0
     28                               Decorate 7(t2) Block
     29                               Decorate 9 ArrayStride 4
     30                               MemberDecorate 10(blockType) 0 Offset 0
     31                               Decorate 10(blockType) Block
     32                               Decorate 12(t) DescriptorSet 0
     33                               Decorate 12(t) Binding 0
     34                               Decorate 19(i) Flat
     35                               Decorate 19(i) Location 0
     36                               Decorate 28(b) DecorationAliasedPointerEXT
     37                2:             TypeVoid
     38                3:             TypeFunction 2
     39                               TypeForwardPointer 6 PhysicalStorageBufferEXT
     40            7(t2):             TypeStruct 6
     41                8:             TypeInt 32 0
     42                9:             TypeRuntimeArray 8(int)
     43    10(blockType):             TypeStruct 9
     44                6:             TypePointer PhysicalStorageBufferEXT 10(blockType)
     45               11:             TypePointer StorageBuffer 7(t2)
     46            12(t):     11(ptr) Variable StorageBuffer
     47               13:             TypeInt 32 1
     48               14:     13(int) Constant 0
     49               15:             TypePointer StorageBuffer 6(ptr)
     50               18:             TypePointer Input 8(int)
     51            19(i):     18(ptr) Variable Input
     52               21:             TypePointer PhysicalStorageBufferEXT 8(int)
     53               23:      8(int) Constant 1
     54               24:      8(int) Constant 5
     55               25:      8(int) Constant 0
     56               27:             TypePointer Function 6(ptr)
     57               32:      8(int) Constant 2
     58          4(main):           2 Function None 3
     59                5:             Label
     60            28(b):     27(ptr) Variable Function
     61               16:     15(ptr) AccessChain 12(t) 14
     62               17:      6(ptr) Load 16
     63               20:      8(int) Load 19(i)
     64               22:     21(ptr) AccessChain 17 14 20
     65               26:      8(int) AtomicIAdd 22 24 25 23
     66               29:     15(ptr) AccessChain 12(t) 14
     67               30:      6(ptr) Load 29
     68                               Store 28(b) 30
     69               31:      6(ptr) Load 28(b)
     70               33:     21(ptr) AccessChain 31 14 14
     71                               Store 33 32 Aligned MakePointerAvailableKHR NonPrivatePointerKHR 4 24
     72                               Return
     73                               FunctionEnd
     74