Home | History | Annotate | Download | only in baseResults
      1 spv.deviceGroup.frag
      2 // Module Version 10300
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 17
      5 
      6                               Capability Shader
      7                               Capability DeviceGroup
      8                1:             ExtInstImport  "GLSL.std.450"
      9                               MemoryModel Logical GLSL450
     10                               EntryPoint Fragment 4  "main" 9 12
     11                               ExecutionMode 4 OriginUpperLeft
     12                               Source GLSL 450
     13                               SourceExtension  "GL_EXT_device_group"
     14                               Name 4  "main"
     15                               Name 9  "color"
     16                               Name 12  "gl_DeviceIndex"
     17                               Decorate 12(gl_DeviceIndex) Flat
     18                               Decorate 12(gl_DeviceIndex) BuiltIn DeviceIndex
     19                2:             TypeVoid
     20                3:             TypeFunction 2
     21                6:             TypeFloat 32
     22                7:             TypeVector 6(float) 4
     23                8:             TypePointer Output 7(fvec4)
     24         9(color):      8(ptr) Variable Output
     25               10:             TypeInt 32 1
     26               11:             TypePointer Input 10(int)
     27 12(gl_DeviceIndex):     11(ptr) Variable Input
     28               15:    6(float) Constant 0
     29          4(main):           2 Function None 3
     30                5:             Label
     31               13:     10(int) Load 12(gl_DeviceIndex)
     32               14:    6(float) ConvertSToF 13
     33               16:    7(fvec4) CompositeConstruct 14 15 15 15
     34                               Store 9(color) 16
     35                               Return
     36                               FunctionEnd
     37