/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.hpp | 101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec); 102 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const f… 103 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const f…
|
D | tcuTexLookupVerifier.cpp | 2053 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates() argument 2055 const float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodBoundsFromDerivates() 2070 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates() argument 2072 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates() 2075 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument 2077 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec); in computeLodBoundsFromDerivates() 2111 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local 2115 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderTextureFunctionTests.cpp | 184 inline float computeLodFromDerivates (float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument 186 float p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates() 357 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*m_textureSpec.width / (float… in initTexture() local 359 m_lookupParams.lod = computeLodFromDerivates(dudx, 0.0f, 0.0f, dvdy); in initTexture() 402 float dudx = (c10.s - c00.s)*m_textureSpec.width / (float)viewportSize[0]; in initTexture() local 405 m_lookupParams.lod = computeLodFromDerivates(dudx, 0.0f, 0.0f, dvdy); in initTexture()
|
D | es2fTextureUnitTests.cpp | 221 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() local 226 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax() 232 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() local 237 …return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(d… in calculateLodMin()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 194 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; in compute_lambda() local 198 GLfloat r1 = dudx * dudx + dudy * dudy; in compute_lambda()
|
D | s_texfilter.c | 1645 const GLfloat dudx, const GLfloat dvdx, in sample_2d_ewa() argument 1659 GLfloat ux = dudx * scaling; in sample_2d_ewa() 1772 const GLfloat dudx, const GLfloat dvdx, in sample_2d_footprint() argument 1780 GLfloat ux = dudx * scaling; in sample_2d_footprint() 1915 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in sample_lambda_2d_aniso() local 1923 GLfloat Px2 = dudx * dudx + dvdx * dvdx; in sample_lambda_2d_aniso() 1991 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]); in sample_lambda_2d_aniso()
|
D | s_span.c | 418 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda() local 422 GLfloat x = SQRTF(dudx * dudx + dvdx * dvdx); in _swrast_compute_lambda()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderTextureFunctionTests.cpp | 251 inline float computeLodFromDerivates (float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument 259 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates() 265 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 279 inline float computeLodFromDerivates (float dudx, float dvdx, float dwdx, float dudy, float dvdy, f… in computeLodFromDerivates() argument 287 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates() 293 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 661 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*m_textureSpec.width / (float… in initTexture() local 663 m_lookupParams.lod = computeLodFromDerivates(dudx, 0.0f, 0.0f, dvdy); in initTexture() 719 float dudx = (c10.s - c00.s)*m_textureSpec.width / (float)viewportSize[0]; in initTexture() local 722 m_lookupParams.lod = computeLodFromDerivates(dudx, 0.0f, 0.0f, dvdy); in initTexture() [all …]
|
D | es3fTextureUnitTests.cpp | 301 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() local 308 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMax() 317 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() local 324 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMin()
|
D | es3fVertexTextureTests.cpp | 1298 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x(); in calculateLod() local 1303 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod() 1639 const float dudx = (trans10.x() - trans00.x()) * (float)srcWidth / dstSize.x(); in calculateLod() local 1646 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 216 inline float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument 225 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 247 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument 253 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates() 259 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 287 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy,… in computeLodFromDerivates() argument 293 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates() 299 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 349 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod() local 352 return computeLodFromDerivates(mode, dudx, dudy); in computeProjectedTriLod() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 1635 const float dudx, const float dvdx, in img_filter_2d_ewa() argument 1648 float ux = dudx * scaling; in img_filter_2d_ewa() 1830 float dudx = (s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; in mip_filter_linear_aniso() local 1839 float Px2 = dudx * dudx + dvdx * dvdx; in mip_filter_linear_aniso() 1898 dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
|