Searched refs:fdsdx (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear.c55 float fdsdx; /* sx */ member in struct:nearest_sampler
185 int iscale_x = samp->fdsdx * 256;
215 float scale_x = samp->fdsdx;
244 int xx = util_iround(xrow + samp->fdsdx * i);
275 samp->fdsdx = dsdx * texture->width * oow;
279 samp->fsrc_x = (samp->fdsdx * x0 +
309 int isrc_x1 = util_iround(samp->fsrc_x + width * samp->fdsdx);
H A Dlp_linear_sampler.c764 float fdsdx = dsdx * width_oow; local in function:lp_linear_init_sampler
777 samp->s = float_to_fixed16(fdsdx * x0 +
785 samp->dsdx = float_to_fixed16(fdsdx);

Completed in 6 milliseconds