Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp507 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()
/third_party/openGLES/extensions/SGIX/
DSGIX_texture_mipmap_anisotropic.txt114 Py = sqrt(dudy^2 + dvdy^2)
167 Tau = 1/N \ Tau(u(x,y)+dudy(i/(N+1)-1/2), v(x,y)+dvdy(i/(N+1)-1/2)), Py >= Px
199 If SGIX_texture_lod_bias is supported, dudx, dvdx, dwdx, dudy, dvdy, dwdy
DSGIX_texture_supersample.txt77 Py = sqrt(dudy^2 + dvdy^2)
150 If SGIX_texture_lod_bias is supported, dudx, dvdx, dwdx, dudy, dvdy, dwdy
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_texture_mipmap_anisotropic.txt114 Py = sqrt(dudy^2 + dvdy^2)
167 Tau = 1/N \ Tau(u(x,y)+dudy(i/(N+1)-1/2), v(x,y)+dvdy(i/(N+1)-1/2)), Py >= Px
199 If SGIX_texture_lod_bias is supported, dudx, dvdx, dwdx, dudy, dvdy, dwdy
DSGIX_texture_supersample.txt77 Py = sqrt(dudy^2 + dvdy^2)
150 If SGIX_texture_lod_bias is supported, dudx, dvdx, dwdx, dudy, dvdy, dwdy
/third_party/vk-gl-cts/framework/common/
DtcuTexLookupVerifier.hpp108 …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, …
DtcuTexLookupVerifier.cpp2211 …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()
/third_party/mesa3d/src/mesa/swrast/
Ds_aaline.c198 GLfloat dvdy = tPlane[1] / tPlane[2] * invQ * height; in compute_lambda() local
200 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.c425 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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp178 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
179 …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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp294 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
300 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
307 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
322 …romDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) in computeLodFromDerivates() argument
328 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
335 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
903 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture() local
904 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
962 float dvdy = (c01.t - c00.t)*(float)m_textureSpec.height / (float)viewportSize[1]; in initTexture() local
963 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
[all …]
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_texture_filter_anisotropic.txt152 Py = sqrt(dudy^2 + dvdy^2)
212 Tau_Aniso = 1/N \ Tau(u(x,y)+dudy(i/(N+1)-1/2), v(x,y)+dvdy(i/(N+1)-1/2)), Py >= Px
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_texture_filter_anisotropic.txt166 Py = sqrt(dudy^2 + dvdy^2)
229 TauAniso = 1/N \ Tau(u(x,y)+dudy(i/(N+1)-1/2), v(x,y)+dvdy(i/(N+1)-1/2)), Py >= Px
/third_party/openGLES/extensions/ARB/
DARB_texture_filter_anisotropic.txt167 Py = sqrt(dudy^2 + dvdy^2)
227 Tau_Aniso = 1/N \ Tau(u(x,y)+dudy(i/(N+1)-1/2), v(x,y)+dvdy(i/(N+1)-1/2)), Py >= Px
/third_party/openGLES/extensions/EXT/
DEXT_texture_filter_anisotropic.txt166 Py = sqrt(dudy^2 + dvdy^2)
229 TauAniso = 1/N \ Tau(u(x,y)+dudy(i/(N+1)-1/2), v(x,y)+dvdy(i/(N+1)-1/2)), Py >= Px
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c2350 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()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSamplerCore.cpp1145 Float4 dvdy = duvdxy.wwww; in computeLod2D() local
1149 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod2D()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DSamplerCore.cpp1415 Float4 dvdy = duvdxy.wwww; in computeLod() local
1419 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()