Home
last modified time | relevance | path

Searched refs:dwdx (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_span.c188 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_active_attribs() local
209 w += dwdx; in interpolate_active_attribs()
531 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_texcoords() local
532 GLfloat w = span->attrStart[VARYING_SLOT_POS][3] + span->leftClip * dwdx; in interpolate_texcoords()
546 w += dwdx; in interpolate_texcoords()
572 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_texcoords() local
573 GLfloat w = span->attrStart[VARYING_SLOT_POS][3] + span->leftClip * dwdx; in interpolate_texcoords()
585 w += dwdx; in interpolate_texcoords()
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp109 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
2215 const float mwx = deFloatAbs(dwdx); in computeLodBoundsFromDerivates()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp306 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); in calculateLodMax() local
311 const float mw = de::max(de::abs(dwdx), de::abs(dwdy)); in calculateLodMax()
322 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); in calculateLodMin() local
327 const float mw = de::max(de::abs(dwdx), de::abs(dwdy)); in calculateLodMin()
Des3fVertexTextureTests.cpp1645 const float dwdx = (trans10.z() - trans00.z()) * (float)srcDepth / dstSize.x(); in calculateLod() local
1648 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
Des3fShaderTextureFunctionTests.cpp724 …float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.de… in initTexture() local
726 …m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy); in initTexture()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp188 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, flo…
DgluTextureTestUtil.cpp250 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()
264 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy)); in computeLodFromDerivates()
336 float dwdx = triDerivateX(w, projection, wx, width, wy/height); in computeProjectedTriLod() local
341 return computeLodFromDerivates(mode, dudx, dvdx, dwdx, dudy, dvdy, dwdy); in computeProjectedTriLod()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp323 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float … in computeLodFromDerivates() argument
329 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
337 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy)); in computeLodFromDerivates()
1037 …float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.de… in initTexture() local
1039 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy); in initTexture()
2756 …const float dwdx = (m_maxCoord[2]-m_minCoord[2])*0.5f*(float)m_textureSpec.depth / (float)viewport… in TextureQueryLodInstance() local
2759 …m_lodBounds[0] = computeLodFromDerivates(LODMODE_MIN_BOUND, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy)-l… in TextureQueryLodInstance()
2760 …m_lodBounds[1] = computeLodFromDerivates(LODMODE_MAX_BOUND, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy)+l… in TextureQueryLodInstance()