Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/swrast/
Ds_span.c420 GLfloat s, GLfloat t, GLfloat q, GLfloat invQ) in _swrast_compute_lambda() argument
422 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda()
423 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in _swrast_compute_lambda()
424 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); in _swrast_compute_lambda()
425 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in _swrast_compute_lambda()
442 GLfloat s, GLfloat t, GLfloat q, GLfloat invQ)
444 GLfloat dsdx2 = (s + dsdx) / (q + dqdx) - s * invQ;
445 GLfloat dtdx2 = (t + dtdx) / (q + dqdx) - t * invQ;
446 GLfloat dsdy2 = (s + dsdy) / (q + dqdy) - s * invQ;
447 GLfloat dtdy2 = (t + dtdy) / (q + dqdy) - t * invQ;
[all …]
Ds_aaline.c193 GLfloat invQ, GLfloat width, GLfloat height) in compute_lambda() argument
195 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; in compute_lambda()
196 GLfloat dudy = sPlane[1] / sPlane[2] * invQ * width; in compute_lambda()
197 GLfloat dvdx = tPlane[0] / tPlane[2] * invQ * height; in compute_lambda()
198 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.c620 GLdouble invQ = tex_coord[2] ? \ in fast_persp_span()
622 GLfloat s_tmp = (GLfloat) (tex_coord[0] * invQ); \ in fast_persp_span()
623 GLfloat t_tmp = (GLfloat) (tex_coord[1] * invQ); \ in fast_persp_span()
641 GLdouble invQ = tex_coord[2] ? \ in fast_persp_span()
643 const GLfloat s_tmp = (GLfloat) (tex_coord[0] * invQ); \ in fast_persp_span()
644 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.c1918 const GLfloat invQ = (q == 0.0F) ? 1.0F : (1.0F / q); in sample_lambda_2d_aniso() local
1920 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in sample_lambda_2d_aniso()
1921 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in sample_lambda_2d_aniso()
1922 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); in sample_lambda_2d_aniso()
1923 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in sample_lambda_2d_aniso()
/third_party/mesa3d/src/mesa/program/
Dprog_execute.c237 const GLfloat invQ = 1.0f / w; in fetch_vector4_deriv() local
241 deriv[0] = machine->DerivX[source->Index][0] * invQ; in fetch_vector4_deriv()
242 deriv[1] = machine->DerivX[source->Index][1] * invQ; in fetch_vector4_deriv()
243 deriv[2] = machine->DerivX[source->Index][2] * invQ; in fetch_vector4_deriv()
244 deriv[3] = machine->DerivX[source->Index][3] * invQ; in fetch_vector4_deriv()
247 deriv[0] = machine->DerivY[source->Index][0] * invQ; in fetch_vector4_deriv()
248 deriv[1] = machine->DerivY[source->Index][1] * invQ; in fetch_vector4_deriv()
249 deriv[2] = machine->DerivY[source->Index][2] * invQ; in fetch_vector4_deriv()
250 deriv[3] = machine->DerivY[source->Index][3] * invQ; in fetch_vector4_deriv()