Home
last modified time | relevance | path

Searched refs:dvdx (Results 1 – 14 of 14) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const f…
109 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const f…
DtcuTexLookupVerifier.cpp2211 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates() argument
2214 const float mvx = deFloatAbs(dvdx); in computeLodBoundsFromDerivates()
2249 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates() argument
2251 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2291 const float dvdx = float(faceSize) * 0.5f * (tcdx*ma - tc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2294 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c197 GLfloat dvdx = tPlane[0] / tPlane[2] * invQ * height; in compute_lambda() local
200 GLfloat r2 = dvdx * dvdx + dvdy * dvdy; in compute_lambda()
Ds_texfilter.c1650 const GLfloat dudx, const GLfloat dvdx, in sample_2d_ewa() argument
1665 GLfloat vx = dvdx * scaling; in sample_2d_ewa()
1777 const GLfloat dudx, const GLfloat dvdx, in sample_2d_footprint() argument
1786 GLfloat vx = dvdx * scaling; in sample_2d_footprint()
1921 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in sample_lambda_2d_aniso() local
1928 GLfloat Px2 = dudx * dudx + dvdx * dvdx; in sample_lambda_2d_aniso()
1996 dudx, dvdx, dudy, dvdy, (GLint) floorf(lod), rgba[i]); in sample_lambda_2d_aniso()
Ds_span.c423 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in _swrast_compute_lambda() local
426 GLfloat x = sqrtf(dudx * dudx + dvdx * dvdx); in _swrast_compute_lambda()
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp224 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() local
227 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax()
235 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin() local
238 …return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(d… in calculateLodMin()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp173 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
174 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, flo…
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 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float … 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()
323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod() local
327 return computeLodFromDerivates(mode, dudx, dvdx, dudy, dvdy); in computeProjectedTriLod()
335 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod() local
341 return computeLodFromDerivates(mode, dudx, dvdx, dwdx, dudy, dvdy, dwdy); in computeProjectedTriLod()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp304 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() local
310 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMax()
320 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin() local
326 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMin()
Des3fVertexTextureTests.cpp1302 const float dvdx = (trans10.y() - trans00.y()) * (float)texHeight / dstSize.x(); in calculateLod() local
1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod()
1643 const float dvdx = (trans10.y() - trans00.y()) * (float)srcHeight / dstSize.x(); in calculateLod() local
1648 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c2349 const float dudx, const float dvdx, in img_filter_2d_ewa() argument
2362 const float vx = dvdx * scaling; in img_filter_2d_ewa()
2568 const float dvdx = (t[QUAD_BOTTOM_RIGHT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; in mip_filter_linear_aniso() local
2581 const float Px2 = dudx * dudx + dvdx * dvdx; in mip_filter_linear_aniso()
2652 level0, dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
/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 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float … 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()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp1222 Float4 dvdx = duvdxy.zzzz; in computeLod2D() local
1227 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod2D()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1414 Float4 dvdx = duvdxy.zzzz; in computeLod() local
1419 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()