• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.430.frag
2// Module Version 10000
3// Generated by (magic number): 80007
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 14(gl_Layer) Flat
19                              Decorate 14(gl_Layer) BuiltIn Layer
20                              Decorate 19(gl_ViewportIndex) Flat
21                              Decorate 19(gl_ViewportIndex) BuiltIn ViewportIndex
22               2:             TypeVoid
23               3:             TypeFunction 2
24               6:             TypeFloat 32
25               7:             TypeVector 6(float) 4
26               8:             TypePointer Output 7(fvec4)
27        9(color):      8(ptr) Variable Output
28              10:    6(float) Constant 1065353216
29              11:    7(fvec4) ConstantComposite 10 10 10 10
30              12:             TypeInt 32 1
31              13:             TypePointer Input 12(int)
32    14(gl_Layer):     13(ptr) Variable Input
3319(gl_ViewportIndex):     13(ptr) Variable Input
34         4(main):           2 Function None 3
35               5:             Label
36                              Store 9(color) 11
37              15:     12(int) Load 14(gl_Layer)
38              16:    6(float) ConvertSToF 15
39              17:    7(fvec4) Load 9(color)
40              18:    7(fvec4) VectorTimesScalar 17 16
41                              Store 9(color) 18
42              20:     12(int) Load 19(gl_ViewportIndex)
43              21:    6(float) ConvertSToF 20
44              22:    7(fvec4) Load 9(color)
45              23:    7(fvec4) VectorTimesScalar 22 21
46                              Store 9(color) 23
47                              Return
48                              FunctionEnd
49