Home
last modified time | relevance | path

Searched refs:dudx (Results 1 – 16 of 16) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp106 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
107 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const f…
108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const f…
DtcuTexLookupVerifier.cpp2206 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates() argument
2208 const float mux = deFloatAbs(dudx); in computeLodBoundsFromDerivates()
2244 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates() argument
2246 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2249 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument
2251 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec); in computeLodBoundsFromDerivates()
2285 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2289 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp169 float computeLodFromDerivates (LodMode mode, float dudx, float dudy);
170 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
171 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, flo…
DgluTextureTestUtil.cpp179 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument
188 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
210 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()
222 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); 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()
262 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
312 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod() local
315 return computeLodFromDerivates(mode, dudx, dudy); in computeProjectedTriLod()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c196 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; in compute_lambda() local
200 GLfloat r1 = dudx * dudx + dudy * dudy; in compute_lambda()
Ds_texfilter.c1650 const GLfloat dudx, const GLfloat dvdx, in sample_2d_ewa() argument
1664 GLfloat ux = dudx * scaling; in sample_2d_ewa()
1777 const GLfloat dudx, const GLfloat dvdx, in sample_2d_footprint() argument
1785 GLfloat ux = dudx * scaling; in sample_2d_footprint()
1920 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * 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.c421 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda() local
425 GLfloat x = sqrtf(dudx * dudx + dvdx * dvdx); in _swrast_compute_lambda()
/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp352 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
354 …tureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture()
397 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture() local
400 …tureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture()
Des2fTextureUnitTests.cpp222 float dudx = derivateParts.x() * (float)textureSize.x() * 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()
233 float dudx = derivateParts.x() * (float)textureSize.x() * 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/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp272 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument
281 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
293 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()
305 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); 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()
333 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
888 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
890 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp302 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() local
309 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMax()
318 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() local
325 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMin()
Des3fVertexTextureTests.cpp1300 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x(); in calculateLod() local
1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod()
1641 const float dudx = (trans10.x() - trans00.x()) * (float)srcWidth / dstSize.x(); in calculateLod() local
1648 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
Des3fShaderTextureFunctionTests.cpp598 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
600 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
656 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture() local
659 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
692 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
694 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
722 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width … 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.c2197 const float dudx, const float dvdx, in img_filter_2d_ewa() argument
2209 const float ux = dudx * scaling; in img_filter_2d_ewa()
2414 const float dudx = (s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; in mip_filter_linear_aniso() local
2429 const float Px2 = dudx * dudx + dvdx * dvdx; in mip_filter_linear_aniso()
2500 level0, dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp1320 Float4 dudx = duvdxy.xxxx; in computeLod() local
1326 uDelta = As<Float4>((As<Int4>(dudx) & mask) | ((As<Int4>(dudy) & ~mask))); in computeLod()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1411 Float4 dudx = duvdxy.xxxx; in computeLod() local
1417 uDelta = As<Float4>((As<Int4>(dudx) & mask) | ((As<Int4>(dudy) & ~mask))); in computeLod()