Searched refs:dsdy (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear_interp.c | 132 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 …]
|
D | lp_linear_sampler.c | 221 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 …]
|
D | lp_setup_rect.c | 161 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()
|
D | lp_linear_priv.h | 26 int dsdy; /* 16.16 */ member
|
D | lp_state_fs_linear.c | 263 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/ |
D | s_span.h | 194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
|
D | s_span.c | 418 _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()
|
D | s_texfilter.c | 1892 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/ |
D | sp_tex_sample.c | 519 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()
|