Home
last modified time | relevance | path

Searched refs:maxLod (Results 1 – 25 of 52) sorted by relevance

123

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c245 int minLod, maxLod; in calculate_min_max_lod() local
256 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
262 maxLod = MIN2(maxLod, 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()
283 *pmaxLod = maxLod; in calculate_min_max_lod()
520 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod); in radeon_validate_texture_miptree()
[all …]
Dradeon_common_context.h198 unsigned maxLod; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c245 int minLod, maxLod; in calculate_min_max_lod() local
256 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
262 maxLod = MIN2(maxLod, 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()
283 *pmaxLod = maxLod; in calculate_min_max_lod()
520 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod); in radeon_validate_texture_miptree()
[all …]
Dradeon_common_context.h198 unsigned maxLod; member
/external/swiftshader/src/OpenGL/libGLESv2/
DSampler.h52 void setMaxLod(GLfloat maxLod) { mMaxLod = maxLod; } in setMaxLod() argument
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1316 const float maxLod = lodBounds.y(); in isLookupResultValid() local
1318 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid()
1340 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1347 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1358 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1381 const float maxLod = lodBounds.y(); in isLookupResultValid() local
1383 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid()
1405 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1412 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1423 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
[all …]
DtcuTexCompareVerifier.cpp814 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/
DglsSamplerObjectTest.hpp51 GLfloat maxLod; member
109 GLfloat maxLod; member
DglsSamplerObjectTest.cpp95 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/swiftshader/src/Renderer/
DSampler.hpp59 float maxLod; member
176 void setMaxLod(float maxLod);
DSampler.cpp75 texture.maxLod = MIPMAP_LEVELS - 2; // Trilinear accesses lod+1 in Sampler()
350 void Sampler::setMaxLod(float maxLod) in setMaxLod() argument
352 texture.maxLod = clamp(maxLod, 0.0f, (float)(MIPMAP_LEVELS - 2)); in setMaxLod()
DVertexProcessor.hpp269 void setMaxLod(unsigned int sampler, float maxLod);
DPixelProcessor.hpp242 void setMaxLod(unsigned int sampler, float maxLod);
DRenderer.hpp359 void setMaxLod(SamplerType type, int sampler, float maxLod);
DVertexProcessor.cpp677 void VertexProcessor::setMaxLod(unsigned int sampler, float maxLod) in setMaxLod() argument
681 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMaxLod(maxLod); in setMaxLod()
DPixelProcessor.cpp519 void PixelProcessor::setMaxLod(unsigned int sampler, float maxLod) in setMaxLod() argument
523 context->sampler[sampler].setMaxLod(maxLod); in setMaxLod()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp125 float maxLod,
462 float maxLod, in SamplerLodTest() argument
468 , m_maxLod (maxLod) in SamplerLodTest()
479 samplerParams.maxLod = m_maxLod; in getSamplerCreateInfo()
598 float maxLod; in createSamplerLodTests() member
620 …scription, imageViewType, imageFormat, mipmapMode, config.minLod, config.maxLod, config.mipLodBias… in createSamplerLodTests()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp126 , maxLod (1000.0f) in ReferenceParams()
137 , maxLod (1000.0f) in ReferenceParams()
146 float maxLod; member
DgluTextureTestUtil.cpp405 …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/
DGrVkSampler.cpp61 createInfo.maxLod = !useMipMaps ? 0.0f : (float)(mipLevels); in Create()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp62 …::Sampler& sampler, const tcu::TextureFormat& format, float minLod = 0.0f, float maxLod = 1000.0f);
/external/mesa3d/src/intel/vulkan/
DgenX_state.c192 .MaxLOD = anv_clamp_f(pCreateInfo->maxLod, 0, 14), in genX()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp94 float maxLod; member
DvktTextureFilteringAnisotropyTests.cpp94 m_refParams.maxLod = static_cast<float>(m_refParams.maxLevel); in FilteringAnisotropyInstance()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dstate.h499 uint32_t maxLod; // for sampled surfaces, the max LOD that can be accessed member

123