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

/external/deqp/framework/common/
H A 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 float dvdy, const LodPrecision& prec);
108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec);
H A DtcuTexLookupVerifier.cpp2120 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) argument
2122 const float mux = deFloatAbs(dudx);
2158 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec) argument
2160 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec);
2163 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) argument
2165 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec);
2199 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); local
2203 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec);
/external/deqp/framework/opengl/
H A 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, float dvdy, float dwdy);
H A DgluTextureTestUtil.cpp179 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) argument
188 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
210 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) argument
216 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy));
222 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
250 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument
256 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy));
262 float mu = de::max(deFloatAbs(dudx), deFloatAb
312 float dudx = triDerivateX(u, projection, wx, width, wy/height); local
322 float dudx = triDerivateX(u, projection, wx, width, wy/height); local
334 float dudx = triDerivateX(u, projection, wx, width, wy/height); local
601 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); local
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_aaline.c196 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; local
200 GLfloat r1 = dudx * dudx + dudy * dudy;
H A Ds_texfilter.c1650 const GLfloat dudx, const GLfloat dvdx,
1664 GLfloat ux = dudx * scaling;
1777 const GLfloat dudx, const GLfloat dvdx,
1785 GLfloat ux = dudx * scaling;
1920 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); local
1928 GLfloat Px2 = dudx * dudx + dvdx * dvdx;
1996 dudx, dvdx, dudy, dvdy, (GLint) floorf(lod), rgba[i]);
2002 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]);
1646 sample_2d_ewa(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
1773 sample_2d_footprint(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
H A Ds_span.c419 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); local
423 GLfloat x = sqrtf(dudx * dudx + dvdx * dvdx);
/external/deqp/modules/gles2/functional/
H A Des2fShaderTextureFunctionTests.cpp352 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
354 m_lookupParams.lod = glu::TextureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy);
397 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; local
400 m_lookupParams.lod = glu::TextureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy);
H A Des2fTextureUnitTests.cpp222 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); local
227 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy)));
233 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); local
238 return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(dvdy))));
/external/deqp/modules/gles3/functional/
H A Des3fVertexTextureTests.cpp1300 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x(); local
1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy)));
1641 const float dudx = (trans10.x() - trans00.x()) * (float)srcWidth / dstSize.x(); local
1648 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + dwdy*dwdy)));
H A Des3fTextureUnitTests.cpp302 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); local
309 const float mu = de::max(de::abs(dudx), de::abs(dudy));
318 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); local
325 const float mu = de::max(de::abs(dudx), de::abs(dudy));
H A Des3fShaderTextureFunctionTests.cpp598 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
600 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy);
656 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; local
659 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy);
692 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
694 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy);
722 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
726 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy);
1807 // \note Only one of dudx, dudy, dvdx, dvdy is non-zero since spec allows approximating p from derivates by various methods.
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureFunctionTests.cpp260 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) argument
269 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
281 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) argument
287 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy));
293 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy));
309 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) argument
315 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy));
321 float mu = de::max(deFloatAbs(dudx), deFloatAb
821 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
880 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; local
917 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
948 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
981 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
1017 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; local
1084 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; local
2392 const float dudx = (m_maxCoord[0]-m_minCoord[0])*(float)m_textureSpec.width / (float)viewportSize[0]; local
2402 const float dudx = (m_maxCoord[0]-m_minCoord[0])*(float)m_textureSpec.width / (float)viewportSize[0]; local
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c2214 const float dudx, const float dvdx,
2226 const float ux = dudx * scaling;
2431 const float dudx = (s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; local
2446 const float Px2 = dudx * dudx + dvdx * dvdx;
2517 level0, dudx, dvdx, dudy, dvdy, rgba);
2204 img_filter_2d_ewa(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, img_filter_func min_filter, img_filter_func mag_filter, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const uint faces[TGSI_QUAD_SIZE], const int8_t *offset, unsigned level, const float dudx, const float dvdx, const float dudy, const float dvdy, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
/external/swiftshader/src/Shader/
H A DSamplerCore.cpp1415 Float4 dudx = duvdxy.xxxx; local
1421 uDelta = As<Float4>((As<Int4>(dudx) & mask) | ((As<Int4>(dudy) & ~mask)));

Completed in 522 milliseconds