Home
last modified time | relevance | path

Searched refs:dsdy (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear_interp.c132 float dsdy[4]; in lp_linear_init_interp() local
141 memset(dsdy, 0, sizeof(dsdy)); in lp_linear_init_interp()
151 dsdy[j] = dady[j] * oow; in lp_linear_init_interp()
159 dsdy[j] = dady[j]; in lp_linear_init_interp()
164 s0[0] += x * dsdx[0] + y * dsdy[0]; in lp_linear_init_interp()
165 s0[1] += x * dsdx[1] + y * dsdy[1]; in lp_linear_init_interp()
166 s0[2] += x * dsdx[2] + y * dsdy[2]; in lp_linear_init_interp()
167 s0[3] += x * dsdx[3] + y * dsdy[3]; in lp_linear_init_interp()
182 float c = s0[j] + (height - 1) * dsdy[j]; in lp_linear_init_interp()
183 float d = s0[j] + (height - 1) * dsdy[j] + (width - 1) * dsdx[j]; in lp_linear_init_interp()
[all …]
Dlp_linear_sampler.c221 samp->s += samp->dsdy; in fetch_bgra()
253 samp->s += samp->dsdy; in fetch_bgrx()
291 samp->s += samp->dsdy; in fetch_bgra_clamp()
327 samp->s += samp->dsdy; in fetch_bgrx_clamp()
491 samp->s += samp->dsdy; in fetch_bgra_linear()
606 samp->s += samp->dsdy; in fetch_bgra_clamp_linear()
754 float dsdy = dady[schan->u.index+1][schan->swizzle]; in lp_linear_init_sampler() local
765 float fdsdy = dsdy * width_oow; in lp_linear_init_sampler()
786 samp->dsdy = float_to_fixed16(fdsdy); in lp_linear_init_sampler()
791 samp->axis_aligned = (samp->dsdy == 0 && in lp_linear_init_sampler()
[all …]
Dlp_setup_rect.c161 float dsdx, dsdy, dtdx, dtdy; in lp_setup_is_blit() local
166 dsdy = GET_DADX(inputs)[1][1]*texture->width; in lp_setup_is_blit()
186 util_is_approx(dsdy, 0.0f, 1.0f/LP_MAX_HEIGHT) && in lp_setup_is_blit()
194 debug_printf("dsdy = %f\n", dsdy); in lp_setup_is_blit()
Dlp_linear_priv.h26 int dsdy; /* 16.16 */ member
Dlp_state_fs_linear.c263 float s0, float dsdx, float dsdy, in init_nearest_sampler() argument
276 samp->fdsdy = dsdy * texture->width * oow; in init_nearest_sampler()
296 if (dsdy != 0 || dtdx != 0) in init_nearest_sampler()
/third_party/mesa3d/src/mesa/swrast/
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
424 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); in _swrast_compute_lambda()
440 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
446 GLfloat dsdy2 = (s + dsdy) / (q + dqdy) - s * invQ;
490 const GLfloat dsdy = span->attrStepY[attr][0]; 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.c1892 const GLfloat dsdy = span->attrStepY[attr][0]; in sample_lambda_2d_aniso() local
1922 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); in sample_lambda_2d_aniso()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c519 const float dsdy = fabsf(derivs[0][1][quad]); in compute_lambda_1d_explicit_gradients() local
520 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_1d_explicit_gradients()
561 const float dsdy = fabsf(derivs[0][1][quad]); in compute_lambda_2d_explicit_gradients() local
564 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_2d_explicit_gradients()
605 const float dsdy = fabsf(derivs[0][1][quad]); in compute_lambda_3d_explicit_gradients() local
610 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_3d_explicit_gradients()
638 const float dsdy = fabsf(derivs[0][1][quad]); in compute_lambda_cube_explicit_gradients() local
643 const float maxx = MAX2(dsdx, dsdy); in compute_lambda_cube_explicit_gradients()