Lines Matching refs:vec
118 float vec[4],
127 /* vec should either be (0, 0, 0, 1), which should be a relatively safe
136 vec[0] = 1.0 / tex->tex.width0;
137 vec[1] = 1.0 / tex->tex.height0;
138 vec[2] = 0;
139 vec[3] = 1;
145 vec[0] = tex->b.width0 / (tex->tex.width0 + 0.001f);
146 vec[1] = tex->b.height0 / (tex->tex.height0 + 0.001f);
147 vec[2] = tex->b.depth0 / (tex->tex.depth0 + 0.001f);
148 vec[3] = 1;
152 vec[0] = r300->viewport.scale[0];
153 vec[1] = r300->viewport.scale[1];
154 vec[2] = r300->viewport.scale[2];
155 vec[3] = 1;
159 vec[0] = r300->viewport.translate[0];
160 vec[1] = r300->viewport.translate[1];
161 vec[2] = r300->viewport.translate[2];
162 vec[3] = 1;
168 vec[0] = 0;
169 vec[1] = 0;
170 vec[2] = 0;
171 vec[3] = 1;