1spv.430.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 24
5
6                              Capability Shader
7                              Capability Geometry
8                              Capability MultiViewport
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 9 14 19
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 430
14                              Name 4  "main"
15                              Name 9  "color"
16                              Name 14  "gl_Layer"
17                              Name 19  "gl_ViewportIndex"
18                              Decorate 9(color) Location 0
19                              Decorate 14(gl_Layer) Flat
20                              Decorate 14(gl_Layer) BuiltIn Layer
21                              Decorate 19(gl_ViewportIndex) Flat
22                              Decorate 19(gl_ViewportIndex) BuiltIn ViewportIndex
23               2:             TypeVoid
24               3:             TypeFunction 2
25               6:             TypeFloat 32
26               7:             TypeVector 6(float) 4
27               8:             TypePointer Output 7(fvec4)
28        9(color):      8(ptr) Variable Output
29              10:    6(float) Constant 1065353216
30              11:    7(fvec4) ConstantComposite 10 10 10 10
31              12:             TypeInt 32 1
32              13:             TypePointer Input 12(int)
33    14(gl_Layer):     13(ptr) Variable Input
3419(gl_ViewportIndex):     13(ptr) Variable Input
35         4(main):           2 Function None 3
36               5:             Label
37                              Store 9(color) 11
38              15:     12(int) Load 14(gl_Layer)
39              16:    6(float) ConvertSToF 15
40              17:    7(fvec4) Load 9(color)
41              18:    7(fvec4) VectorTimesScalar 17 16
42                              Store 9(color) 18
43              20:     12(int) Load 19(gl_ViewportIndex)
44              21:    6(float) ConvertSToF 20
45              22:    7(fvec4) Load 9(color)
46              23:    7(fvec4) VectorTimesScalar 22 21
47                              Store 9(color) 23
48                              Return
49                              FunctionEnd
50