Home | History | Annotate | Download | only in tnl

Lines Matching defs:in

8  * to deal in the Software without restriction, including without limitation
14 * paragraph) shall be included in all copies or substantial portions of the
19 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
21 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
22 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
23 * USE OR OTHER DEALINGS IN THE SOFTWARE.
46 * These functions take the NDC coordinates pointed to by 'in', apply the
51 const GLfloat *in )
56 out[0] = vp[0] * in[0] + vp[12];
57 out[1] = vp[5] * in[1] + vp[13];
58 out[2] = vp[10] * in[2] + vp[14];
59 out[3] = in[3];
63 const GLfloat *in )
68 out[0] = vp[0] * in[0] + vp[12];
69 out[1] = vp[5] * in[1] + vp[13];
70 out[2] = vp[10] * in[2] + vp[14];
75 const GLfloat *in )
80 out[0] = vp[0] * in[0] + vp[12];
81 out[1] = vp[5] * in[1] + vp[13];
87 const GLfloat *in )
92 out[0] = vp[0] * in[0] + vp[12];
99 const GLfloat *in )
104 out[0] = vp[0] * in[0] + vp[12];
105 out[1] = vp[5] * in[1] + vp[13];
106 out[2] = vp[10] * in[2] + vp[14];
110 const GLfloat *in )
115 out[0] = vp[0] * in[0] + vp[12];
116 out[1] = vp[5] * in[1] + vp[13];
121 const GLfloat *in )
126 out[0] = vp[0] * in[0] + vp[12];
132 const GLfloat *in )
137 out[0] = vp[0] * in[0] + vp[12];
138 out[1] = vp[5] * in[1] + vp[13];
142 const GLfloat *in )
147 out[0] = vp[0] * in[0] + vp[12];
156 static inline void insert_4f_4( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
161 out[0] = in[0];
162 out[1] = in[1];
163 out[2] = in[2];
164 out[3] = in[3];
167 static inline void insert_4f_3( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
172 out[0] = in[0];
173 out[1] = in[1];
174 out[2] = in[2];
178 static inline void insert_4f_2( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
183 out[0] = in[0];
184 out[1] = in[1];
189 static inline void insert_4f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
194 out[0] = in[0];
200 static inline void insert_3f_xyw_4( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
205 out[0] = in[0];
206 out[1] = in[1];
207 out[2] = in[3];
210 static inline void insert_3f_xyw_err( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
212 (void) a; (void) v; (void) in;
217 static inline void insert_3f_3( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
222 out[0] = in[0];
223 out[1] = in[1];
224 out[2] = in[2];
227 static inline void insert_3f_2( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
232 out[0] = in[0];
233 out[1] = in[1];
237 static inline void insert_3f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
242 out[0] = in[0];
248 static inline void insert_2f_2( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
253 out[0] = in[0];
254 out[1] = in[1];
257 static inline void insert_2f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
262 out[0] = in[0];
266 static inline void insert_1f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
271 out[0] = in[0];
274 static inline void insert_null( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
277 (void) a; (void) v; (void) in;
281 const GLfloat *in )
286 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
287 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]);
288 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]);
289 UNCLAMPED_FLOAT_TO_CHAN(c[3], in[3]);
293 const GLfloat *in )
298 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
299 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]);
300 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]);
305 const GLfloat *in )
310 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
311 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]);
317 const GLfloat *in )
322 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
329 const GLfloat *in )
333 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
334 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
335 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]);
336 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[3]);
340 const GLfloat *in )
344 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
345 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
346 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]);
351 const GLfloat *in )
355 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
356 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
362 const GLfloat *in )
366 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
373 const GLfloat *in )
377 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
378 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
379 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[2]);
380 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[3]);
384 const GLfloat *in )
388 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
389 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
390 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[2]);
395 const GLfloat *in )
399 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
400 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
406 const GLfloat *in )
410 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
417 const GLfloat *in )
421 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
422 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
423 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[2]);
424 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[3]);
428 const GLfloat *in )
432 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
433 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
434 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[2]);
439 const GLfloat *in )
443 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
444 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
450 const GLfloat *in )
454 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
461 const GLfloat *in )
465 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
466 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
467 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[2]);
468 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[3]);
472 const GLfloat *in )
476 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
477 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
478 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[2]);
483 const GLfloat *in )
487 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
488 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
494 const GLfloat *in )
498 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
505 const GLfloat *in )
509 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
510 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
511 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]);
515 const GLfloat *in )
519 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
520 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
525 const GLfloat *in )
529 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
535 const GLfloat *in )
539 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
540 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
541 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[2]);
545 const GLfloat *in )
549 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
550 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
555 const GLfloat *in )
559 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
566 const GLfloat *in )
570 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
584 const GLfloat *in = (const GLfloat *)v;
591 out[0] = (in[0] - vp[12]) / vp[0];
592 out[1] = (in[1] - vp[13]) / vp[5];
593 out[2] = (in[2] - vp[14]) / vp[10];
594 out[3] = in[3];
600 const GLfloat *in = (const GLfloat *)v;
603 out[0] = (in[0] - vp[12]) / vp[0];
604 out[1] = (in[1] - vp[13]) / vp[5];
605 out[2] = (in[2] - vp[14]) / vp[10];
613 const GLfloat *in = (const GLfloat *)v;
616 out[0] = (in[0] - vp[12]) / vp[0];
617 out[1] = (in[1] - vp[13]) / vp[5];
625 const GLfloat *in = (const GLfloat *)v;
628 out[0] = in[0];
629 out[1] = in[1];
630 out[2] = in[2];
631 out[3] = in[3];
636 const GLfloat *in = (const GLfloat *)v;
639 out[0] = in
640 out[1] = in[1];
642 out[3] = in[2];
648 const GLfloat *in = (const GLfloat *)v;
651 out[0] = in[0];
652 out[1] = in[1];
653 out[2] = in[2];
660 const GLfloat *in = (const GLfloat *)v;
663 out[0] = in[0];
664 out[1] = in[1];
671 const GLfloat *in = (const GLfloat *)v;
674 out[0] = in[0];
1003 GLfloat *in = (GLfloat *)a[j].inputptr;
1005 a[j].emit( &a[j], v + a[j].vertoffset, in );
1088 GLuint dst, GLuint out, GLuint in,
1095 * be identical. In all other cases, this value is generated by
1104 VB->BackfaceColorPtr->data[in] );
1113 VB->BackfaceSecondaryColorPtr->data[in] );
1119 VB->BackfaceIndexPtr->data[in][0] );
1126 _tnl_generic_interp(ctx, t, dst, out, in, force_boundary);