• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.varyingArrayIndirect.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 70
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 19 22 30 31 45 50 56
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 140
12                              Name 4  "main"
13                              Name 9  "texColor"
14                              Name 13  "texSampler2D"
15                              Name 19  "userIn"
16                              Name 22  "b"
17                              Name 30  "TexCoord"
18                              Name 31  "a"
19                              Name 45  "color"
20                              Name 50  "alpha"
21                              Name 56  "gl_FragColor"
22                              Decorate 13(texSampler2D) DescriptorSet 0
23                              Decorate 13(texSampler2D) Binding 0
24                              Decorate 22(b) Flat
25                              Decorate 31(a) Flat
26                              Decorate 56(gl_FragColor) Location 0
27               2:             TypeVoid
28               3:             TypeFunction 2
29               6:             TypeFloat 32
30               7:             TypeVector 6(float) 4
31               8:             TypePointer Function 7(fvec4)
32              10:             TypeImage 6(float) 2D sampled format:Unknown
33              11:             TypeSampledImage 10
34              12:             TypePointer UniformConstant 11
3513(texSampler2D):     12(ptr) Variable UniformConstant
36              15:             TypeInt 32 0
37              16:     15(int) Constant 2
38              17:             TypeArray 7(fvec4) 16
39              18:             TypePointer Input 17
40      19(userIn):     18(ptr) Variable Input
41              20:             TypeInt 32 1
42              21:             TypePointer Input 20(int)
43           22(b):     21(ptr) Variable Input
44              24:             TypePointer Input 7(fvec4)
45              27:     15(int) Constant 6
46              28:             TypeArray 7(fvec4) 27
47              29:             TypePointer Input 28
48    30(TexCoord):     29(ptr) Variable Input
49           31(a):     21(ptr) Variable Input
50              36:     20(int) Constant 5
51              40:             TypeVector 6(float) 2
52       45(color):     24(ptr) Variable Input
53              49:             TypePointer Input 6(float)
54       50(alpha):     49(ptr) Variable Input
55              52:     15(int) Constant 3
56              53:             TypePointer Function 6(float)
57              55:             TypePointer Output 7(fvec4)
5856(gl_FragColor):     55(ptr) Variable Output
59              57:     20(int) Constant 0
60         4(main):           2 Function None 3
61               5:             Label
62     9(texColor):      8(ptr) Variable Function
63              14:          11 Load 13(texSampler2D)
64              23:     20(int) Load 22(b)
65              25:     24(ptr) AccessChain 19(userIn) 23
66              26:    7(fvec4) Load 25
67              32:     20(int) Load 31(a)
68              33:     24(ptr) AccessChain 30(TexCoord) 32
69              34:    7(fvec4) Load 33
70              35:    7(fvec4) FAdd 26 34
71              37:     24(ptr) AccessChain 30(TexCoord) 36
72              38:    7(fvec4) Load 37
73              39:    7(fvec4) FAdd 35 38
74              41:    6(float) CompositeExtract 39 0
75              42:    6(float) CompositeExtract 39 1
76              43:   40(fvec2) CompositeConstruct 41 42
77              44:    7(fvec4) ImageSampleImplicitLod 14 43
78                              Store 9(texColor) 44
79              46:    7(fvec4) Load 45(color)
80              47:    7(fvec4) Load 9(texColor)
81              48:    7(fvec4) FAdd 47 46
82                              Store 9(texColor) 48
83              51:    6(float) Load 50(alpha)
84              54:     53(ptr) AccessChain 9(texColor) 52
85                              Store 54 51
86              58:     24(ptr) AccessChain 30(TexCoord) 57
87              59:    7(fvec4) Load 58
88              60:     20(int) Load 22(b)
89              61:     24(ptr) AccessChain 30(TexCoord) 60
90              62:    7(fvec4) Load 61
91              63:    7(fvec4) FAdd 59 62
92              64:    7(fvec4) Load 9(texColor)
93              65:    7(fvec4) FAdd 63 64
94              66:     20(int) Load 31(a)
95              67:     24(ptr) AccessChain 19(userIn) 66
96              68:    7(fvec4) Load 67
97              69:    7(fvec4) FAdd 65 68
98                              Store 56(gl_FragColor) 69
99                              Return
100                              FunctionEnd
101