Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
H A DtcuTexLookupVerifier.hpp107 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec);
109 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.cpp2211 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument
2213 const float mux = deFloatAbs(dudx); in computeLodBoundsFromDerivates()
2249 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument
2251 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2254 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument
2256 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec); in computeLodBoundsFromDerivates()
2290 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2294 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
H A DesextcTextureShadowLodFunctionsTest.cpp505 float dudx = in initTexture() local
509 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
547 float dudx = in initTexture() local
551 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
612 float dudx = (c10.s - c00.s) * (float)m_textureSpec.width / (float)viewportSize[0]; in initTexture() local
615 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
692 float dudx = (c10.s - c00.s) * (float)m_textureSpec.width / (float)viewportSize[0]; in initTexture() local
695 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
/third_party/vk-gl-cts/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]; in initTexture() local
354 m_lookupParams.lod = glu::TextureTestUtil::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 m_lookupParams.lod = glu::TextureTestUtil::computeLodFromDerivates(glu::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture()
H A 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(dvdy)))); in calculateLodMin()
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.hpp186 float computeLodFromDerivates (LodMode mode, float dudx, float dudy);
187 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
188 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) 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 dvdy, float dwdy) in computeLodFromDerivates() argument
256 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy)); in computeLodFromDerivates()
262 float mu = de::max(deFloatAbs(dudx), deFloatAb in computeLodFromDerivates()
312 float dudx = triDerivateX(u, projection, wx, width, wy/height); computeProjectedTriLod() local
322 float dudx = triDerivateX(u, projection, wx, width, wy/height); computeProjectedTriLod() local
334 float dudx = triDerivateX(u, projection, wx, width, wy/height); computeProjectedTriLod() local
644 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); computeCubeLodFromDerivates() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureFunctionTests.cpp277 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument
286 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
298 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
304 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
310 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
326 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) in computeLodFromDerivates() argument
332 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy)); in computeLodFromDerivates()
338 float mu = de::max(deFloatAbs(dudx), deFloatAb in computeLodFromDerivates()
911 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
970 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1007 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1038 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1071 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1107 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1174 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
2707 const float dudx = (m_maxCoord[0]-m_minCoord[0])*(float)m_textureSpec.width / (float)viewportSize[0]; TextureQueryLodInstance() local
2720 const float dudx = (m_maxCoord[0]-m_minCoord[0])*(float)m_textureSpec.width / (float)viewportSize[0]; TextureQueryLodInstance() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderTextureFunctionTests.cpp274 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument
283 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
295 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
301 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
307 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
323 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float dvdy, float dwdy) in computeLodFromDerivates() argument
329 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dwdy*dwdy)); in computeLodFromDerivates()
335 float mu = de::max(deFloatAbs(dudx), deFloatAb in computeLodFromDerivates()
908 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
967 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1004 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1035 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1068 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1104 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
1171 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; initTexture() local
2706 const float dudx = (m_maxCoord[0]-m_minCoord[0])*(float)m_textureSpec.width / (float)viewportSize[0]; TextureQueryLodInstance() local
2719 const float dudx = (m_maxCoord[0]-m_minCoord[0])*(float)m_textureSpec.width / (float)viewportSize[0]; TextureQueryLodInstance() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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 + dwdy*dwdy))); in calculateLod()
H A 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()
H A Des3fShaderTextureFunctionTests.cpp598 float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width / (float)viewportSize[0]; 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 / (float)viewportSize[0]; 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 / (float)viewportSize[0]; in initTexture() local
726 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy); in initTexture()
1807 // \note Only one of dudx, dudy, dvdx, dvdy is non-zero since spec allows approximating p from derivates by various methods. in init()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c2349 const float dudx, const float dvdx, in img_filter_2d_ewa()
2361 const float ux = dudx * scaling; in img_filter_2d_ewa()
2566 const float dudx = (s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; in mip_filter_linear_aniso() local
2581 const float Px2 = dudx * dudx + dvdx * dvdx; in mip_filter_linear_aniso()
2652 level0, dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()
2339 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]) img_filter_2d_ewa() argument
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSamplerCore.cpp1142 Float4 dudx = duvdxy.xxxx; in computeLod2D() local
1148 uDelta = As<Float4>((As<Int4>(dudx) & mask) | ((As<Int4>(dudy) & ~mask))); in computeLod2D()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DSamplerCore.cpp1412 Float4 dudx = duvdxy.xxxx; in computeLod() local
1418 uDelta = As<Float4>((As<Int4>(dudx) & mask) | ((As<Int4>(dudy) & ~mask))); in computeLod()

Completed in 51 milliseconds