blob: 54c37639cc4639cff52159dd7ad31f3c53843702 [file] [log] [blame]
spv.varyingArrayIndirect.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release
WARNING: 0:8: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
// Module Version 99
// Generated by (magic number): 51a00bb
// Id's are bound by 69
Source GLSL 130
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4
Name 4 "main"
Name 10 "texColor"
Name 13 "texSampler2D"
Name 19 "userIn"
Name 22 "b"
Name 30 "gl_TexCoord"
Name 31 "a"
Name 45 "color"
Name 50 "alpha"
Name 55 "gl_FragColor"
Decorate 19(userIn) Smooth
Decorate 30(gl_TexCoord) Smooth
Decorate 45(color) Smooth
Decorate 50(alpha) Smooth
Decorate 55(gl_FragColor) BuiltIn FragColor
2: TypeVoid
3: TypeFunction 2
7: TypeFloat 32
8: TypeVector 7(float) 4
9: TypePointer Function 8(fvec4)
11: TypeSampler7(float) 2D filter+texture
12: TypePointer UniformConstant 11
13(texSampler2D): 12(ptr) Variable UniformConstant
15: TypeInt 32 0
16: 15(int) Constant 2
17: TypeArray 8(fvec4) 16
18: TypePointer Input 17
19(userIn): 18(ptr) Variable Input
20: TypeInt 32 1
21: TypePointer UniformConstant 20(int)
22(b): 21(ptr) Variable UniformConstant
24: TypePointer Input 8(fvec4)
27: 15(int) Constant 6
28: TypeArray 8(fvec4) 27
29: TypePointer Input 28
30(gl_TexCoord): 29(ptr) Variable Input
31(a): 21(ptr) Variable UniformConstant
36: 20(int) Constant 5
40: TypeVector 7(float) 2
45(color): 24(ptr) Variable Input
49: TypePointer Input 7(float)
50(alpha): 49(ptr) Variable Input
54: TypePointer Output 8(fvec4)
55(gl_FragColor): 54(ptr) Variable Output
56: 20(int) Constant 0
4(main): 2 Function None 3
5: Label
10(texColor): 9(ptr) Variable Function
14: 11 Load 13(texSampler2D)
23: 20(int) Load 22(b)
25: 24(ptr) AccessChain 19(userIn) 23
26: 8(fvec4) Load 25
32: 20(int) Load 31(a)
33: 24(ptr) AccessChain 30(gl_TexCoord) 32
34: 8(fvec4) Load 33
35: 8(fvec4) FAdd 26 34
37: 24(ptr) AccessChain 30(gl_TexCoord) 36
38: 8(fvec4) Load 37
39: 8(fvec4) FAdd 35 38
41: 7(float) CompositeExtract 39 0
42: 7(float) CompositeExtract 39 1
43: 40(fvec2) CompositeConstruct 41 42
44: 8(fvec4) TextureSample 14 43
Store 10(texColor) 44
46: 8(fvec4) Load 45(color)
47: 8(fvec4) Load 10(texColor)
48: 8(fvec4) FAdd 47 46
Store 10(texColor) 48
51: 7(float) Load 50(alpha)
52: 8(fvec4) Load 10(texColor)
53: 8(fvec4) CompositeInsert 51 52 3
Store 10(texColor) 53
57: 24(ptr) AccessChain 30(gl_TexCoord) 56
58: 8(fvec4) Load 57
59: 20(int) Load 22(b)
60: 24(ptr) AccessChain 30(gl_TexCoord) 59
61: 8(fvec4) Load 60
62: 8(fvec4) FAdd 58 61
63: 8(fvec4) Load 10(texColor)
64: 8(fvec4) FAdd 62 63
65: 20(int) Load 31(a)
66: 24(ptr) AccessChain 19(userIn) 65
67: 8(fvec4) Load 66
68: 8(fvec4) FAdd 64 67
Store 55(gl_FragColor) 68
Branch 6
6: Label
Return
FunctionEnd