Home | History | Annotate | Download | only in baseResults
      1 spv.bufferhandle5.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 22
      5 
      6                               Capability Shader
      7                               Capability CapabilityPhysicalStorageBufferAddressesEXT
      8                               Extension  "SPV_EXT_physical_storage_buffer"
      9                1:             ExtInstImport  "GLSL.std.450"
     10                               MemoryModel PhysicalStorageBuffer64EXT GLSL450
     11                               EntryPoint Fragment 4  "main"
     12                               ExecutionMode 4 OriginUpperLeft
     13                               Source GLSL 450
     14                               SourceExtension  "GL_EXT_buffer_reference"
     15                               Name 4  "main"
     16                               Name 8  "t4"
     17                               MemberName 8(t4) 0  "j"
     18                               MemberName 8(t4) 1  "k"
     19                               Name 9  "t3"
     20                               MemberName 9(t3) 0  "h"
     21                               Name 11  "x"
     22                               MemberDecorate 8(t4) 0 Offset 0
     23                               MemberDecorate 8(t4) 1 Offset 8
     24                               Decorate 8(t4) Block
     25                               MemberDecorate 9(t3) 0 Offset 0
     26                               Decorate 9(t3) Block
     27                               Decorate 11(x) DescriptorSet 1
     28                               Decorate 11(x) Binding 2
     29                2:             TypeVoid
     30                3:             TypeFunction 2
     31                6:             TypeInt 32 1
     32                               TypeForwardPointer 7 PhysicalStorageBufferEXT
     33            8(t4):             TypeStruct 6(int) 7
     34            9(t3):             TypeStruct 6(int)
     35                7:             TypePointer PhysicalStorageBufferEXT 9(t3)
     36               10:             TypePointer Uniform 8(t4)
     37            11(x):     10(ptr) Variable Uniform
     38               12:      6(int) Constant 1
     39               13:             TypePointer Uniform 7(ptr)
     40               16:      6(int) Constant 0
     41               17:             TypePointer Uniform 6(int)
     42               20:             TypePointer PhysicalStorageBufferEXT 6(int)
     43          4(main):           2 Function None 3
     44                5:             Label
     45               14:     13(ptr) AccessChain 11(x) 12
     46               15:      7(ptr) Load 14
     47               18:     17(ptr) AccessChain 11(x) 16
     48               19:      6(int) Load 18
     49               21:     20(ptr) AccessChain 15 16
     50                               Store 21 19 Aligned 16
     51                               Return
     52                               FunctionEnd
     53