/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexLookupVerifier.hpp | 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 2214 const float mvx = deFloatAbs(dvdx); 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() 2291 const float dvdx = float(faceSize) * 0.5f * (tcdx*ma - tc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local 2294 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 224 float dvdx = derivateParts.z() * (float)textureSize.y() * 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() 235 float dvdx = derivateParts.z() * (float)textureSize.y() * 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 D | gluTextureTestUtil.hpp | 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 | 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() 223 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 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() 263 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod() local 327 return computeLodFromDerivates(mode, dudx, dvdx, dud in computeProjectedTriLod() 335 float dvdx = triDerivateX(v, projection, wx, width, wy/height); computeProjectedTriLod() local 645 const float dvdx = float(faceSize) * 0.5f * (tcdx*ma - tc*madx) / (ma*ma); computeCubeLodFromDerivates() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fVertexTextureTests.cpp | 1302 const float dvdx = (trans10.y() - trans00.y()) * (float)texHeight / dstSize.x(); in calculateLod() local 1305 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod() 1643 const float dvdx = (trans10.y() - trans00.y()) * (float)srcHeight / 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 D | es3fTextureUnitTests.cpp | 304 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax() local 310 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMax() 320 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin() local 326 const float mv = de::max(de::abs(dvdx), de::abs(dvdy)); in calculateLodMin()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.c | 2349 const float dudx, const float dvdx, in img_filter_2d_ewa() 2362 const float vx = dvdx * scaling; in img_filter_2d_ewa() 2568 const float dvdx = (t[QUAD_BOTTOM_RIGHT] - t[QUAD_BOTTOM_LEFT]) * t_to_v; 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/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 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() 311 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 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() 339 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 4407 // \note Only one of dudx, dudy, dvdx, dvdy is non-zero since spec allows approximating p from derivates by various methods.
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 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() 308 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); 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() 336 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 4252 // \note Only one of dudx, dudy, dvdx, dvdy is non-zero since spec allows approximating p from derivates by various methods.
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.cpp | 1144 Float4 dvdx = duvdxy.zzzz; in computeLod2D() local 1149 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod2D()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | SamplerCore.cpp | 1414 Float4 dvdx = duvdxy.zzzz; in computeLod() local 1419 vDelta = As<Float4>((As<Int4>(dvdx) & mask) | ((As<Int4>(dvdy) & ~mask))); in computeLod()
|