Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp102 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const f…
103 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const f…
DtcuTexLookupVerifier.cpp2053 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates() argument
2056 const float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodBoundsFromDerivates()
2070 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates() argument
2072 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2112 const float dvdx = float(faceSize) * 0.5f * (tcdx*ma - tc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2115 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c196 GLfloat dvdx = tPlane[0] / tPlane[2] * invQ * height; in compute_lambda() local
199 GLfloat r2 = dvdx * dvdx + dvdy * dvdy; in compute_lambda()
Ds_texfilter.c1645 const GLfloat dudx, const GLfloat dvdx, in sample_2d_ewa() argument
1660 GLfloat vx = dvdx * scaling; in sample_2d_ewa()
1772 const GLfloat dudx, const GLfloat dvdx, in sample_2d_footprint() argument
1781 GLfloat vx = dvdx * scaling; in sample_2d_footprint()
1916 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in sample_lambda_2d_aniso() local
1923 GLfloat Px2 = dudx * dudx + dvdx * dvdx; in sample_lambda_2d_aniso()
1991 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]); in sample_lambda_2d_aniso()
Ds_span.c419 GLfloat dvdx = texH * ((t + dtdx) / (q + dqdx) - t * invQ); in _swrast_compute_lambda() local
422 GLfloat x = SQRTF(dudx * dudx + dvdx * dvdx); in _swrast_compute_lambda()
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp223 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() local
226 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax()
234 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin() local
237 …return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(d… in calculateLodMin()
Des2fShaderTextureFunctionTests.cpp184 inline float computeLodFromDerivates (float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
186 float p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp303 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() local
309 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMax()
319 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin() local
325 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMin()
Des3fVertexTextureTests.cpp1300 const float dvdx = (trans10.y() - trans00.y()) * (float)texHeight / dstSize.x(); in calculateLod() local
1303 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod()
1641 const float dvdx = (trans10.y() - trans00.y()) * (float)srcHeight / dstSize.x(); in calculateLod() local
1646 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
Des3fShaderTextureFunctionTests.cpp251 inline float computeLodFromDerivates (float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
259 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
266 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
279 inline float computeLodFromDerivates (float dudx, float dvdx, float dwdx, float dudy, float dvdy, f… in computeLodFromDerivates() argument
287 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
294 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp247 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
253 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
260 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
287 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy,… in computeLodFromDerivates() argument
293 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
300 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
360 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod() local
364 return computeLodFromDerivates(mode, dudx, dvdx, dudy, dvdy); in computeProjectedTriLod()
372 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod() local
378 return computeLodFromDerivates(mode, dudx, dvdx, dwdx, dudy, dvdy, dwdy); in computeProjectedTriLod()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1635 const float dudx, const float dvdx, in img_filter_2d_ewa() argument
1649 float vx = dvdx * scaling; in img_filter_2d_ewa()
1832 float dvdx = (t[QUAD_BOTTOM_RIGHT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; in mip_filter_linear_aniso() local
1839 float Px2 = dudx * dudx + dvdx * dvdx; in mip_filter_linear_aniso()
1898 dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()