Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear_sampler.c105 samp->t += samp->dtdy; in fetch_bgra_memcpy()
132 samp->t += samp->dtdy; in fetch_bgrx_memcpy()
166 samp->t += samp->dtdy; in fetch_bgra_axis_aligned()
189 samp->t += samp->dtdy; in fetch_bgrx_axis_aligned()
222 samp->t += samp->dtdy; in fetch_bgra()
254 samp->t += samp->dtdy; in fetch_bgrx()
292 samp->t += samp->dtdy; in fetch_bgra_clamp()
328 samp->t += samp->dtdy; in fetch_bgrx_clamp()
418 samp->t += samp->dtdy; in fetch_bgra_axis_aligned_linear()
492 samp->t += samp->dtdy; in fetch_bgra_linear()
[all …]
Dlp_setup_rect.c161 float dsdx, dsdy, dtdx, dtdy; in lp_setup_is_blit() local
168 dtdy = GET_DADY(inputs)[1][1]*texture->height; in lp_setup_is_blit()
188 util_is_approx(dtdy, 1.0f, 1.0f/LP_MAX_HEIGHT)) { in lp_setup_is_blit()
196 debug_printf("dtdy = %f\n", dtdy); in lp_setup_is_blit()
Dlp_linear_priv.h28 int dtdy; /* 16.16 */ member
Dlp_state_fs_linear.c264 float t0, float dtdx, float dtdy, in init_nearest_sampler() argument
278 samp->fdtdy = dtdy * texture->height * oow; in init_nearest_sampler()
/third_party/mesa3d/src/mesa/swrast/
Ds_points.c89 GLfloat t0, dtdy; in sprite_point() local
129 dtdy = 1.0F / size; in sprite_point()
130 t0 = 0.5F * dtdy; in sprite_point()
134 dtdy = -1.0F / size; in sprite_point()
135 t0 = 1.0F + 0.5F * dtdy; in sprite_point()
157 span.attrStepY[attr][1] = dtdy; in sprite_point()
171 span.attrStepY[VARYING_SLOT_PNTC][1] = dtdy; in sprite_point()
225 tcoord += dtdy; in sprite_point()
Ds_span.h194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
Ds_span.c418 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, in _swrast_compute_lambda() argument
425 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in _swrast_compute_lambda()
440 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
447 GLfloat dtdy2 = (t + dtdy) / (q + dqdy) - t * invQ;
492 const GLfloat dtdy = span->attrStepY[attr][1]; in interpolate_texcoords() local
539 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy, in interpolate_texcoords()
556 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy, in interpolate_texcoords()
Ds_texfilter.c1894 const GLfloat dtdy = span->attrStepY[attr][1]; in sample_lambda_2d_aniso() local
1923 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in sample_lambda_2d_aniso()
/third_party/mesa3d/src/mesa/program/
Dprog_execute.c1121 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; in _mesa_execute_program() local
1124 fetch_vector4(&inst->SrcReg[2], machine, dtdy); in _mesa_execute_program()
1125 machine->FetchTexelDeriv(ctx, texcoord, dtdx, dtdy, in _mesa_execute_program()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c563 const float dtdy = fabsf(derivs[1][1][quad]); in compute_lambda_2d_explicit_gradients() local
565 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_2d_explicit_gradients()
607 const float dtdy = fabsf(derivs[1][1][quad]); in compute_lambda_3d_explicit_gradients() local
611 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_3d_explicit_gradients()
640 const float dtdy = fabsf(derivs[1][1][quad]); in compute_lambda_cube_explicit_gradients() local
644 const float maxy = MAX2(dtdx, dtdy); in compute_lambda_cube_explicit_gradients()