Home
last modified time | relevance | path

Searched refs:dvdy (Results 1 – 15 of 15) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp107 …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, …
DtcuTexLookupVerifier.cpp2120 …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/
Ds_aaline.c199 GLfloat dvdy = tPlane[1] / tPlane[2] * invQ * height; in compute_lambda() local
201 GLfloat r2 = dvdx * dvdx + dvdy * dvdy; in compute_lambda()
Ds_texfilter.c1651 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()
Ds_span.c422 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/
Des2fShaderTextureFunctionTests.cpp353 …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()
Des2fTextureUnitTests.cpp225 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/
DvktShaderRenderTextureFunctionTests.cpp270 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/
DgluTextureTestUtil.hpp167 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);
DgluTextureTestUtil.cpp210 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/
Des3fTextureUnitTests.cpp305 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()
Des3fVertexTextureTests.cpp1303 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()
Des3fShaderTextureFunctionTests.cpp599 …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/
Dsp_tex_sample.c2215 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/
DSamplerCore.cpp1433 Float4 dvdy = duvdxy.wwww; in computeLod() local
1437 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()