blob: 0f20e6683feade5a00f3b59c25cd857ab8c64af2 [file] [log] [blame]
John Kessenich39374da2015-05-15 21:32:46 +00001spv.varyingArray.frag
2WARNING: 0:3: varying deprecated in version 130; may be removed in future release
3WARNING: 0:4: varying deprecated in version 130; may be removed in future release
4WARNING: 0:6: varying deprecated in version 130; may be removed in future release
5WARNING: 0:8: varying deprecated in version 130; may be removed in future release
6
7
John Kessenich39374da2015-05-15 21:32:46 +00008Linked fragment stage:
9
10
John Kessenich39374da2015-05-15 21:32:46 +000011// Module Version 99
12// Generated by (magic number): 51a00bb
13// Id's are bound by 61
14
15 Source GLSL 130
16 1: ExtInstImport "GLSL.std.450"
17 MemoryModel Logical GLSL450
18 EntryPoint Fragment 4
19 Name 4 "main"
20 Name 10 "texColor"
21 Name 13 "texSampler2D"
22 Name 19 "gl_TexCoord"
23 Name 34 "color"
24 Name 39 "alpha"
25 Name 44 "gl_FragColor"
26 Name 48 "foo"
27 Decorate 19(gl_TexCoord) Smooth
28 Decorate 34(color) Smooth
29 Decorate 39(alpha) Smooth
30 Decorate 44(gl_FragColor) BuiltIn FragColor
31 Decorate 48(foo) Smooth
32 2: TypeVoid
33 3: TypeFunction 2
34 7: TypeFloat 32
35 8: TypeVector 7(float) 4
36 9: TypePointer Function 8(fvec4)
37 11: TypeSampler7(float) 2D filter+texture
38 12: TypePointer UniformConstant 11
3913(texSampler2D): 12(ptr) Variable UniformConstant
40 15: TypeInt 32 0
41 16: 15(int) Constant 6
42 17: TypeArray 8(fvec4) 16
43 18: TypePointer Input 17
44 19(gl_TexCoord): 18(ptr) Variable Input
45 20: TypeInt 32 1
46 21: 20(int) Constant 4
47 22: TypePointer Input 8(fvec4)
48 25: 20(int) Constant 5
49 29: TypeVector 7(float) 2
50 34(color): 22(ptr) Variable Input
51 38: TypePointer Input 7(float)
52 39(alpha): 38(ptr) Variable Input
53 43: TypePointer Output 8(fvec4)
5444(gl_FragColor): 43(ptr) Variable Output
55 45: 15(int) Constant 3
56 46: TypeArray 8(fvec4) 45
57 47: TypePointer Input 46
58 48(foo): 47(ptr) Variable Input
59 49: 20(int) Constant 1
60 52: 20(int) Constant 0
61 4(main): 2 Function None 3
62 5: Label
63 10(texColor): 9(ptr) Variable Function
64 14: 11 Load 13(texSampler2D)
65 23: 22(ptr) AccessChain 19(gl_TexCoord) 21
66 24: 8(fvec4) Load 23
67 26: 22(ptr) AccessChain 19(gl_TexCoord) 25
68 27: 8(fvec4) Load 26
69 28: 8(fvec4) FAdd 24 27
70 30: 7(float) CompositeExtract 28 0
71 31: 7(float) CompositeExtract 28 1
72 32: 29(fvec2) CompositeConstruct 30 31
73 33: 8(fvec4) TextureSample 14 32
74 Store 10(texColor) 33
75 35: 8(fvec4) Load 34(color)
76 36: 8(fvec4) Load 10(texColor)
77 37: 8(fvec4) FAdd 36 35
78 Store 10(texColor) 37
79 40: 7(float) Load 39(alpha)
80 41: 8(fvec4) Load 10(texColor)
81 42: 8(fvec4) CompositeInsert 40 41 3
82 Store 10(texColor) 42
83 50: 22(ptr) AccessChain 48(foo) 49
84 51: 8(fvec4) Load 50
85 53: 22(ptr) AccessChain 19(gl_TexCoord) 52
86 54: 8(fvec4) Load 53
87 55: 8(fvec4) FAdd 51 54
88 56: 22(ptr) AccessChain 19(gl_TexCoord) 21
89 57: 8(fvec4) Load 56
90 58: 8(fvec4) FAdd 55 57
91 59: 8(fvec4) Load 10(texColor)
92 60: 8(fvec4) FAdd 58 59
93 Store 44(gl_FragColor) 60
94 Branch 6
95 6: Label
96 Return
97 FunctionEnd