Lines Matching refs:span

69    SWspan span;
225 span.red = ChanToFixed(vert0->color[0]);
226 span.green = ChanToFixed(vert0->color[1]);
227 span.blue = ChanToFixed(vert0->color[2]);
228 span.alpha = ChanToFixed(vert0->color[3]);
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels;
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels;
231 span.blueStep = (ChanToFixed(vert1->color[2]) - span.blue ) / numPixels;
232 span.alphaStep = (ChanToFixed(vert1->color[3]) - span.alpha) / numPixels;
235 span.red = ChanToFixed(vert1->color[0]);
236 span.green = ChanToFixed(vert1->color[1]);
237 span.blue = ChanToFixed(vert1->color[2]);
238 span.alpha = ChanToFixed(vert1->color[3]);
239 span.redStep = 0;
240 span.greenStep = 0;
241 span.blueStep = 0;
242 span.alphaStep = 0;
248 span.z = FloatToFixed(vert0->attrib[FRAG_ATTRIB_WPOS][2]) + FIXED_HALF;
249 span.zStep = FloatToFixed( vert1->attrib[FRAG_ATTRIB_WPOS][2]
254 span.z = (GLuint) vert0->attrib[FRAG_ATTRIB_WPOS][2];
255 span.zStep = (GLint) (( vert1->attrib[FRAG_ATTRIB_WPOS][2]
266 span.attrStart[FRAG_ATTRIB_WPOS][3] = invw0;
267 span.attrStepX[FRAG_ATTRIB_WPOS][3] = (invw1 - invw0) * invLen;
268 span.attrStepY[FRAG_ATTRIB_WPOS][3] = 0.0;
272 COPY_4V(span.attrStart[attr], vert1->attrib[attr]);
273 ASSIGN_4V(span.attrStepX[attr], 0.0, 0.0, 0.0, 0.0);
279 span.attrStart[attr][c] = invw0 * vert0->attrib[attr][c];
280 da = (invw1 * vert1->attrib[attr][c]) - span.attrStart[attr][c];
281 span.attrStepX[attr][c] = da * invLen;
284 ASSIGN_4V(span.attrStepY[attr], 0.0, 0.0, 0.0, 0.0);
289 INIT_SPAN(span, GL_LINE);
290 span.end = numPixels;
291 span.interpMask = interpFlags;
292 span.arrayMask = SPAN_XY;
294 span.facing = swrast->PointLineFacing;
310 GLuint Z = FixedToDepth(span.z);
315 span.array->x[i] = x0;
316 span.array->y[i] = y0;
321 span.z += span.zStep;
350 GLuint Z = FixedToDepth(span.z);
355 span.array->x[i] = x0;
356 span.array->y[i] = y0;
361 span.z += span.zStep;
383 RENDER_SPAN( span );
386 (void)span;