Home | History | Annotate | Download | only in baseResults
      1 spv.bufferhandle2.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 45
      5 
      6                               Capability Shader
      7                               Capability CapabilityPhysicalStorageBufferAddressesEXT
      8                               Extension  "SPV_EXT_physical_storage_buffer"
      9                               Extension  "SPV_KHR_storage_buffer_storage_class"
     10                1:             ExtInstImport  "GLSL.std.450"
     11                               MemoryModel PhysicalStorageBuffer64EXT GLSL450
     12                               EntryPoint Fragment 4  "main"
     13                               ExecutionMode 4 OriginUpperLeft
     14                               Source GLSL 450
     15                               SourceExtension  "GL_EXT_buffer_reference"
     16                               Name 4  "main"
     17                               Name 8  "blockType"
     18                               MemberName 8(blockType) 0  "a"
     19                               MemberName 8(blockType) 1  "b"
     20                               MemberName 8(blockType) 2  "c"
     21                               MemberName 8(blockType) 3  "d"
     22                               MemberName 8(blockType) 4  "e"
     23                               Name 13  "b1"
     24                               Name 14  "t2"
     25                               MemberName 14(t2) 0  "f"
     26                               MemberName 14(t2) 1  "g"
     27                               Name 16  "t"
     28                               Name 34  "b2"
     29                               Name 37  "b3"
     30                               MemberDecorate 8(blockType) 0 Offset 0
     31                               MemberDecorate 8(blockType) 1 Offset 4
     32                               MemberDecorate 8(blockType) 2 Offset 8
     33                               MemberDecorate 8(blockType) 3 Offset 12
     34                               MemberDecorate 8(blockType) 4 Offset 16
     35                               Decorate 8(blockType) Block
     36                               Decorate 13(b1) DecorationAliasedPointerEXT
     37                               MemberDecorate 14(t2) 0 Offset 0
     38                               MemberDecorate 14(t2) 1 Offset 8
     39                               Decorate 14(t2) Block
     40                               Decorate 16(t) DescriptorSet 0
     41                               Decorate 16(t) Binding 0
     42                               Decorate 34(b2) DecorationAliasedPointerEXT
     43                               Decorate 37(b3) DecorationAliasedPointerEXT
     44                2:             TypeVoid
     45                3:             TypeFunction 2
     46                               TypeForwardPointer 6 PhysicalStorageBufferEXT
     47                7:             TypeInt 32 1
     48     8(blockType):             TypeStruct 7(int) 7(int) 7(int) 7(int) 7(int)
     49                6:             TypePointer PhysicalStorageBufferEXT 8(blockType)
     50                9:             TypeInt 32 0
     51               10:      9(int) Constant 2
     52               11:             TypeArray 6(ptr) 10
     53               12:             TypePointer Function 11
     54           14(t2):             TypeStruct 6(ptr) 6(ptr)
     55               15:             TypePointer StorageBuffer 14(t2)
     56            16(t):     15(ptr) Variable StorageBuffer
     57               17:      7(int) Constant 0
     58               18:             TypePointer StorageBuffer 6(ptr)
     59               21:      7(int) Constant 1
     60               25:             TypePointer Function 6(ptr)
     61               30:             TypePointer PhysicalStorageBufferEXT 7(int)
     62          4(main):           2 Function None 3
     63                5:             Label
     64           13(b1):     12(ptr) Variable Function
     65           34(b2):     25(ptr) Variable Function
     66           37(b3):     25(ptr) Variable Function
     67               19:     18(ptr) AccessChain 16(t) 17
     68               20:      6(ptr) Load 19
     69               22:     18(ptr) AccessChain 16(t) 21
     70               23:      6(ptr) Load 22
     71               24:          11 CompositeConstruct 20 23
     72                               Store 13(b1) 24
     73               26:     25(ptr) AccessChain 13(b1) 17
     74               27:      6(ptr) Load 26
     75               28:     25(ptr) AccessChain 13(b1) 21
     76               29:      6(ptr) Load 28
     77               31:     30(ptr) AccessChain 29 21
     78               32:      7(int) Load 31 Aligned 4
     79               33:     30(ptr) AccessChain 27 17
     80                               Store 33 32 Aligned 16
     81               35:     18(ptr) AccessChain 16(t) 17
     82               36:      6(ptr) Load 35
     83                               Store 34(b2) 36
     84               38:     18(ptr) AccessChain 16(t) 21
     85               39:      6(ptr) Load 38
     86                               Store 37(b3) 39
     87               40:      6(ptr) Load 34(b2)
     88               41:      6(ptr) Load 37(b3)
     89               42:     30(ptr) AccessChain 41 21
     90               43:      7(int) Load 42 Aligned 4
     91               44:     30(ptr) AccessChain 40 17
     92                               Store 44 43 Aligned 16
     93                               Return
     94                               FunctionEnd
     95