Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c246 int minLod, maxLod; in calculate_min_max_lod() local
257 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
259 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
260 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
261 minLod = MIN2(minLod, 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()
283 *pminLod = minLod; in calculate_min_max_lod()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c246 int minLod, maxLod; in calculate_min_max_lod() local
257 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
259 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
260 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
261 minLod = MIN2(minLod, 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()
283 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h195 unsigned minLod; member
/external/swiftshader/src/Vulkan/
DVkSampler.hpp42 , minLod(ClampLod(pCreateInfo->minLod)) in Sampler()
73 const float minLod = 0.0f; member in vk::Sampler
/external/swiftshader/src/OpenGL/libGLESv2/
DSampler.h52 void setMinLod(GLfloat minLod) { mMinLod = minLod; } in setMinLod() argument
/external/angle/src/libANGLE/renderer/vulkan/
DSamplerVk.cpp61 samplerInfo.minLod = mState.getMinLod(); in syncState()
71 samplerInfo.minLod = 0.0f; in syncState()
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1391 const float minLod = lodBounds.x(); in isLookupResultValid() local
1393 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid()
1415 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1422 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1433 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1456 const float minLod = lodBounds.x(); in isLookupResultValid() local
1458 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid()
1480 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1487 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1498 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/modules/glshared/
DglsSamplerObjectTest.hpp50 GLfloat minLod; member
108 GLfloat minLod; member
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/angle/src/libANGLE/
DSampler.cpp115 void Sampler::setMinLod(const Context *context, GLfloat minLod) in setMinLod() argument
117 mState.setMinLod(minLod); in setMinLod()
DSampler.h56 void setMinLod(const Context *context, GLfloat minLod);
Dangletypes.cpp187 void SamplerState::setMinLod(GLfloat minLod) in setMinLod() argument
189 mMinLod = minLod; in setMinLod()
/external/swiftshader/src/Renderer/
DSampler.cpp79 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()
DSampler.hpp58 float minLod; member
194 void setMinLod(float minLod);
DVertexProcessor.hpp268 void setMinLod(unsigned int sampler, float minLod);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DSurfaceState.h47 uint32_t minLod; // for sampled surfaces, the most detailed LOD that can be accessed by sampler member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp177 float minLod,
560 samplerParams.minLod = 0.01f; in getSamplerCreateInfo()
651 float minLod, in SamplerLodTest() argument
658 , m_minLod (minLod) in SamplerLodTest()
669 samplerParams.minLod = m_minLod; in getSamplerCreateInfo()
866 float minLod; in createSamplerLodTests() member
889 …name, config.description, imageViewType, imageFormat, mipmapMode, config.minLod, config.maxLod, co… in createSamplerLodTests()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp125 , minLod (-1000.0f) in ReferenceParams()
137 , minLod (-1000.0f) in ReferenceParams()
147 float minLod; 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.cpp62 createInfo.minLod = 0.0f; in Create()
/external/skqp/src/gpu/vk/
DGrVkSampler.cpp63 createInfo.minLod = 0.0f; in Create()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp94 float minLod; member
DvktTextureFilteringAnisotropyTests.cpp93 m_refParams.minLod = 0.0f; in FilteringAnisotropyInstance()
DvktTextureSwizzleTests.cpp197 …ams.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, sampleParams.minLod, sampleParams.maxL… in iterate()
198 …ams.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, sampleParams.minLod, sampleParams.maxL… in iterate()

1234