Searched defs:dwdx (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_span.c184 const GLfloat dwdx = span->attrStepX[FRAG_ATTRIB_WPOS][3]; local
205 w += dwdx;
527 const GLfloat dwdx = span->attrStepX[FRAG_ATTRIB_WPOS][3]; local
528 GLfloat w = span->attrStart[FRAG_ATTRIB_WPOS][3] + span->leftClip * dwdx;
542 w += dwdx;
568 const GLfloat dwdx = span->attrStepX[FRAG_ATTRIB_WPOS][3]; local
569 GLfloat w = span->attrStart[FRAG_ATTRIB_WPOS][3] + span->leftClip * dwdx;
581 w += dwdx;
/external/mesa3d/src/mesa/swrast/
H A Ds_span.c184 const GLfloat dwdx = span->attrStepX[FRAG_ATTRIB_WPOS][3]; local
205 w += dwdx;
527 const GLfloat dwdx = span->attrStepX[FRAG_ATTRIB_WPOS][3]; local
528 GLfloat w = span->attrStart[FRAG_ATTRIB_WPOS][3] + span->leftClip * dwdx;
542 w += dwdx;
568 const GLfloat dwdx = span->attrStepX[FRAG_ATTRIB_WPOS][3]; local
569 GLfloat w = span->attrStart[FRAG_ATTRIB_WPOS][3] + span->leftClip * dwdx;
581 w += dwdx;
/external/deqp/modules/gles3/functional/
H A Des3fTextureUnitTests.cpp305 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); local
310 const float mw = de::max(de::abs(dwdx), de::abs(dwdy));
321 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); local
326 const float mw = de::max(de::abs(dwdx), de::abs(dwdy));
H A Des3fVertexTextureTests.cpp1643 const float dwdx = (trans10.z() - trans00.z()) * (float)srcDepth / dstSize.x(); local
1646 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + dwdy*dwdy)));
H A Des3fShaderTextureFunctionTests.cpp279 inline float computeLodFromDerivates (float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument
287 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy));
295 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy));
787 float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*m_textureSpec.depth / (float)viewportSize[0]; local
789 m_lookupParams.lod = computeLodFromDerivates(dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy);
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.cpp2058 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) argument
2062 const float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy));
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.cpp291 inline float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument
297 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy));
305 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy));
377 float dwdx = triDerivateX(w, projection, wx, width, wy/height); local
382 return computeLodFromDerivates(mode, dudx, dvdx, dwdx, dudy, dvdy, dwdy);

Completed in 4745 milliseconds