/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexLookupVerifier.hpp | 107 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 D | tcuTexLookupVerifier.cpp | 2211 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 2216 const float muy = deFloatAbs(dudy); 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() 2292 const float dudy = float(faceSize) * 0.5f * (scdy*ma - sc*mady) / (ma*ma); in computeCubeLodBoundsFromDerivates() local 2294 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 186 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 D | gluTextureTestUtil.cpp | 179 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), deFloatAbs(dudy)); in computeLodFromDerivates() 313 float dudy = triDerivateY(u, projection, wy, height, wx/width); computeProjectedTriLod() local 324 float dudy = triDerivateY(u, projection, wy, height, wx/width); computeProjectedTriLod() local 337 float dudy = triDerivateY(u, projection, wy, height, wx/width); computeProjectedTriLod() local 646 const float dudy = float(faceSize) * 0.5f * (scdy*ma - sc*mady) / (ma*ma); computeCubeLodFromDerivates() local [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 223 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMax() local 227 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax() 234 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); 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/modules/gles3/functional/ |
H A D | es3fVertexTextureTests.cpp | 1301 const float dudy = (trans01.x() - trans00.x()) * (float)texWidth / dstSize.y(); in calculateLod() local 1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod() 1642 const float dudy = (trans01.x() - trans00.x()) * (float)srcWidth / dstSize.y(); 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 D | es3fTextureUnitTests.cpp | 303 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMax() local 309 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMax() 319 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMin() local 325 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMin()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.c | 2350 const float dudy, const float dvdy, in img_filter_2d_ewa() 2363 const float uy = dudy * scaling; in img_filter_2d_ewa() 2567 const float dudy = (s[QUAD_TOP_LEFT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; in mip_filter_linear_aniso() local 2582 const float Py2 = dudy * dudy + dvdy * dvdy; 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/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 277 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), deFloatAbs(dudy)); in computeLodFromDerivates() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 274 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), deFloatAbs(dudy)); in computeLodFromDerivates() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.cpp | 1143 Float4 dudy = duvdxy.yyyy; 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 D | SamplerCore.cpp | 1413 Float4 dudy = duvdxy.yyyy; in computeLod() local 1418 uDelta = As<Float4>((As<Int4>(dudx) & mask) | ((As<Int4>(dudy) & ~mask))); in computeLod()
|