Home
last modified time | relevance | path

Searched refs:invW (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_span.c196 const GLfloat invW = 1.0f / w; in interpolate_active_attribs() local
197 span->array->attribs[attr][k][0] = v0 * invW; in interpolate_active_attribs()
198 span->array->attribs[attr][k][1] = v1 * invW; in interpolate_active_attribs()
199 span->array->attribs[attr][k][2] = v2 * invW; in interpolate_active_attribs()
200 span->array->attribs[attr][k][3] = v3 * invW; in interpolate_active_attribs()
530 const GLfloat invW = 1.0F / w; in interpolate_texcoords() local
531 texcoord[i][0] = s * invW; in interpolate_texcoords()
532 texcoord[i][1] = t * invW; in interpolate_texcoords()
533 texcoord[i][2] = r * invW; in interpolate_texcoords()
534 texcoord[i][3] = q * invW; in interpolate_texcoords()
[all …]
Ds_aalinetemp.h85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane); in NAME() local
88 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invW; in NAME()
Ds_tritemp.h703 const GLfloat invW = vLower->attrib[FRAG_ATTRIB_WPOS][3]; in NAME() local
707 attrLeft[attr][c] = v2->attrib[attr][c] * invW; in NAME()
714 const GLfloat a = vLower->attrib[attr][c] * invW; in NAME()