Home
last modified time | relevance | path

Searched refs:invQ (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_span.c416 GLfloat s, GLfloat t, GLfloat q, GLfloat invQ) in _swrast_compute_lambda() argument
418 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda()
419 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in _swrast_compute_lambda()
420 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); in _swrast_compute_lambda()
421 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in _swrast_compute_lambda()
438 GLfloat s, GLfloat t, GLfloat q, GLfloat invQ)
440 GLfloat dsdx2 = (s + dsdx) / (q + dqdx) - s * invQ;
441 GLfloat dtdx2 = (t + dtdx) / (q + dqdx) - t * invQ;
442 GLfloat dsdy2 = (s + dsdy) / (q + dqdy) - s * invQ;
443 GLfloat dtdy2 = (t + dtdy) / (q + dqdy) - t * invQ;
[all …]
Ds_aaline.c192 GLfloat invQ, GLfloat width, GLfloat height) in compute_lambda() argument
194 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; in compute_lambda()
195 GLfloat dudy = sPlane[1] / sPlane[2] * invQ * width; in compute_lambda()
196 GLfloat dvdx = tPlane[0] / tPlane[2] * invQ * height; in compute_lambda()
197 GLfloat dvdy = tPlane[1] / tPlane[2] * invQ * height; in compute_lambda()
Ds_aalinetemp.h73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]); in NAME() local
76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ; in NAME()
80 line->attrPlane[attr][1], invQ, in NAME()
Ds_triangle.c619 GLdouble invQ = tex_coord[2] ? \ in fast_persp_span()
621 GLfloat s_tmp = (GLfloat) (tex_coord[0] * invQ); \ in fast_persp_span()
622 GLfloat t_tmp = (GLfloat) (tex_coord[1] * invQ); \ in fast_persp_span()
640 GLdouble invQ = tex_coord[2] ? \ in fast_persp_span()
642 const GLfloat s_tmp = (GLfloat) (tex_coord[0] * invQ); \ in fast_persp_span()
643 const GLfloat t_tmp = (GLfloat) (tex_coord[1] * invQ); \ in fast_persp_span()
Ds_span.h196 GLfloat s, GLfloat t, GLfloat q, GLfloat invQ);
Ds_texfilter.c1913 const GLfloat invQ = (q == 0.0F) ? 1.0F : (1.0F / q); in sample_lambda_2d_aniso() local
1915 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in sample_lambda_2d_aniso()
1916 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in sample_lambda_2d_aniso()
1917 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); in sample_lambda_2d_aniso()
1918 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in sample_lambda_2d_aniso()
/external/mesa3d/src/mesa/program/
Dprog_execute.c312 const GLfloat invQ = 1.0f / w; in fetch_vector4_deriv() local
316 deriv[0] = machine->DerivX[source->Index][0] * invQ; in fetch_vector4_deriv()
317 deriv[1] = machine->DerivX[source->Index][1] * invQ; in fetch_vector4_deriv()
318 deriv[2] = machine->DerivX[source->Index][2] * invQ; in fetch_vector4_deriv()
319 deriv[3] = machine->DerivX[source->Index][3] * invQ; in fetch_vector4_deriv()
322 deriv[0] = machine->DerivY[source->Index][0] * invQ; in fetch_vector4_deriv()
323 deriv[1] = machine->DerivY[source->Index][1] * invQ; in fetch_vector4_deriv()
324 deriv[2] = machine->DerivY[source->Index][2] * invQ; in fetch_vector4_deriv()
325 deriv[3] = machine->DerivY[source->Index][3] * invQ; in fetch_vector4_deriv()