/external/deqp/framework/common/ |
H A D | tcuTexLookupVerifier.hpp | 107 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec); 108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec);
|
H A D | tcuTexLookupVerifier.cpp | 2120 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) argument 2123 const float mvx = deFloatAbs(dvdx); 2158 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec) argument 2160 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); 2200 const float dvdx = float(faceSize) * 0.5f * (tcdx*ma - tc*madx) / (ma*ma); local 2203 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.c | 198 GLfloat dvdx = tPlane[0] / tPlane[2] * invQ * height; local 201 GLfloat r2 = dvdx * dvdx + dvdy * dvdy;
|
H A D | s_texfilter.c | 1650 const GLfloat dudx, const GLfloat dvdx, 1665 GLfloat vx = dvdx * scaling; 1777 const GLfloat dudx, const GLfloat dvdx, 1786 GLfloat vx = dvdx * scaling; 1921 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); local 1928 GLfloat Px2 = dudx * dudx + dvdx * dvdx; 1996 dudx, dvdx, dudy, dvdy, (GLint) floorf(lod), rgba[i]); 2002 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]); 1646 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 1773 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
|
H A D | s_span.c | 420 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); local 423 GLfloat x = sqrtf(dudx * dudx + dvdx * dvdx);
|
/external/deqp/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 167 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy); 168 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy);
|
H A D | gluTextureTestUtil.cpp | 210 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) argument 216 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); 223 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 250 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument 256 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy)); 263 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); local 327 return computeLodFromDerivates(mode, dudx, dvdx, dud 335 float dvdx = triDerivateX(v, projection, wx, width, wy/height); local 602 const float dvdx = float(faceSize) * 0.5f * (tcdx*ma - tc*madx) / (ma*ma); local [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 224 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); local 227 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); 235 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); local 238 return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(dvdy))));
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fVertexTextureTests.cpp | 1302 const float dvdx = (trans10.y() - trans00.y()) * (float)texHeight / dstSize.x(); local 1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); 1643 const float dvdx = (trans10.y() - trans00.y()) * (float)srcHeight / dstSize.x(); local 1648 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + dwdy*dwdy)));
|
H A D | es3fTextureUnitTests.cpp | 304 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); local 310 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); 320 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); local 326 const float mv = de::max(de::abs(dvdx), de::abs(dvdy));
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.c | 2214 const float dudx, const float dvdx, 2227 const float vx = dvdx * scaling; 2433 const float dvdx = (t[QUAD_BOTTOM_RIGHT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; local 2446 const float Px2 = dudx * dudx + dvdx * dvdx; 2517 level0, dudx, dvdx, dudy, dvdy, rgba); 2204 img_filter_2d_ewa(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, img_filter_func min_filter, img_filter_func mag_filter, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const uint faces[TGSI_QUAD_SIZE], const int8_t *offset, unsigned level, const float dudx, const float dvdx, const float dudy, const float dvdy, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 281 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) argument 287 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); 294 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 309 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument 315 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy)); 322 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 3793 // \note Only one of dudx, dudy, dvdx, dvdy is non-zero since spec allows approximating p from derivates by various methods.
|
/external/swiftshader/src/Shader/ |
H A D | SamplerCore.cpp | 1417 Float4 dvdx = duvdxy.zzzz; local 1422 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask)));
|