• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.deviceGroup.frag
2// Module Version 10300
3// Generated by (magic number): 8000a
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 9(color) Location 0
18                              Decorate 12(gl_DeviceIndex) Flat
19                              Decorate 12(gl_DeviceIndex) BuiltIn DeviceIndex
20               2:             TypeVoid
21               3:             TypeFunction 2
22               6:             TypeFloat 32
23               7:             TypeVector 6(float) 4
24               8:             TypePointer Output 7(fvec4)
25        9(color):      8(ptr) Variable Output
26              10:             TypeInt 32 1
27              11:             TypePointer Input 10(int)
2812(gl_DeviceIndex):     11(ptr) Variable Input
29              15:    6(float) Constant 0
30         4(main):           2 Function None 3
31               5:             Label
32              13:     10(int) Load 12(gl_DeviceIndex)
33              14:    6(float) ConvertSToF 13
34              16:    7(fvec4) CompositeConstruct 14 15 15 15
35                              Store 9(color) 16
36                              Return
37                              FunctionEnd
38