/external/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->BaseLevel; in calculate_min_max_lod() 262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod() 263 maxLod = MIN2(maxLod, tObj->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() 284 *pmaxLod = maxLod; in calculate_min_max_lod() 521 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod); in radeon_validate_texture_miptree() [all …]
|
/external/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->BaseLevel; in calculate_min_max_lod() 262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod() 263 maxLod = MIN2(maxLod, tObj->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() 284 *pmaxLod = maxLod; in calculate_min_max_lod() 521 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod); in radeon_validate_texture_miptree() [all …]
|
D | radeon_common_context.h | 197 unsigned maxLod; member
|
/external/swiftshader/src/Vulkan/ |
D | VkSampler.hpp | 43 , maxLod(ClampLod(pCreateInfo->maxLod)) in Sampler() 74 const float maxLod = 0.0f; member in vk::Sampler
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Sampler.h | 53 void setMaxLod(GLfloat maxLod) { mMaxLod = maxLod; } in setMaxLod() argument
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | SamplerVk.cpp | 62 samplerInfo.maxLod = mState.getMaxLod(); in syncState() 72 samplerInfo.maxLod = 0.25f; in syncState()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1392 const float maxLod = lodBounds.y(); in isLookupResultValid() local 1394 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid() 1416 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1423 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1434 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1457 const float maxLod = lodBounds.y(); in isLookupResultValid() local 1459 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid() 1481 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1488 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1499 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() [all …]
|
D | tcuTexCompareVerifier.cpp | 814 const float maxLod = lodBounds.y(); in isTexCompareResultValid() local 816 const bool canBeMinified = maxLod > sampler.lodThreshold; in isTexCompareResultValid() 838 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 845 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 856 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid() 1099 const float maxLod = lodBounds.y(); in isTexCompareResultValid() local 1101 const bool canBeMinified = maxLod > sampler.lodThreshold; in isTexCompareResultValid() 1121 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1128 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 1139 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid() [all …]
|
/external/deqp/modules/glshared/ |
D | glsSamplerObjectTest.hpp | 51 GLfloat maxLod; member 109 GLfloat maxLod; member
|
D | glsSamplerObjectTest.cpp | 95 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod); in setTextureState() 113 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod); in setSamplerState() 607 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod); in setTextureState() 625 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod); in setSamplerState()
|
/external/angle/src/libANGLE/ |
D | Sampler.cpp | 126 void Sampler::setMaxLod(const Context *context, GLfloat maxLod) in setMaxLod() argument 128 mState.setMaxLod(maxLod); in setMaxLod()
|
D | Sampler.h | 59 void setMaxLod(const Context *context, GLfloat maxLod);
|
D | angletypes.cpp | 192 void SamplerState::setMaxLod(GLfloat maxLod) in setMaxLod() argument 194 mMaxLod = maxLod; in setMaxLod()
|
/external/swiftshader/src/Renderer/ |
D | Sampler.cpp | 78 texture.maxLod = MAX_TEXTURE_LOD; in Sampler() 360 void Sampler::setMaxLod(float maxLod) in setMaxLod() argument 362 texture.maxLod = clamp(maxLod, 0.0f, (float)(MAX_TEXTURE_LOD)); in setMaxLod()
|
D | Sampler.hpp | 59 float maxLod; member 195 void setMaxLod(float maxLod);
|
D | VertexProcessor.hpp | 269 void setMaxLod(unsigned int sampler, float maxLod);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | SurfaceState.h | 48 uint32_t maxLod; // for sampled surfaces, the max LOD that can be accessed member
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSamplerTests.cpp | 178 float maxLod, 652 float maxLod, in SamplerLodTest() argument 659 , m_maxLod (maxLod) in SamplerLodTest() 670 samplerParams.maxLod = m_maxLod; in getSamplerCreateInfo() 867 float maxLod; in createSamplerLodTests() member 889 …scription, imageViewType, imageFormat, mipmapMode, config.minLod, config.maxLod, config.mipLodBias… in createSamplerLodTests()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 126 , maxLod (1000.0f) in ReferenceParams() 138 , maxLod (1000.0f) in ReferenceParams() 148 float maxLod; 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() 441 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 442 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 652 …rivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTextureCube() 684 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 685 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 779 …ams.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 780 …s.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 908 …s(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod); in sampleTextureCubeArray() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkSampler.cpp | 64 createInfo.maxLod = !useMipMaps ? 0.0f : 10000.0f; in Create()
|
/external/skqp/src/gpu/vk/ |
D | GrVkSampler.cpp | 65 createInfo.maxLod = !useMipMaps ? 0.0f : 10000.0f; in Create()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.hpp | 95 float maxLod; member
|
D | vktTextureFilteringAnisotropyTests.cpp | 94 m_refParams.maxLod = static_cast<float>(m_refParams.maxLevel); in FilteringAnisotropyInstance()
|
D | vktTextureSwizzleTests.cpp | 197 ….lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, sampleParams.minLod, sampleParams.maxLod), in iterate() 198 …odMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, sampleParams.minLod, sampleParams.maxLod) }; in iterate()
|