Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_span.c185 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_active_attribs() local
206 w += dwdx; in interpolate_active_attribs()
528 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_texcoords() local
529 GLfloat w = span->attrStart[VARYING_SLOT_POS][3] + span->leftClip * dwdx; in interpolate_texcoords()
543 w += dwdx; in interpolate_texcoords()
569 const GLfloat dwdx = span->attrStepX[VARYING_SLOT_POS][3]; in interpolate_texcoords() local
570 GLfloat w = span->attrStart[VARYING_SLOT_POS][3] + span->leftClip * dwdx; in interpolate_texcoords()
582 w += dwdx; in interpolate_texcoords()
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp108 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
2124 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.hpp168 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.cpp298 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()
312 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy)); in computeLodFromDerivates()
816 …float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.de… in initTexture() local
818 lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy); in initTexture()
2133 …const float dwdx = (m_maxCoord[2]-m_minCoord[2])*0.5f*(float)m_textureSpec.depth / (float)viewport… in TextureQueryLodInstance() local
2136 …m_lodBounds[0] = computeLodFromDerivates(LODMODE_MIN_BOUND, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy)-l… in TextureQueryLodInstance()
2137 …m_lodBounds[1] = computeLodFromDerivates(LODMODE_MAX_BOUND, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy)+l… in TextureQueryLodInstance()