Home
last modified time | relevance | path

Searched refs:dvdy (Results 1 – 16 of 16) 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.cpp2206 …t dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, … in computeLodBoundsFromDerivates() argument
2212 const float mvy = deFloatAbs(dvdy); in computeLodBoundsFromDerivates()
2244 …ivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision… in computeLodBoundsFromDerivates() argument
2246 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2288 const float dvdy = float(faceSize) * 0.5f * (tcdy*ma - tc*mady) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2289 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.c424 GLfloat dvdy = texH * ((t + dtdy) / (q + dqdy) - t * invQ); in _swrast_compute_lambda() local
426 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/framework/opengl/
DgluTextureTestUtil.hpp170 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
171 …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/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp293 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/
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.c2198 const float dudy, const float dvdy, in img_filter_2d_ewa() argument
2212 const float vy = dvdy * scaling; in img_filter_2d_ewa()
2417 const float dvdy = (t[QUAD_TOP_LEFT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; in mip_filter_linear_aniso() local
2430 const float Py2 = dudy * dudy + dvdy * dvdy; in mip_filter_linear_aniso()
2500 level0, dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp1323 Float4 dvdy = duvdxy.wwww; in computeLod() local
1327 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1414 Float4 dvdy = duvdxy.wwww; in computeLod() local
1418 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()