/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.hpp | 107 …vates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision… 108 …t dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, …
|
D | tcuTexLookupVerifier.cpp | 2120 …t dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, … in computeLodBoundsFromDerivates() argument 2126 const float mvy = deFloatAbs(dvdy); in computeLodBoundsFromDerivates() 2158 …ivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision… in computeLodBoundsFromDerivates() argument 2160 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates() 2202 const float dvdy = float(faceSize) * 0.5f * (tcdy*ma - tc*mady) / (ma*ma); in computeCubeLodBoundsFromDerivates() local 2203 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 199 GLfloat dvdy = tPlane[1] / tPlane[2] * invQ * height; in compute_lambda() local 201 GLfloat r2 = dvdx * dvdx + dvdy * dvdy; in compute_lambda()
|
D | s_texfilter.c | 1651 const GLfloat dudy, const GLfloat dvdy, const GLint lod, in sample_2d_ewa() argument 1667 GLfloat vy = dvdy * scaling; in sample_2d_ewa() 1778 const GLfloat dudy, const GLfloat dvdy, const GLint lod, in sample_2d_footprint() argument 1788 GLfloat vy = dvdy * scaling; in sample_2d_footprint() 1923 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in sample_lambda_2d_aniso() local 1929 GLfloat Py2 = dudy * dudy + dvdy * dvdy; in sample_lambda_2d_aniso() 1996 dudx, dvdx, dudy, dvdy, (GLint) floorf(lod), rgba[i]); in sample_lambda_2d_aniso()
|
D | s_span.c | 422 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in _swrast_compute_lambda() local 424 GLfloat y = sqrtf(dudy * dudy + dvdy * dvdy); in _swrast_compute_lambda()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderTextureFunctionTests.cpp | 353 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local 354 …tureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture() 398 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local 400 …tureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture()
|
D | es2fTextureUnitTests.cpp | 225 float dvdy = derivateParts.w() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMax() local 227 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax() 236 float dvdy = derivateParts.w() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMin() local 238 …deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(dvdy)))); in calculateLodMin()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 270 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument 276 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates() 283 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 298 …romDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) in computeLodFromDerivates() argument 304 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates() 311 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 688 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local 689 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 747 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local 748 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 167 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy); 168 …mDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy);
|
D | gluTextureTestUtil.cpp | 210 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument 216 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates() 223 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 250 …romDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) in computeLodFromDerivates() argument 256 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates() 263 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 325 float dvdy = triDerivateY(v, projection, wy, height, wx/width); in computeProjectedTriLod() local 327 return computeLodFromDerivates(mode, dudx, dvdx, dudy, dvdy); in computeProjectedTriLod() 338 float dvdy = triDerivateY(v, projection, wy, height, wx/width); in computeProjectedTriLod() local 341 return computeLodFromDerivates(mode, dudx, dvdx, dwdx, dudy, dvdy, dwdy); in computeProjectedTriLod() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 305 float dvdy = derivateParts[1].y() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMax() local 310 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMax() 321 float dvdy = derivateParts[1].y() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMin() local 326 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMin()
|
D | es3fVertexTextureTests.cpp | 1303 const float dvdy = (trans01.y() - trans00.y()) * (float)texHeight / dstSize.y(); in calculateLod() local 1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod() 1644 const float dvdy = (trans01.y() - trans00.y()) * (float)srcHeight / dstSize.y(); in calculateLod() local 1648 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
|
D | es3fShaderTextureFunctionTests.cpp | 599 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local 600 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 657 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local 659 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 693 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local 694 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 723 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local 726 …m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy); in initTexture()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 2215 const float dudy, const float dvdy, in img_filter_2d_ewa() argument 2229 const float vy = dvdy * scaling; in img_filter_2d_ewa() 2434 const float dvdy = (t[QUAD_TOP_LEFT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; in mip_filter_linear_aniso() local 2447 const float Py2 = dudy * dudy + dvdy * dvdy; in mip_filter_linear_aniso() 2517 level0, dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
|
/external/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 1433 Float4 dvdy = duvdxy.wwww; in computeLod() local 1437 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()
|