/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 246 int minLod, maxLod; in calculate_min_max_lod() local 257 minLod = maxLod = tObj->Attrib.BaseLevel; in calculate_min_max_lod() 259 minLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MinLod); in calculate_min_max_lod() 260 minLod = MAX2(minLod, tObj->Attrib.BaseLevel); in calculate_min_max_lod() 261 minLod = MIN2(minLod, tObj->Attrib.MaxLevel); in calculate_min_max_lod() 264 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod() 265 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod() 270 minLod = maxLod = 0; in calculate_min_max_lod() 280 minLod, maxLod); in calculate_min_max_lod() 283 *pminLod = minLod; in calculate_min_max_lod() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 246 int minLod, maxLod; in calculate_min_max_lod() local 257 minLod = maxLod = tObj->Attrib.BaseLevel; in calculate_min_max_lod() 259 minLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MinLod); in calculate_min_max_lod() 260 minLod = MAX2(minLod, tObj->Attrib.BaseLevel); in calculate_min_max_lod() 261 minLod = MIN2(minLod, tObj->Attrib.MaxLevel); in calculate_min_max_lod() 264 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod() 265 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod() 270 minLod = maxLod = 0; in calculate_min_max_lod() 280 minLod, maxLod); in calculate_min_max_lod() 283 *pminLod = minLod; in calculate_min_max_lod() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkSampler.cpp | 33 , minLod(ClampLod(pCreateInfo->minLod)) in SamplerState()
|
D | VkSampler.hpp | 49 const float minLod = 0.0f; member
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexCompareVerifier.cpp | 819 const float minLod = lodBounds.x(); in isTexCompareResultValid() local 821 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid() 843 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 850 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 861 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid() 1420 const float minLod = lodBounds.x(); in isTexCompareResultValid() local 1422 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid() 1442 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1449 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 1460 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid() [all …]
|
D | tcuTexLookupVerifier.cpp | 1391 const float minLod = lodBounds.x(); in isLookupResultValid() local 1393 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid() 1415 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1422 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1433 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid() 1456 const float minLod = lodBounds.x(); in isLookupResultValid() local 1458 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid() 1480 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1487 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1498 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Sampler.h | 52 void setMinLod(GLfloat minLod) { mMinLod = minLod; } in setMinLod() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SpirvShaderSampling.cpp | 81 samplerState.minLod = vkSamplerState->minLod; in getImageSampler() 94 samplerState.minLod = 0.0f; in getImageSampler() 108 samplerState.minLod = 0.0f; in getImageSampler()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsSamplerObjectTest.hpp | 50 GLfloat minLod; member 108 GLfloat minLod; member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Sampler.cpp | 115 void Sampler::setMinLod(const Context *context, GLfloat minLod) in setMinLod() argument 117 mState.setMinLod(minLod); in setMinLod()
|
D | Sampler.h | 56 void setMinLod(const Context *context, GLfloat minLod);
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Sampler.cpp | 111 void Sampler::setMinLod(const Context *context, GLfloat minLod) in setMinLod() argument 113 mState.setMinLod(minLod); in setMinLod()
|
D | Sampler.h | 56 void setMinLod(const Context *context, GLfloat minLod);
|
D | angletypes.cpp | 184 void SamplerState::setMinLod(GLfloat minLod) in setMinLod() argument 186 mMinLod = minLod; in setMinLod()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Sampler.cpp | 79 texture.minLod = 0; in Sampler() 355 void Sampler::setMinLod(float minLod) in setMinLod() argument 357 texture.minLod = clamp(minLod, 0.0f, (float)(MAX_TEXTURE_LOD)); in setMinLod()
|
D | Sampler.hpp | 58 float minLod; member 194 void setMinLod(float minLod);
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | SurfaceState.h | 47 uint32_t minLod; // for sampled surfaces, the most detailed LOD that can be accessed by sampler member
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | SamplerVk.cpp | 77 createInfo.minLod = descriptor->lodMinClamp; in Sampler()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | SamplerVk.cpp | 67 samplerInfo.minLod = mState.getMinLod(); in syncState()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.hpp | 125 , minLod (-1000.0f) in ReferenceParams() 138 , minLod (-1000.0f) in ReferenceParams() 149 float minLod; member
|
D | gluTextureTestUtil.cpp | 405 …rojectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 406 …jectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 442 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 443 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 672 …rivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTextureCube() 704 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 705 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 799 …ams.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 800 …s.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 928 …s(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod); in sampleTextureCubeArray() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Sampler.hpp | 115 float minLod = -1000.0f; member
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | SamplerVk.cpp | 86 createInfo.minLod = descriptor->lodMinClamp; in Initialize()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkSampler.cpp | 73 createInfo.minLod = 0.0f; in Create()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkSampler.cpp | 62 createInfo.minLod = 0.0f; in Create()
|