Home
last modified time | relevance | path

Searched refs:dsdx (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_linear_sampler.c154 const int dsdx = samp->dsdx; in fetch_bgra_axis_aligned() local
161 s += dsdx; in fetch_bgra_axis_aligned()
177 const int dsdx = samp->dsdx; in fetch_bgrx_axis_aligned() local
184 s += dsdx; in fetch_bgrx_axis_aligned()
201 const int dsdx = samp->dsdx; in fetch_bgra() local
215 s += dsdx; in fetch_bgra()
232 const int dsdx in fetch_bgrx() local
266 const int dsdx = samp->dsdx; fetch_bgra_clamp() local
299 const int dsdx = samp->dsdx; fetch_bgrx_clamp() local
435 const int dsdx = samp->dsdx; fetch_bgra_linear() local
491 const int dsdx = samp->dsdx; fetch_bgra_clamp_linear() local
736 float dsdx = dadx[schan->u.index+foo][schan->swizzle]; lp_linear_init_sampler() local
778 int dsdx = samp->dsdx >= 0 ? samp->dsdx : -samp->dsdx; lp_linear_init_sampler() local
[all...]
H A Dlp_linear_interp.c130 float dsdx[4]; in lp_linear_init_interp() local
138 memset(dsdx, 0, sizeof(dsdx)); in lp_linear_init_interp()
148 dsdx[j] = dadx[j] * oow; in lp_linear_init_interp()
156 dsdx[j] = dadx[j]; in lp_linear_init_interp()
162 s0[0] += x * dsdx[0] + y * dsdy[0]; in lp_linear_init_interp()
163 s0[1] += x * dsdx[1] + y * dsdy[1]; in lp_linear_init_interp()
164 s0[2] += x * dsdx[2] + y * dsdy[2]; in lp_linear_init_interp()
165 s0[3] += x * dsdx[3] + y * dsdy[3]; in lp_linear_init_interp()
180 float b = s0[j] + (width - 1) * dsdx[ in lp_linear_init_interp()
[all...]
H A Dlp_setup_rect.c161 const float dsdx = GET_DADX(inputs)[1][0] * texture->width; in lp_setup_is_blit() local
181 if (util_is_approx(dsdx, 1.0f, 1.0f/LP_MAX_WIDTH) && in lp_setup_is_blit()
188 debug_printf("dsdx = %f\n", dsdx); in lp_setup_is_blit()
H A Dlp_linear_priv.h25 int dsdx; /* 16.16 */ member
H A Dlp_state_fs_linear.c260 float s0, float dsdx, float dsdy, in init_nearest_sampler()
271 samp->fdsdx = dsdx * texture->width * oow; in init_nearest_sampler()
256 init_nearest_sampler(struct nearest_sampler *samp, const struct lp_jit_texture *texture, int x0, int y0, int width, int height, float s0, float dsdx, float dsdy, float t0, float dtdx, float dtdy, float w0, float dwdx, float dwdy) init_nearest_sampler() argument
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c518 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()

Completed in 10 milliseconds