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.
45 * These functions take the NDC coordinates pointed to by 'in', apply the
50 const GLfloat *in )
55 out[0] = vp[0] * in[0] + vp[12];
56 out[1] = vp[5] * in[1] + vp[13];
57 out[2] = vp[10] * in[2] + vp[14];
58 out[3] = in[3];
62 const GLfloat *in )
67 out[0] = vp[0] * in[0] + vp[12];
68 out[1] = vp[5] * in[1] + vp[13];
69 out[2] = vp[10] * in[2] + vp[14];
74 const GLfloat *in )
79 out[0] = vp[0] * in[0] + vp[12];
80 out[1] = vp[5] * in[1] + vp[13];
86 const GLfloat *in )
91 out[0] = vp[0] * in[0] + vp[12];
98 const GLfloat *in )
103 out[0] = vp[0] * in[0] + vp[12];
104 out[1] = vp[5] * in[1] + vp[13];
105 out[2] = vp[10] * in[2] + vp[14];
109 const GLfloat *in )
114 out[0] = vp[0] * in[0] + vp[12];
115 out[1] = vp[5] * in[1] + vp[13];
120 const GLfloat *in )
125 out[0] = vp[0] * in[0] + vp[12];
131 const GLfloat *in )
136 out[0] = vp[0] * in[0] + vp[12];
137 out[1] = vp[5] * in[1] + vp[13];
141 const GLfloat *in )
146 out[0] = vp[0] * in[0] + vp[12];
155 static inline void insert_4f_4( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
160 out[0] = in[0];
161 out[1] = in[1];
162 out[2] = in[2];
163 out[3] = in[3];
166 static inline void insert_4f_3( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
171 out[0] = in[0];
172 out[1] = in[1];
173 out[2] = in[2];
177 static inline void insert_4f_2( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
182 out[0] = in[0];
183 out[1] = in[1];
188 static inline void insert_4f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
193 out[0] = in[0];
199 static inline void insert_3f_xyw_4( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
204 out[0] = in[0];
205 out[1] = in[1];
206 out[2] = in[3];
209 static inline void insert_3f_xyw_err( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
211 (void) a; (void) v; (void) in;
216 static inline void insert_3f_3( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
221 out[0] = in[0];
222 out[1] = in[1];
223 out[2] = in[2];
226 static inline void insert_3f_2( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
231 out[0] = in[0];
232 out[1] = in[1];
236 static inline void insert_3f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
241 out[0] = in[0];
247 static inline void insert_2f_2( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
252 out[0] = in[0];
253 out[1] = in[1];
256 static inline void insert_2f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
261 out[0] = in[0];
265 static inline void insert_1f_1( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
270 out[0] = in[0];
273 static inline void insert_null( const struct tnl_clipspace_attr *a, GLubyte *v, const GLfloat *in )
276 (void) a; (void) v; (void) in;
280 const GLfloat *in )
285 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
286 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]);
287 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]);
288 UNCLAMPED_FLOAT_TO_CHAN(c[3], in[3]);
292 const GLfloat *in )
297 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
298 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]);
299 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]);
304 const GLfloat *in )
309 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
310 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]);
316 const GLfloat *in )
321 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]);
328 const GLfloat *in )
332 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
333 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
334 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]);
335 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[3]);
339 const GLfloat *in )
343 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
344 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
345 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]);
350 const GLfloat *in )
354 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
355 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
361 const GLfloat *in )
365 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
372 const GLfloat *in )
376 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
377 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
378 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[2]);
379 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[3]);
383 const GLfloat *in )
387 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
388 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
389 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[2]);
394 const GLfloat *in )
398 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
399 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
405 const GLfloat *in )
409 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
416 const GLfloat *in )
420 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
421 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
422 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[2]);
423 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[3]);
427 const GLfloat *in )
431 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
432 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
433 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[2]);
438 const GLfloat *in )
442 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
443 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
449 const GLfloat *in )
453 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[0]);
460 const GLfloat *in )
464 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
465 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
466 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[2]);
467 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[3]);
471 const GLfloat *in )
475 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
476 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
477 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[2]);
482 const GLfloat *in )
486 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
487 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[1]);
493 const GLfloat *in )
497 UNCLAMPED_FLOAT_TO_UBYTE(v[3], in[0]);
504 const GLfloat *in )
508 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
509 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
510 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[2]);
514 const GLfloat *in )
518 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
519 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
524 const GLfloat *in )
528 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
534 const GLfloat *in )
538 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
539 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
540 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[2]);
544 const GLfloat *in )
548 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
549 UNCLAMPED_FLOAT_TO_UBYTE(v[1], in[1]);
554 const GLfloat *in )
558 UNCLAMPED_FLOAT_TO_UBYTE(v[2], in[0]);
565 const GLfloat *in )
569 UNCLAMPED_FLOAT_TO_UBYTE(v[0], in[0]);
583 const GLfloat *in = (const GLfloat *)v;
590 out[0] = (in[0] - vp[12]) / vp[0];
591 out[1] = (in[1] - vp[13]) / vp[5];
592 out[2] = (in[2] - vp[14]) / vp[10];
593 out[3] = in[3];
599 const GLfloat *in = (const GLfloat *)v;
602 out[0] = (in[0] - vp[12]) / vp[0];
603 out[1] = (in[1] - vp[13]) / vp[5];
604 out[2] = (in[2] - vp[14]) / vp[10];
612 const GLfloat *in = (const GLfloat *)v;
615 out[0] = (in[0] - vp[12]) / vp[0];
616 out[1] = (in[1] - vp[13]) / vp[5];
624 const GLfloat *in = (const GLfloat *)v;
627 out[0] = in[0];
628 out[1] = in[1];
629 out[2] = in[2];
630 out[3] = in[3];
635 const GLfloat *in = (const GLfloat *)v;
638 out[0] = in[0];
639 out[1] = in[1];
641 out[3] = in[2];
647 const GLfloat *in = (const GLfloat *)v;
650 out[0] = in[0];
651 out[1] = in[1];
652 out[2] = in[2];
659 const GLfloat *in = (const GLfloat *)v;
662 out[0] = in[0];
663 out[1] = in[1];
670 const GLfloat *in = (const GLfloat *)v;
673 out[0] = in[0];
1002 GLfloat *in = (GLfloat *)a[j].inputptr;
1004 a[j].emit( &a[j], v + a[j].vertoffset, in );
1087 GLuint dst, GLuint out, GLuint in,
1094 * be identical. In all other cases, this value is generated by
1103 VB->BackfaceColorPtr->data[in] );
1112 VB->BackfaceSecondaryColorPtr->data[in] );
1118 VB->BackfaceIndexPtr->data[in][0] );
1125 _tnl_generic_interp(ctx, t, dst, out, in, force_boundary);