/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 255 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 …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | radeon_texstate.c | 985 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()
|
D | radeon_state_init.c | 481 lvl = &t->mt->levels[t->minLod]; in tex_emit_cs()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 255 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 …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | r200_texstate.c | 1386 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/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1256 const float minLod = lodBounds.x(); in isLookupResultValid() local 1258 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid() 1280 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1287 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1298 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid() 1321 const float minLod = lodBounds.x(); in isLookupResultValid() local 1323 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid() 1345 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1352 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid() 1363 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid() [all …]
|
D | tcuTexCompareVerifier.cpp | 811 const float minLod = lodBounds.x(); in isTexCompareResultValid() local 813 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid() 835 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 842 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 853 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid() 1096 const float minLod = lodBounds.x(); in isTexCompareResultValid() local 1098 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid() 1118 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1125 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid() 1136 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid() [all …]
|
/external/deqp/modules/glshared/ |
D | glsSamplerObjectTest.hpp | 50 GLfloat minLod; member 108 GLfloat minLod; member
|
D | glsTextureTestUtil.hpp | 331 , minLod (-1000.0f) in ReferenceParams() 342 , minLod (-1000.0f) in ReferenceParams() 351 float minLod; member
|
D | glsTextureTestUtil.cpp | 442 …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() 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() 1784 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff() 1894 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff() [all …]
|
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/deqp/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 1634 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1949 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 2266 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
|