Lines Matching refs:attrib
92 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x + s[12];
93 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y + s[13];
94 dst->attrib[FRAG_ATTRIB_WPOS][2] = s[10] * src->v.z + s[14];
95 dst->attrib[FRAG_ATTRIB_WPOS][3] = 1.0;
97 dst->attrib[FRAG_ATTRIB_WPOS][0] = UNVIEWPORT_X( src->v.x );
98 dst->attrib[FRAG_ATTRIB_WPOS][1] = UNVIEWPORT_Y( src->v.y );
99 dst->attrib[FRAG_ATTRIB_WPOS][2] = UNVIEWPORT_Z( src->v.z );
100 dst->attrib[FRAG_ATTRIB_WPOS][3] = 1.0;
112 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x * oow + s[12];
113 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y * oow + s[13];
114 dst->attrib[FRAG_ATTRIB_WPOS][2] = s[10] * src->v.z * oow + s[14];
115 dst->attrib[FRAG_ATTRIB_WPOS][3] = oow;
117 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x + s[12];
118 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y + s[13];
119 dst->attrib[FRAG_ATTRIB_WPOS][2] = s[10] * src->v.z + s[14];
120 dst->attrib[FRAG_ATTRIB_WPOS][3] = src->v.w;
123 dst->attrib[FRAG_ATTRIB_WPOS][0] = UNVIEWPORT_X( src->v.x );
124 dst->attrib[FRAG_ATTRIB_WPOS][1] = UNVIEWPORT_Y( src->v.y );
125 dst->attrib[FRAG_ATTRIB_WPOS][2] = UNVIEWPORT_Z( src->v.z );
126 dst->attrib[FRAG_ATTRIB_WPOS][3] = src->v.w;
134 dst->attrib[FRAG_ATTRIB_COL1][0] = UBYTE_TO_FLOAT(src->v.specular.red);
135 dst->attrib[FRAG_ATTRIB_COL1][1] = UBYTE_TO_FLOAT(src->v.specular.green);
136 dst->attrib[FRAG_ATTRIB_COL1][2] = UBYTE_TO_FLOAT(src->v.specular.blue);
138 dst->attrib[FRAG_ATTRIB_FOGC][0] = UBYTE_TO_FLOAT(src->v.specular.alpha);
144 dst->attrib[FRAG_ATTRIB_TEX0][0] = src->pv.u0;
145 dst->attrib[FRAG_ATTRIB_TEX0][1] = src->pv.v0;
146 dst->attrib[FRAG_ATTRIB_TEX0][3] = src->pv.q0;
148 dst->attrib[FRAG_ATTRIB_TEX1][0] = src->pv.u1;
149 dst->attrib[FRAG_ATTRIB_TEX1][1] = src->pv.v1;
150 dst->attrib[FRAG_ATTRIB_TEX1][3] = src->pv.q1;
153 dst->attrib[FRAG_ATTRIB_TEX2][0] = src->pv.u2;
154 dst->attrib[FRAG_ATTRIB_TEX2][1] = src->pv.v2;
155 dst->attrib[FRAG_ATTRIB_TEX2][3] = src->pv.q2;
159 dst->attrib[FRAG_ATTRIB_TEX3][0] = src->pv.u3;
160 dst->attrib[FRAG_ATTRIB_TEX3][1] = src->pv.v3;
161 dst->attrib[FRAG_ATTRIB_TEX3][3] = src->pv.q3;
165 dst->attrib[FRAG_ATTRIB_TEX0][0] = src->v.u0;
166 dst->attrib[FRAG_ATTRIB_TEX0][1] = src->v.v0;
167 dst->attrib[FRAG_ATTRIB_TEX0][3] = 1.0;
169 dst->attrib[FRAG_ATTRIB_TEX1][0] = src->v.u1;
170 dst->attrib[FRAG_ATTRIB_TEX1][1] = src->v.v1;
171 dst->attrib[FRAG_ATTRIB_TEX1][3] = 1.0;
174 dst->attrib[FRAG_ATTRIB_TEX2][0] = src->v.u2;
175 dst->attrib[FRAG_ATTRIB_TEX2][1] = src->v.v2;
176 dst->attrib[FRAG_ATTRIB_TEX2][3] = 1.0;
180 dst->attrib[FRAG_ATTRIB_TEX3][0] = src->v.u3;
181 dst->attrib[FRAG_ATTRIB_TEX3][1] = src->v.v3;
182 dst->attrib[FRAG_ATTRIB_TEX3][3] = 1.0;