/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear_sampler.c | 155 const int dsdx = samp->dsdx; in fetch_bgra_axis_aligned() local 163 s += dsdx; in fetch_bgra_axis_aligned() 178 const int dsdx = samp->dsdx; in fetch_bgrx_axis_aligned() local 186 s += dsdx; in fetch_bgrx_axis_aligned() 202 const int dsdx = samp->dsdx; in fetch_bgra() local 217 s += dsdx; in fetch_bgra() 234 const int dsdx = samp->dsdx; in fetch_bgrx() local 249 s += dsdx; in fetch_bgrx() 269 const int dsdx = samp->dsdx; in fetch_bgra_clamp() local 287 s += dsdx; in fetch_bgra_clamp() [all …]
|
D | lp_linear_interp.c | 131 float dsdx[4]; in lp_linear_init_interp() local 140 memset(dsdx, 0, sizeof(dsdx)); in lp_linear_init_interp() 150 dsdx[j] = dadx[j] * oow; in lp_linear_init_interp() 158 dsdx[j] = dadx[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() 181 float b = s0[j] + (width - 1) * dsdx[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_setup_rect.c | 161 float dsdx, dsdy, dtdx, dtdy; in lp_setup_is_blit() local 165 dsdx = GET_DADX(inputs)[1][0]*texture->width; in lp_setup_is_blit() 185 if (util_is_approx(dsdx, 1.0f, 1.0f/LP_MAX_WIDTH) && in lp_setup_is_blit() 193 debug_printf("dsdx = %f\n", dsdx); in lp_setup_is_blit()
|
D | lp_linear_priv.h | 25 int dsdx; /* 16.16 */ member
|
D | lp_state_fs_linear.c | 263 float s0, float dsdx, float dsdy, in init_nearest_sampler() argument 275 samp->fdsdx = dsdx * texture->width * oow; in init_nearest_sampler()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_span.c | 418 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, in _swrast_compute_lambda() argument 422 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda() 440 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, 444 GLfloat dsdx2 = (s + dsdx) / (q + dqdx) - s * invQ; 489 const GLfloat dsdx = span->attrStepX[attr][0]; in interpolate_texcoords() local 496 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx; in interpolate_texcoords() 539 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy, in interpolate_texcoords() 542 s += dsdx; in interpolate_texcoords() 556 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy, in interpolate_texcoords() 559 s += dsdx; in interpolate_texcoords() [all …]
|
D | s_points.c | 123 GLfloat s, dsdx; in sprite_point() local 127 dsdx = 1.0F / size; in sprite_point() 151 span.attrStepX[attr][0] = dsdx; in sprite_point() 168 span.attrStepX[VARYING_SLOT_PNTC][0] = dsdx; in sprite_point()
|
D | s_span.h | 194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
|
D | s_texfilter.c | 1891 const GLfloat dsdx = span->attrStepX[attr][0]; in sample_lambda_2d_aniso() local 1897 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx; in sample_lambda_2d_aniso() 1920 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in sample_lambda_2d_aniso() 1936 s += dsdx; in sample_lambda_2d_aniso()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 518 const float dsdx = fabsf(derivs[0][0][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() 560 const float dsdx = fabsf(derivs[0][0][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() 604 const float dsdx = fabsf(derivs[0][0][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() 637 const float dsdx = fabsf(derivs[0][0][quad]); in compute_lambda_cube_explicit_gradients() local 643 const float maxx = MAX2(dsdx, dsdy); in compute_lambda_cube_explicit_gradients()
|