Home
last modified time | relevance | path

Searched refs:attrStart (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_points.c118 span.attrStart[VARYING_SLOT_POS][3] = 1.0F; in sprite_point()
153 span.attrStart[attr][0] = s; in sprite_point()
154 span.attrStart[attr][1] = 0.0; /* overwritten below */ in sprite_point()
155 span.attrStart[attr][2] = r; in sprite_point()
156 span.attrStart[attr][3] = 1.0; in sprite_point()
173 span.attrStart[VARYING_SLOT_PNTC][0] = 0.0; in sprite_point()
174 span.attrStart[VARYING_SLOT_PNTC][1] = 0.0; /* t0 set below */ in sprite_point()
183 COPY_4V(span.attrStart[attr], vert->attrib[attr]); in sprite_point()
222 span.attrStart[tCoords[i]][1] = tcoord; in sprite_point()
291 span.attrStart[VARYING_SLOT_POS][3] = 1.0F; in smooth_point()
[all …]
Ds_span.c86 span->attrStart[VARYING_SLOT_POS][3] = 1.0; in _swrast_span_default_attribs()
112 COPY_4V(span->attrStart[VARYING_SLOT_COL0], ctx->Current.RasterColor); in _swrast_span_default_attribs()
119 COPY_4V(span->attrStart[VARYING_SLOT_COL1], ctx->Current.RasterSecondaryColor); in _swrast_span_default_attribs()
136 span->attrStart[VARYING_SLOT_FOGC][0] = fogVal; in _swrast_span_default_attribs()
149 COPY_4V(span->attrStart[attr], tc); in _swrast_span_default_attribs()
153 span->attrStart[attr][0] = tc[0] / tc[3]; in _swrast_span_default_attribs()
154 span->attrStart[attr][1] = tc[1] / tc[3]; in _swrast_span_default_attribs()
155 span->attrStart[attr][2] = tc[2] / tc[3]; in _swrast_span_default_attribs()
156 span->attrStart[attr][3] = 1.0; in _swrast_span_default_attribs()
159 ASSIGN_4V(span->attrStart[attr], 0.0F, 0.0F, 0.0F, 1.0F); in _swrast_span_default_attribs()
[all …]
Ds_linetemp.h266 span.attrStart[VARYING_SLOT_POS][3] = invw0; in NAME()
272 COPY_4V(span.attrStart[attr], vert1->attrib[attr]); in NAME()
279 span.attrStart[attr][c] = invw0 * vert0->attrib[attr][c]; in NAME()
280 da = (invw1 * vert1->attrib[attr][c]) - span.attrStart[attr][c]; in NAME()
Ds_aatritemp.h211 span.attrStart[VARYING_SLOT_POS][3] = solve_plane(ix + 0.5F, iy + 0.5F, wPlane);
215 span.attrStart[attr][c] = solve_plane(ix + 0.5F, iy + 0.5F, attrPlane[attr][c]);
303 span.attrStart[VARYING_SLOT_POS][3] = solve_plane(ix + 1.5F, iy + 0.5F, wPlane);
307 span.attrStart[attr][c] = solve_plane(ix + 1.5F, iy + 0.5F, attrPlane[attr][c]);
Ds_zoom.c171 COPY_4V(zoomed.attrStart[VARYING_SLOT_POS], span->attrStart[VARYING_SLOT_POS]); in zoom_span()
175 zoomed.attrStart[VARYING_SLOT_FOGC][0] = span->attrStart[VARYING_SLOT_FOGC][0]; in zoom_span()
Ds_fog.c107 GLfloat fogCoord = span->attrStart[VARYING_SLOT_FOGC][0]; \
109 GLfloat w = span->attrStart[VARYING_SLOT_POS][3]; \
Ds_span.h136 GLfloat attrStart[VARYING_SLOT_MAX][4]; /**< initial value */ member
Ds_triangle.c682 tex_coord[0] = span->attrStart[VARYING_SLOT_TEX0][0] * (info->smask + 1); in fast_persp_span()
684 tex_coord[1] = span->attrStart[VARYING_SLOT_TEX0][1] * (info->tmask + 1); in fast_persp_span()
687 tex_coord[2] = span->attrStart[VARYING_SLOT_TEX0][3]; in fast_persp_span()
Ds_tritemp.h800 span.attrStart[VARYING_SLOT_POS][3] = wLeft; in NAME()
804 span.attrStart[attr][c] = attrLeft[attr][c]; in NAME()
Ds_texfilter.c1897 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx; in sample_lambda_2d_aniso()
1898 GLfloat t = span->attrStart[attr][1] + span->leftClip * dtdx; in sample_lambda_2d_aniso()
1899 GLfloat q = span->attrStart[attr][3] + span->leftClip * dqdx; in sample_lambda_2d_aniso()