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