Searched defs:dudy (Results 1 - 11 of 11) sorted by relevance

/external/deqp/modules/gles2/functional/
H A Des2fShaderTextureFunctionTests.cpp184 inline float computeLodFromDerivates (float dudx, float dvdx, float dudy, float dvdy) argument
186 float p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy));
H A Des2fTextureUnitTests.cpp222 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); local
226 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy)));
233 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); local
237 return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(dvdy))));
/external/mesa3d/src/mesa/swrast/
H A Ds_aaline.c195 GLfloat dudy = sPlane[1] / sPlane[2] * invQ * width; local
198 GLfloat r1 = dudx * dudx + dudy * dudy;
H A Ds_span.c420 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); local
423 GLfloat y = SQRTF(dudy * dudy + dvdy * dvdy);
H A Ds_texfilter.c1646 const GLfloat dudy, const GLfloat dvdy, const GLint lod,
1661 GLfloat uy = dudy * scaling;
1773 const GLfloat dudy, const GLfloat dvdy, const GLint lod,
1782 GLfloat uy = dudy * scaling;
1917 GLfloat dudy = texW * ((s + dsdy) / (q + dqdy) - s * invQ); local
1924 GLfloat Py2 = dudy * dudy + dvdy * dvdy;
1991 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]);
1997 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]);
1641 sample_2d_ewa(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
1768 sample_2d_footprint(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
/external/deqp/modules/gles3/functional/
H A Des3fTextureUnitTests.cpp302 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); local
308 const float mu = de::max(de::abs(dudx), de::abs(dudy));
318 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); local
324 const float mu = de::max(de::abs(dudx), de::abs(dudy));
H A Des3fVertexTextureTests.cpp1299 const float dudy = (trans01.x() - trans00.x()) * (float)texWidth / dstSize.y(); local
1303 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy)));
1640 const float dudy = (trans01.x() - trans00.x()) * (float)srcWidth / dstSize.y(); local
1646 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + dwdy*dwdy)));
H A Des3fShaderTextureFunctionTests.cpp251 inline float computeLodFromDerivates (float dudx, float dvdx, float dudy, float dvdy) argument
259 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy));
265 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
279 inline float computeLodFromDerivates (float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument
287 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy));
293 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
1870 // \note Only one of dudx, dudy, dvdx, dvdy is non-zero since spec allows approximating p from derivates by various methods.
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.cpp2053 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) argument
2055 const float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
2070 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec) argument
2072 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec);
2075 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) argument
2077 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec);
2113 const float dudy = float(faceSize) * 0.5f * (scdy*ma - sc*mady) / (ma*ma); local
2115 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec);
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.cpp216 inline float computeLodFromDerivates (LodMode mode, float dudx, float dudy) argument
225 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
247 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) argument
253 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy));
259 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
287 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument
293 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy));
299 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
350 float dudy = triDerivateY(u, projection, wy, height, wx/width); local
361 float dudy = triDerivateY(u, projection, wy, height, wx/width); local
374 float dudy = triDerivateY(u, projection, wy, height, wx/width); local
640 const float dudy = float(faceSize) * 0.5f * (scdy*ma - sc*mady) / (ma*ma); local
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c1636 const float dudy, const float dvdy,
1650 float uy = dudy * scaling;
1831 float dudy = (s[QUAD_TOP_LEFT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; local
1840 float Py2 = dudy * dudy + dvdy * dvdy;
1898 dudx, dvdx, dudy, dvdy, rgba);
1629 img_filter_2d_ewa(struct tgsi_sampler *tgsi_sampler, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], unsigned level, enum tgsi_sampler_control control, const float dudx, const float dvdx, const float dudy, const float dvdy, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument

Completed in 199 milliseconds