Home | History | Annotate | Download | only in baseResults
      1 spv.bufferhandle13.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 58
      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"
     15                               ExecutionMode 4 OriginUpperLeft
     16                               Source GLSL 450
     17                               SourceExtension  "GL_EXT_buffer_reference"
     18                               Name 4  "main"
     19                               Name 8  "t4"
     20                               MemberName 8(t4) 0  "j"
     21                               Name 11  "f1(1;"
     22                               Name 10  "y"
     23                               Name 16  "f2(1;"
     24                               Name 15  "y"
     25                               Name 19  "f3(1;"
     26                               Name 18  "y"
     27                               Name 22  "f4(1;"
     28                               Name 21  "y"
     29                               Name 34  "a"
     30                               Name 35  "t5"
     31                               MemberName 35(t5) 0  "m"
     32                               Name 37  "s5"
     33                               Name 42  "b"
     34                               Name 47  "param"
     35                               Name 52  "param"
     36                               Name 56  "g1"
     37                               Name 57  "g2"
     38                               MemberDecorate 8(t4) 0 Offset 0
     39                               Decorate 8(t4) Block
     40                               Decorate 10(y) Aliased
     41                               Decorate 15(y) DecorationAliasedPointerEXT
     42                               Decorate 18(y) Restrict
     43                               Decorate 18(y) Restrict
     44                               Decorate 21(y) Restrict
     45                               Decorate 21(y) DecorationRestrictPointerEXT
     46                               Decorate 34(a) DecorationAliasedPointerEXT
     47                               MemberDecorate 35(t5) 0 Offset 0
     48                               Decorate 35(t5) Block
     49                               Decorate 37(s5) DescriptorSet 0
     50                               Decorate 37(s5) Binding 0
     51                               Decorate 42(b) DecorationRestrictPointerEXT
     52                               Decorate 56(g1) DecorationAliasedPointerEXT
     53                               Decorate 57(g2) DecorationRestrictPointerEXT
     54                               Decorate 47(param) DecorationAliasedPointerEXT
     55                               Decorate 52(param) DecorationAliasedPointerEXT
     56                2:             TypeVoid
     57                3:             TypeFunction 2
     58                               TypeForwardPointer 6 PhysicalStorageBufferEXT
     59                7:             TypeInt 32 1
     60            8(t4):             TypeStruct 7(int)
     61                6:             TypePointer PhysicalStorageBufferEXT 8(t4)
     62                9:             TypeFunction 6(ptr) 6(ptr)
     63               13:             TypePointer Function 6(ptr)
     64               14:             TypeFunction 6(ptr) 13(ptr)
     65           35(t5):             TypeStruct 6(ptr)
     66               36:             TypePointer StorageBuffer 35(t5)
     67           37(s5):     36(ptr) Variable StorageBuffer
     68               38:      7(int) Constant 0
     69               39:             TypePointer StorageBuffer 6(ptr)
     70               55:             TypePointer Private 6(ptr)
     71           56(g1):     55(ptr) Variable Private
     72          4(main):           2 Function None 3
     73                5:             Label
     74            34(a):     13(ptr) Variable Function
     75            42(b):     13(ptr) Variable Function
     76        47(param):     13(ptr) Variable Function
     77        52(param):     13(ptr) Variable Function
     78           57(g2):     13(ptr) Variable Function
     79               40:     39(ptr) AccessChain 37(s5) 38
     80               41:      6(ptr) Load 40
     81                               Store 34(a) 41
     82               43:     39(ptr) AccessChain 37(s5) 38
     83               44:      6(ptr) Load 43
     84                               Store 42(b) 44
     85               45:      6(ptr) Load 34(a)
     86               46:      6(ptr) FunctionCall 11(f1(1;) 45
     87               48:      6(ptr) Load 34(a)
     88                               Store 47(param) 48
     89               49:      6(ptr) FunctionCall 16(f2(1;) 47(param)
     90               50:      6(ptr) Load 34(a)
     91               51:      6(ptr) FunctionCall 19(f3(1;) 50
     92               53:      6(ptr) Load 34(a)
     93                               Store 52(param) 53
     94               54:      6(ptr) FunctionCall 22(f4(1;) 52(param)
     95                               Return
     96                               FunctionEnd
     97        11(f1(1;):      6(ptr) Function None 9
     98            10(y):      6(ptr) FunctionParameter
     99               12:             Label
    100                               ReturnValue 10(y)
    101                               FunctionEnd
    102        16(f2(1;):      6(ptr) Function None 14
    103            15(y):     13(ptr) FunctionParameter
    104               17:             Label
    105               26:      6(ptr) Load 15(y)
    106                               ReturnValue 26
    107                               FunctionEnd
    108        19(f3(1;):      6(ptr) Function None 9
    109            18(y):      6(ptr) FunctionParameter
    110               20:             Label
    111                               ReturnValue 18(y)
    112                               FunctionEnd
    113        22(f4(1;):      6(ptr) Function None 14
    114            21(y):     13(ptr) FunctionParameter
    115               23:             Label
    116               31:      6(ptr) Load 21(y)
    117                               ReturnValue 31
    118                               FunctionEnd
    119