Check for linking multiple ES shaders to the same stage
[platform/upstream/glslang.git] / Test / baseResults / link1.frag.out
1 link1.frag
2 Shader version: 130
3 0:? Sequence
4 0:8  Sequence
5 0:8    move second child to first child (temp 4-component vector of float)
6 0:8      'a' (global 4-component vector of float)
7 0:8      vector-scale (temp 4-component vector of float)
8 0:8        Constant:
9 0:8          8.000000
10 0:8        'uv4' (uniform 4-component vector of float)
11 0:13  Function Definition: main( (global void)
12 0:13    Function Parameters: 
13 0:17  Sequence
14 0:17    move second child to first child (temp 4-component vector of float)
15 0:17      'b' (global 4-component vector of float)
16 0:17      vector-scale (temp 4-component vector of float)
17 0:17        Constant:
18 0:17          8.000000
19 0:17        'a' (global 4-component vector of float)
20 0:19  Function Definition: foo(mf22; (global 2-component vector of int)
21 0:19    Function Parameters: 
22 0:19      'm' (in 2X2 matrix of float)
23 0:21    Sequence
24 0:21      Branch: Return with expression
25 0:21        Convert float to int (temp 2-component vector of int)
26 0:21          direct index (temp 2-component vector of float)
27 0:21            'm' (in 2X2 matrix of float)
28 0:21            Constant:
29 0:21              0 (const int)
30 0:24  Sequence
31 0:24    move second child to first child (temp 4-component vector of float)
32 0:24      'c' (global 4-component vector of float)
33 0:24      component-wise multiply (temp 4-component vector of float)
34 0:24        'b' (global 4-component vector of float)
35 0:24        'b' (global 4-component vector of float)
36 0:?   Linker Objects
37 0:?     'uv4' (uniform 4-component vector of float)
38 0:?     'glass' (uniform 3-component vector of float)
39 0:?     'ci' (const int)
40 0:?       8 (const int)
41 0:?     'a' (global 4-component vector of float)
42 0:?     'iv3' (smooth in 3-component vector of float)
43 0:?     'cup' (smooth in 4-component vector of float)
44 0:?     'b' (global 4-component vector of float)
45 0:?     'c' (global 4-component vector of float)
46 0:?     'cv3' (const 3-component vector of float)
47 0:?       43.000000
48 0:?       0.340000
49 0:?       9.900000
50 0:?     'cv3n' (const 3-component vector of float)
51 0:?       43.000000
52 0:?       0.340000
53 0:?       9.900000
54 0:?     'cv3e' (const 3-component vector of float)
55 0:?       43.000000
56 0:?       0.340000
57 0:?       9.900000
58 0:?     'um2' (uniform 2X2 matrix of float)
59 0:?       4.000000
60 0:?       0.000000
61 0:?       0.000000
62 0:?       4.000000
63 0:?     'um2n' (uniform 2X2 matrix of float)
64 0:?       4.000000
65 0:?       0.000000
66 0:?       0.000000
67 0:?       4.000000
68 0:?     'um2e' (uniform 2X2 matrix of float)
69 0:?       4.000000
70 0:?       0.000000
71 0:?       0.000000
72 0:?       4.000000
73 0:?     's' (uniform structure{global int a, global float b})
74 0:?       82 (const int)
75 0:?       3.900000
76 0:?     'sn' (uniform structure{global int a, global float b})
77 0:?     'se' (uniform structure{global int a, global float b})
78 0:?       82 (const int)
79 0:?       3.900000
80
81 link2.frag
82 Shader version: 130
83 Requested GL_OES_standard_derivatives
84 Requested GL_OES_texture_3D
85 0:? Sequence
86 0:8  Sequence
87 0:8    move second child to first child (temp 4-component vector of float)
88 0:8      'd' (global 4-component vector of float)
89 0:8      vector-scale (temp 4-component vector of float)
90 0:8        Constant:
91 0:8          8.000000
92 0:8        'uv4' (uniform 4-component vector of float)
93 0:13  Sequence
94 0:13    move second child to first child (temp 4-component vector of float)
95 0:13      'e' (global 4-component vector of float)
96 0:13      vector-scale (temp 4-component vector of float)
97 0:13        Constant:
98 0:13          8.000000
99 0:13        'd' (global 4-component vector of float)
100 0:15  Function Definition: foo( (global 2-component vector of int)
101 0:15    Function Parameters: 
102 0:17    Sequence
103 0:17      Branch: Return with expression
104 0:17        Constant:
105 0:17          2 (const int)
106 0:17          2 (const int)
107 0:20  Sequence
108 0:20    move second child to first child (temp 4-component vector of float)
109 0:20      'f' (global 4-component vector of float)
110 0:20      component-wise multiply (temp 4-component vector of float)
111 0:20        'e' (global 4-component vector of float)
112 0:20        'e' (global 4-component vector of float)
113 0:?   Linker Objects
114 0:?     'uv4' (uniform 4-component vector of float)
115 0:?     'glass' (uniform 2-component vector of float)
116 0:?     'ci' (const int)
117 0:?       8 (const int)
118 0:?     'd' (global 4-component vector of float)
119 0:?     'iv3' (smooth in 3-component vector of float)
120 0:?     'cup' (flat in 4-component vector of float)
121 0:?     'e' (global 4-component vector of float)
122 0:?     'f' (global 4-component vector of float)
123 0:?     'cv3' (const 3-component vector of float)
124 0:?       43.000000
125 0:?       0.340000
126 0:?       9.900000
127 0:?     'cv3e' (const 3-component vector of float)
128 0:?       43.000000
129 0:?       0.340000
130 0:?       2.900000
131 0:?     'um2' (uniform 2X2 matrix of float)
132 0:?       4.000000
133 0:?       0.000000
134 0:?       0.000000
135 0:?       4.000000
136 0:?     'um2n' (uniform 2X2 matrix of float)
137 0:?     'um2e' (uniform 2X2 matrix of float)
138 0:?       3.000000
139 0:?       0.000000
140 0:?       0.000000
141 0:?       3.000000
142 0:?     's' (uniform structure{global int a, global float b})
143 0:?       82 (const int)
144 0:?       3.900000
145 0:?     'sn' (uniform structure{global int a, global float b})
146 0:?       82 (const int)
147 0:?       3.900000
148 0:?     'se' (uniform structure{global int a, global float b})
149 0:?       81 (const int)
150 0:?       3.900000
151
152 link3.frag
153 Shader version: 300
154 Requested GL_OES_EGL_image_external
155 Requested GL_OES_standard_derivatives
156 Requested GL_OES_texture_3D
157 0:? Sequence
158 0:?   Linker Objects
159 0:?     'iv3' (smooth in highp 2-component vector of float)
160
161 ERROR: Cannot mix ES profile with non-ES profile shaders
162