Home
last modified time | relevance | path

Searched refs:dtdx (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_span.c415 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, in _swrast_compute_lambda() argument
420 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in _swrast_compute_lambda()
437 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
442 GLfloat dtdx2 = (t + dtdx) / (q + dqdx) - t * invQ;
488 const GLfloat dtdx = span->attrStepX[attr][1]; in interpolate_texcoords() local
494 GLfloat t = span->attrStart[attr][1] + span->leftClip * dtdx; in interpolate_texcoords()
536 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy, in interpolate_texcoords()
540 t += dtdx; in interpolate_texcoords()
553 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy, in interpolate_texcoords()
557 t += dtdx; in interpolate_texcoords()
[all …]
Ds_span.h194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
Ds_texfilter.c1893 const GLfloat dtdx = span->attrStepX[attr][1]; in sample_lambda_2d_aniso() local
1898 GLfloat t = span->attrStart[attr][1] + span->leftClip * dtdx; in sample_lambda_2d_aniso()
1921 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in sample_lambda_2d_aniso()
1937 t += dtdx; in sample_lambda_2d_aniso()
/external/mesa3d/src/mesa/program/
Dprog_execute.c1120 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; in _mesa_execute_program() local
1122 fetch_vector4(&inst->SrcReg[1], machine, dtdx); in _mesa_execute_program()
1124 machine->FetchTexelDeriv(ctx, texcoord, dtdx, dtdy, in _mesa_execute_program()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c516 const float dtdx = fabsf(t[QUAD_BOTTOM_RIGHT] - t[QUAD_BOTTOM_LEFT]); in compute_lambda_2d() local
519 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_2d()
535 const float dtdx = fabsf(t[QUAD_BOTTOM_RIGHT] - t[QUAD_BOTTOM_LEFT]); in compute_lambda_3d() local
540 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_3d()