Searched refs:maxLod (Results 1 - 25 of 51) sorted by relevance

123

/external/swiftshader/src/OpenGL/libGLESv2/
H A DSampler.h52 void setMaxLod(GLfloat maxLod) { mMaxLod = maxLod; } argument
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_mipmap_tree.c245 int minLod, maxLod; local
256 minLod = maxLod = tObj->BaseLevel;
261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5);
262 maxLod = MIN2(maxLod, tObj->MaxLevel);
263 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod);
264 maxLod = MAX2(maxLod, minLod); /* need at least one level */
269 minLod = maxLod
[all...]
H A Dradeon_common_context.h198 unsigned maxLod; member in struct:radeon_tex_obj
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_mipmap_tree.c245 int minLod, maxLod; local
256 minLod = maxLod = tObj->BaseLevel;
261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5);
262 maxLod = MIN2(maxLod, tObj->MaxLevel);
263 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod);
264 maxLod = MAX2(maxLod, minLod); /* need at least one level */
269 minLod = maxLod
[all...]
H A Dradeon_common_context.h198 unsigned maxLod; member in struct:radeon_tex_obj
/external/deqp/modules/glshared/
H A DglsSamplerObjectTest.hpp51 GLfloat maxLod; member in struct:deqp::gls::TextureSamplerTest::SamplingState
109 GLfloat maxLod; member in struct:deqp::gls::MultiTextureSamplerTest::SamplingState
H A DglsSamplerObjectTest.cpp95 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod);
96 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod)");
113 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod);
114 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod)");
607 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod);
608 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod)");
625 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod);
626 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod)");
/external/swiftshader/src/Renderer/
H A DSampler.hpp59 float maxLod; member in struct:sw::Texture
195 void setMaxLod(float maxLod);
H A DSampler.cpp78 texture.maxLod = MAX_TEXTURE_LOD;
360 void Sampler::setMaxLod(float maxLod) argument
362 texture.maxLod = clamp(maxLod, 0.0f, (float)(MAX_TEXTURE_LOD));
H A DVertexProcessor.hpp270 void setMaxLod(unsigned int sampler, float maxLod);
H A DPixelProcessor.hpp244 void setMaxLod(unsigned int sampler, float maxLod);
H A DRenderer.hpp355 void setMaxLod(SamplerType type, int sampler, float maxLod);
H A DVertexProcessor.cpp686 void VertexProcessor::setMaxLod(unsigned int sampler, float maxLod) argument
690 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMaxLod(maxLod);
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.cpp1316 const float maxLod = lodBounds.y(); local
1318 const bool canBeMinified = maxLod > sampler.lodThreshold;
1340 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1);
1347 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f);
1358 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel);
1381 const float maxLod = lodBounds.y(); local
1383 const bool canBeMinified = maxLod > sampler.lodThreshold;
1405 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1);
1412 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f);
1423 const int maxLevel = de::clamp((int)deFloatFloor(maxLod
1681 const float maxLod = lodBounds.y(); local
1773 const float maxLod = lodBounds.y(); local
1843 const float maxLod = lodBounds.y(); local
1939 const float maxLod = lodBounds.y(); local
2033 const float maxLod = lodBounds.y(); local
2151 const float maxLod = deFloatLog2(pMax+pMaxErr); local
[all...]
H A DtcuTexCompareVerifier.cpp814 const float maxLod = lodBounds.y();
816 const bool canBeMinified = maxLod > sampler.lodThreshold;
838 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1);
845 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f);
856 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel);
1099 const float maxLod = lodBounds.y();
1101 const bool canBeMinified = maxLod > sampler.lodThreshold;
1121 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1);
1128 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f);
1139 const int maxLevel = de::clamp((int)deFloatFloor(maxLod
[all...]
/external/skia/src/gpu/vk/
H A DGrVkSampler.cpp56 // there is always a mipmapMode. To get the same effect as GL we can set minLod = maxLod = 0.0.
62 createInfo.maxLod = !useMipMaps ? 0.0f : (float)(maxMipLevel);
/external/skqp/src/gpu/vk/
H A DGrVkSampler.cpp56 // there is always a mipmapMode. To get the same effect as GL we can set minLod = maxLod = 0.0.
62 createInfo.maxLod = !useMipMaps ? 0.0f : (float)(maxMipLevel);
/external/deqp/framework/opengl/
H A DgluTextureTestUtil.hpp126 , maxLod (1000.0f)
137 , maxLod (1000.0f)
146 float maxLod; member in struct:glu::TextureTestUtil::ReferenceParams
H A DgluTextureTestUtil.cpp405 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBias, params.minLod, params.maxLod),
406 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.minLod, params.maxLod) };
441 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod),
442 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) };
652 const float lod = de::clamp(computeCubeLodFromDerivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod);
684 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod),
685 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) };
779 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod),
780 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) };
908 const float lod = de::clamp(computeCubeLodFromDerivates(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod);
[all...]
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkImageUtil.hpp63 VkSamplerCreateInfo mapSampler (const tcu::Sampler& sampler, const tcu::TextureFormat& format, float minLod = 0.0f, float maxLod = 1000.0f);
/external/mesa3d/src/intel/vulkan/
H A DgenX_state.c192 .MaxLOD = anv_clamp_f(pCreateInfo->maxLod, 0, 14),
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerTests.cpp125 float maxLod,
314 0.25f, // float maxLod;
462 float maxLod,
468 , m_maxLod (maxLod)
479 samplerParams.maxLod = m_maxLod;
598 float maxLod; member in struct:vkt::pipeline::__anon4397::TestCaseConfig
605 { "equal_min_3_max_3", "minLod = 3, maxLod = 3, mipLodBias = 0, lod = 0", 3.0f, 3.0f, 0.0f, 0.0f },
606 { "select_min_1", "minLod = 1, maxLod = 5, mipLodBias = 0, lod = 0", 1.0f, 5.0f, 0.0f, 0.0f },
607 { "select_max_4", "minLod = 0, maxLod = 4, mipLodBias = 0, lod = 5", 0.0f, 4.0f, 0.0f, 5.0f },
608 { "select_bias_2_1", "minLod = 0, maxLod
455 SamplerLodTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, VkSamplerMipmapMode mipmapMode, float minLod, float maxLod, float mipLodBias, float samplerLod) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifier.hpp94 float maxLod; member in struct:vkt::texture::SamplerParameters
H A DvktTextureFilteringAnisotropyTests.cpp94 m_refParams.maxLod = static_cast<float>(m_refParams.maxLevel);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawCreateInfoUtil.hpp502 float maxLod = 16.0f,

Completed in 507 milliseconds

123