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

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_linear_interp.c131 float dsdx[4]; local in function:lp_linear_init_interp
140 memset(dsdx, 0, sizeof(dsdx));
150 dsdx[j] = dadx[j] * oow;
158 dsdx[j] = dadx[j];
164 s0[0] += x * dsdx[0] + y * dsdy[0];
165 s0[1] += x * dsdx[1] + y * dsdy[1];
166 s0[2] += x * dsdx[2] + y * dsdy[2];
167 s0[3] += x * dsdx[3] + y * dsdy[3];
181 float b = s0[j] + (width - 1) * dsdx[
[all...]
H A Dlp_linear_sampler.c155 const int dsdx = samp->dsdx; local in function:fetch_bgra_axis_aligned
163 s += dsdx;
178 const int dsdx = samp->dsdx; local in function:fetch_bgrx_axis_aligned
186 s += dsdx;
202 const int dsdx = samp->dsdx; local in function:fetch_bgra
217 s += dsdx;
234 const int dsdx local in function:fetch_bgrx
269 const int dsdx = samp->dsdx; local in function:fetch_bgra_clamp
305 const int dsdx = samp->dsdx; local in function:fetch_bgrx_clamp
452 const int dsdx = samp->dsdx; local in function:fetch_bgra_linear
509 const int dsdx = samp->dsdx; local in function:fetch_bgra_clamp_linear
753 float dsdx = dadx[schan->u.index+1][schan->swizzle]; local in function:lp_linear_init_sampler
795 int dsdx = samp->dsdx >= 0 ? samp->dsdx : -samp->dsdx; local in function:lp_linear_init_sampler
[all...]
H A Dlp_linear_priv.h25 int dsdx; /* 16.16 */ member in struct:lp_linear_sampler
H A Dlp_setup_rect.c161 float dsdx, dsdy, dtdx, dtdy; local in function:lp_setup_is_blit
165 dsdx = GET_DADX(inputs)[1][0]*texture->width;
185 if (util_is_approx(dsdx, 1.0f, 1.0f/LP_MAX_WIDTH) &&
193 debug_printf("dsdx = %f\n", dsdx);
H A Dlp_state_fs_linear.c263 float s0, float dsdx, float dsdy,
275 samp->fdsdx = dsdx * texture->width * oow;
259 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) argument
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnv04_xv_blit.c61 CARD32 dsdx, dtdy; local in function:NVPutBlitImage
75 dsdx = (src_w << 20) / drw_w;
148 PUSH_DATA (push, dsdx);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_span.h194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
H A Ds_span.c418 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, argument
422 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ);
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]; local in function:interpolate_texcoords
496 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx;
539 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy,
542 s += dsdx;
556 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy,
559 s += dsdx;
[all...]
H A Ds_points.c123 GLfloat s, r, dsdx; local in function:sprite_point
127 dsdx = 1.0F / size;
158 span.attrStepX[attr][0] = dsdx;
175 span.attrStepX[VARYING_SLOT_PNTC][0] = dsdx;
H A Ds_texfilter.c1891 const GLfloat dsdx = span->attrStepX[attr][0]; local in function:sample_lambda_2d_aniso
1897 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx;
1920 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ);
1936 s += dsdx;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_span.h194 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy,
H A Ds_span.c418 _swrast_compute_lambda(GLfloat dsdx, GLfloat dsdy, GLfloat dtdx, GLfloat dtdy, argument
422 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ);
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]; local in function:interpolate_texcoords
496 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx;
539 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy,
542 s += dsdx;
556 lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy,
559 s += dsdx;
[all...]
H A Ds_points.c123 GLfloat s, dsdx; local in function:sprite_point
127 dsdx = 1.0F / size;
151 span.attrStepX[attr][0] = dsdx;
168 span.attrStepX[VARYING_SLOT_PNTC][0] = dsdx;
H A Ds_texfilter.c1891 const GLfloat dsdx = span->attrStepX[attr][0]; local in function:sample_lambda_2d_aniso
1897 GLfloat s = span->attrStart[attr][0] + span->leftClip * dsdx;
1920 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ);
1936 s += dsdx;
/xsrc/external/mit/xf86-video-nv/dist/src/
H A Dnv_video.c562 CARD32 dsdx, dtdy, size, point, srcpoint, format; local in function:NVPutBlitImage
564 dsdx = (src_w << 20) / drw_w;
615 NVDmaNext (pNv, dsdx);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c504 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_1d_explicit_gradients
506 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
546 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_2d_explicit_gradients
550 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
590 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_3d_explicit_gradients
596 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
623 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_cube_explicit_gradients
629 const float maxx = MAX2(dsdx, dsdy);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c518 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_1d_explicit_gradients
520 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
560 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_2d_explicit_gradients
564 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
604 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_3d_explicit_gradients
610 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level);
637 const float dsdx = fabsf(derivs[0][0][quad]); local in function:compute_lambda_cube_explicit_gradients
643 const float maxx = MAX2(dsdx, dsdy);

Completed in 40 milliseconds