Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
102 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.cpp2120 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates() argument
2122 const float mux = deFloatAbs(dudx); in computeLodBoundsFromDerivates()
2158 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates() argument
2160 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2163 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument
2165 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec); in computeLodBoundsFromDerivates()
2199 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2203 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp166 float computeLodFromDerivates (LodMode mode, float dudx, float dudy);
167 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
168 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/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp249 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument
258 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
270 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
276 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
282 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
298 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float … in computeLodFromDerivates() argument
304 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
310 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
687 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
689 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c194 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; in compute_lambda() local
198 GLfloat r1 = dudx * dudx + dudy * dudy; in compute_lambda()
Ds_texfilter.c1645 const GLfloat dudx, const GLfloat dvdx, in sample_2d_ewa() argument
1659 GLfloat ux = dudx * scaling; in sample_2d_ewa()
1772 const GLfloat dudx, const GLfloat dvdx, in sample_2d_footprint() argument
1780 GLfloat ux = dudx * scaling; in sample_2d_footprint()
1915 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * 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.c418 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda() local
422 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/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.c1635 const float dudx, const float dvdx, in img_filter_2d_ewa() argument
1648 float ux = dudx * scaling; in img_filter_2d_ewa()
1830 float dudx = (s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; 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()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1427 Float4 dudx = duvdxy.xxxx; in computeLod() local
1433 uDelta = As<Float4>(As<Int4>(dudx) & mask | As<Int4>(dudy) & ~mask); in computeLod()