/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/ |
D | esextcTextureShadowLodFunctionsTest.cpp | 507 float dvdy = (m_lookupSpec.maxCoord[1] - m_lookupSpec.minCoord[1]) * (float)m_textureSpec.height / in initTexture() local 509 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 549 float dvdy = (m_lookupSpec.maxCoord[1] - m_lookupSpec.minCoord[1]) * (float)m_textureSpec.height / in initTexture() local 551 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 613 float dvdy = (c01.t - c00.t) * (float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local 615 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 693 float dvdy = (c01.t - c00.t) * (float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local 695 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.hpp | 108 …vates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision… 109 …t dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, …
|
D | tcuTexLookupVerifier.cpp | 2211 …t dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, … in computeLodBoundsFromDerivates() argument 2217 const float mvy = deFloatAbs(dvdy); in computeLodBoundsFromDerivates() 2249 …ivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision… in computeLodBoundsFromDerivates() argument 2251 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates() 2293 const float dvdy = float(faceSize) * 0.5f * (tcdy*ma - tc*mady) / (ma*ma); in computeCubeLodBoundsFromDerivates() local 2294 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 198 GLfloat dvdy = tPlane[1] / tPlane[2] * invQ * height; in compute_lambda() local 200 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 | 425 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in _swrast_compute_lambda() local 427 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/framework/opengl/ |
D | gluTextureTestUtil.hpp | 173 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy); 174 …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/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 293 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument 299 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates() 306 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 321 …romDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) in computeLodFromDerivates() argument 327 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates() 334 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 889 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local 890 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() 948 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local 949 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture() [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 | 2350 const float dudy, const float dvdy, in img_filter_2d_ewa() argument 2364 const float vy = dvdy * scaling; in img_filter_2d_ewa() 2569 const float dvdy = (t[QUAD_TOP_LEFT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; in mip_filter_linear_aniso() local 2582 const float Py2 = dudy * dudy + dvdy * dvdy; in mip_filter_linear_aniso() 2652 level0, dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
|
/external/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 1223 Float4 dvdy = duvdxy.wwww; in computeLod2D() local 1227 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod2D()
|
/external/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 1415 Float4 dvdy = duvdxy.wwww; in computeLod() local 1419 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()
|