/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 245 int minLod, maxLod; in calculate_min_max_lod() local 256 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod() 258 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod() 259 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod() 260 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod() 263 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod() 264 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod() 269 minLod = maxLod = 0; in calculate_min_max_lod() 279 minLod, maxLod); in calculate_min_max_lod() 282 *pminLod = minLod; in calculate_min_max_lod() [all …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | r200_texstate.c | 1291 const struct gl_texture_image *firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state() 1340 extra_size = t->minLod; in setup_hardware_state() 1355 t->pp_txformat_x |= (t->minLod << R200_MIN_MIP_LEVEL_SHIFT) in setup_hardware_state()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 245 int minLod, maxLod; in calculate_min_max_lod() local 256 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod() 258 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod() 259 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod() 260 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod() 263 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod() 264 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod() 269 minLod = maxLod = 0; in calculate_min_max_lod() 279 minLod, maxLod); in calculate_min_max_lod() 282 *pminLod = minLod; in calculate_min_max_lod() [all …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | radeon_texstate.c | 916 firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state() 940 t->pp_txfilter |= (t->maxLod - t->minLod) << RADEON_MAX_MIP_LEVEL_SHIFT; in setup_hardware_state()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1315 const float minLod = lodBounds.x(); in isLookupResultValid() local 1317 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid() 1339 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1346 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1357 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid() 1380 const float minLod = lodBounds.x(); in isLookupResultValid() local 1382 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid() 1404 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1411 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1422 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid() [all …]
|
D | tcuTexCompareVerifier.cpp | 813 const float minLod = lodBounds.x(); in isTexCompareResultValid() local 815 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid() 837 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 844 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 855 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid() 1098 const float minLod = lodBounds.x(); in isTexCompareResultValid() local 1100 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid() 1120 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1127 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 1138 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Sampler.h | 51 void setMinLod(GLfloat minLod) { mMinLod = minLod; } in setMinLod() argument
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSamplerTests.cpp | 124 float minLod, 447 samplerParams.minLod = 0.01f; in getSamplerCreateInfo() 461 float minLod, in SamplerLodTest() argument 467 , m_minLod (minLod) in SamplerLodTest() 478 samplerParams.minLod = m_minLod; in getSamplerCreateInfo() 597 float minLod; in createSamplerLodTests() member 620 …name, config.description, imageViewType, imageFormat, mipmapMode, config.minLod, config.maxLod, co… in createSamplerLodTests()
|
/external/deqp/modules/glshared/ |
D | glsSamplerObjectTest.hpp | 50 GLfloat minLod; member 108 GLfloat minLod; member
|
D | glsSamplerObjectTest.cpp | 97 gl.texParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod); in setTextureState() 115 gl.samplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod); in setSamplerState() 609 gl.texParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod); in setTextureState() 627 gl.samplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod); in setSamplerState()
|
/external/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);
|
D | VertexProcessor.hpp | 269 void setMinLod(unsigned int sampler, float minLod);
|
D | PixelProcessor.hpp | 243 void setMinLod(unsigned int sampler, float minLod);
|
D | Renderer.hpp | 354 void setMinLod(SamplerType type, int sampler, float minLod);
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 125 , minLod (-1000.0f) in ReferenceParams() 136 , minLod (-1000.0f) in ReferenceParams() 145 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() 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/skqp/src/gpu/vk/ |
D | GrVkSampler.cpp | 60 createInfo.minLod = 0.0f; in Create()
|
/external/skia/src/gpu/vk/ |
D | GrVkSampler.cpp | 60 createInfo.minLod = 0.0f; in Create()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 63 … (const tcu::Sampler& sampler, const tcu::TextureFormat& format, float minLod = 0.0f, float maxL…
|
/external/mesa3d/src/intel/vulkan/ |
D | genX_state.c | 191 .MinLOD = anv_clamp_f(pCreateInfo->minLod, 0, 14), in genX()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.hpp | 93 float minLod; member
|
D | vktTextureFilteringAnisotropyTests.cpp | 93 m_refParams.minLod = 0.0f; in FilteringAnisotropyInstance()
|