Home
last modified time | relevance | path

Searched refs:minLod (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c255 int minLod, maxLod; in calculate_min_max_lod() local
266 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
270 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod()
273 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
274 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod()
279 minLod = maxLod = 0; in calculate_min_max_lod()
289 minLod, maxLod); in calculate_min_max_lod()
292 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h196 unsigned minLod; member
Dr200_texstate.c1386 const struct gl_texture_image *firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()
1435 extra_size = t->minLod; in setup_hardware_state()
1450 t->pp_txformat_x |= (t->minLod << R200_MIN_MIP_LEVEL_SHIFT) in setup_hardware_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c255 int minLod, maxLod; in calculate_min_max_lod() local
266 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
270 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod()
273 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
274 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod()
279 minLod = maxLod = 0; in calculate_min_max_lod()
289 minLod, maxLod); in calculate_min_max_lod()
292 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h196 unsigned minLod; member
Dradeon_texstate.c985 firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()
1009 t->pp_txfilter |= (t->maxLod - t->minLod) << RADEON_MAX_MIP_LEVEL_SHIFT; in setup_hardware_state()
Dradeon_state_init.c481 lvl = &t->mt->levels[t->minLod]; in tex_emit_cs()
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1315 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 …]
DtcuTexCompareVerifier.cpp813 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/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp124 float minLod,
450 samplerParams.minLod = 0.01f; in getSamplerCreateInfo()
464 float minLod, in SamplerLodTest() argument
470 , m_minLod (minLod) in SamplerLodTest()
481 samplerParams.minLod = m_minLod; in getSamplerCreateInfo()
600 float minLod; in createSamplerLodTests() member
623 …name, config.description, imageViewType, imageFormat, mipmapMode, config.minLod, config.maxLod, co… in createSamplerLodTests()
DvktPipelineImageSamplingInstance.cpp982 …samplerLod = de::max(m_samplerParams.minLod, de::min(m_samplerParams.maxLod, m_samplerParams.mipLo… in verifyImage()
/external/deqp/modules/glshared/
DglsSamplerObjectTest.hpp50 GLfloat minLod; member
108 GLfloat minLod; member
DglsTextureTestUtil.hpp321 , minLod (-1000.0f) in ReferenceParams()
332 , minLod (-1000.0f) in ReferenceParams()
341 float minLod; member
DglsTextureTestUtil.cpp442 …rojectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
443 …jectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
478 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
479 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
689 …rivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTextureCube()
721 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
722 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
816 …ams.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
817 …s.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
945 …s(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod); in sampleTextureCubeArray()
[all …]
DglsSamplerObjectTest.cpp97 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/skia/src/gpu/vk/
DGrVkSampler.cpp57 createInfo.minLod = 0.0f; in Create()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateCreateInfoUtil.hpp502 float minLod = 0.0f,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.hpp500 float minLod = 0.0f,
DvktDrawCreateInfoUtil.cpp1178 minLod = _minLod; in SamplerCreateInfo()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolCreateInfoUtil.hpp500 float minLod = 0.0f,
DvktQueryPoolCreateInfoUtil.cpp1186 minLod = _minLod; in SamplerCreateInfo()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp1162 float minLod; member
1180 , minLod (-1000.f) in Parameters()
1218 params.minLod, in create()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp3833 sampler_ci.minLod = 1.0; in TEST_F()
3937 sampler_ci.minLod = 1.0; in TEST_F()
4042 sampler_ci.minLod = 1.0; in TEST_F()
4144 sampler_ci.minLod = 1.0; in TEST_F()
4326 sampler_ci.minLod = 1.0; in TEST_F()
4441 sampler_ci.minLod = 1.0; in TEST_F()
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp1634 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
1949 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
2266 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl835 float minLod; member

12