Home
last modified time | relevance | path

Searched refs:attrStepX (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h343 … span.attrStepX[VARYING_SLOT_POS][2] = oneOverArea * (eMaj_dz * eBot.dy - eMaj.dy * eBot_dz); in NAME()
344 if (span.attrStepX[VARYING_SLOT_POS][2] > maxDepth || in NAME()
345 span.attrStepX[VARYING_SLOT_POS][2] < -maxDepth) { in NAME()
347 span.attrStepX[VARYING_SLOT_POS][2] = 0.0; in NAME()
354 span.zStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_POS][2]); in NAME()
356 span.zStep = (GLint) span.attrStepX[VARYING_SLOT_POS][2]; in NAME()
372 … span.attrStepX[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj_dr * eBot.dy - eMaj.dy * eBot_dr); in NAME()
374 … span.attrStepX[VARYING_SLOT_COL0][1] = oneOverArea * (eMaj_dg * eBot.dy - eMaj.dy * eBot_dg); in NAME()
376 … span.attrStepX[VARYING_SLOT_COL0][2] = oneOverArea * (eMaj_db * eBot.dy - eMaj.dy * eBot_db); in NAME()
378 span.redStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][0]); in NAME()
[all …]
Ds_points.c119 span.attrStepX[VARYING_SLOT_POS][3] = 0.0F; in sprite_point()
158 span.attrStepX[attr][0] = dsdx; in sprite_point()
159 span.attrStepX[attr][1] = 0.0; in sprite_point()
160 span.attrStepX[attr][2] = 0.0; in sprite_point()
161 span.attrStepX[attr][3] = 0.0; in sprite_point()
175 span.attrStepX[VARYING_SLOT_PNTC][0] = dsdx; in sprite_point()
176 span.attrStepX[VARYING_SLOT_PNTC][1] = 0.0; in sprite_point()
184 ASSIGN_4V(span.attrStepX[attr], 0, 0, 0, 0); in sprite_point()
292 span.attrStepX[VARYING_SLOT_POS][3] = 0.0F; in smooth_point()
297 ASSIGN_4V(span.attrStepX[attr], 0, 0, 0, 0); in smooth_point()
[all …]
Ds_span.c86 span->attrStepX[VARYING_SLOT_POS][3] = 0.0; in _swrast_span_default_attribs()
112 ASSIGN_4V(span->attrStepX[VARYING_SLOT_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
119 ASSIGN_4V(span->attrStepX[VARYING_SLOT_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
136 span->attrStepX[VARYING_SLOT_FOGC][0] = 0.0; in _swrast_span_default_attribs()
160 ASSIGN_4V(span->attrStepX[attr], 0.0F, 0.0F, 0.0F, 0.0F); in _swrast_span_default_attribs()
187 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_active_attribs()
189 const GLfloat dv0dx = span->attrStepX[attr][0]; in interpolate_active_attribs()
190 const GLfloat dv1dx = span->attrStepX[attr][1]; in interpolate_active_attribs()
191 const GLfloat dv2dx = span->attrStepX[attr][2]; in interpolate_active_attribs()
192 const GLfloat dv3dx = span->attrStepX[attr][3]; in interpolate_active_attribs()
[all …]
Ds_linetemp.h267 span.attrStepX[VARYING_SLOT_POS][3] = (invw1 - invw0) * invLen; in NAME()
273 ASSIGN_4V(span.attrStepX[attr], 0.0, 0.0, 0.0, 0.0); in NAME()
281 span.attrStepX[attr][c] = da * invLen; in NAME()
Ds_zoom.c171 COPY_4V(zoomed.attrStepX[VARYING_SLOT_POS], span->attrStepX[VARYING_SLOT_POS]); in zoom_span()
175 zoomed.attrStepX[VARYING_SLOT_FOGC][0] = span->attrStepX[VARYING_SLOT_FOGC][0]; in zoom_span()
Ds_fog.c105 const GLfloat fogStep = span->attrStepX[VARYING_SLOT_FOGC][0]; \
107 const GLfloat wStep = span->attrStepX[VARYING_SLOT_POS][3]; \
Ds_span.h137 GLfloat attrStepX[VARYING_SLOT_MAX][4]; /**< dvalue/dx */ member
Ds_aatritemp.h141 span.attrStepX[VARYING_SLOT_POS][3] = plane_dx(wPlane);
159 span.attrStepX[attr][c] = plane_dx(attrPlane[attr][c]);
Ds_fragprog.c177 machine->DerivX = (GLfloat (*)[4]) span->attrStepX; in init_machine()
Ds_triangle.c683 tex_step[0] = span->attrStepX[VARYING_SLOT_TEX0][0] * (info->smask + 1); in fast_persp_span()
685 tex_step[1] = span->attrStepX[VARYING_SLOT_TEX0][1] * (info->tmask + 1); in fast_persp_span()
688 tex_step[2] = span->attrStepX[VARYING_SLOT_TEX0][3]; in fast_persp_span()
Ds_texfilter.c1891 const GLfloat dsdx = span->attrStepX[attr][0]; in sample_lambda_2d_aniso()
1893 const GLfloat dtdx = span->attrStepX[attr][1]; in sample_lambda_2d_aniso()
1895 const GLfloat dqdx = span->attrStepX[attr][3]; in sample_lambda_2d_aniso()