/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkSampler.cpp | 33 , minLod(ClampLod(pCreateInfo->minLod)) in SamplerState()
|
H A D | VkSampler.hpp | 49 const float minLod = 0.0f; member
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Sampler.h | 52 void setMinLod(GLfloat minLod) { mMinLod = minLod; } in setMinLod() argument
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexCompareVerifier.cpp | 819 const float minLod = lodBounds.x(); 821 const bool canBeMagnified = minLod <= sampler.lodThreshold; 843 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); 850 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); 861 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); 1420 const float minLod = lodBounds.x(); 1422 const bool canBeMagnified = minLod <= sampler.lodThreshold; 1442 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); 1449 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); 1460 const int minLevel = de::clamp((int)deFloatCeil(minLod [all...] |
H A D | tcuTexLookupVerifier.cpp | 1391 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 in isLookupResultValid() 1766 const float minLod = lodBounds.x(); isLookupResultValid() local 1858 const float minLod = lodBounds.x(); isLookupResultValid() local 1928 const float minLod = lodBounds.x(); isLookupResultValid() local 2024 const float minLod = lodBounds.x(); isLookupResultValid() local 2118 const float minLod = lodBounds.x(); isLookupResultValid() local 2241 const float minLod = deFloatLog2(pMin-pMinErr); computeLodBoundsFromDerivates() local [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsSamplerObjectTest.hpp | 50 GLfloat minLod; member 108 GLfloat minLod; member
|
H A D | glsSamplerObjectTest.cpp | 97 gl.texParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod); in setTextureState() 98 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod)"); in setTextureState() 115 gl.samplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod); in setSamplerState() 116 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod)"); in setSamplerState() 609 gl.texParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod); in setTextureState() 610 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod)"); in setTextureState() 627 gl.samplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod); in setSamplerState() 628 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod)"); in setSamplerState()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Sampler.hpp | 58 float minLod; member 194 void setMinLod(float minLod);
|
H A D | Sampler.cpp | 79 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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Sampler.cpp | 115 void Sampler::setMinLod(const Context *context, GLfloat minLod) in setMinLod() argument 117 mState.setMinLod(minLod); in setMinLod()
|
H A D | Sampler.h | 56 void setMinLod(const Context *context, GLfloat minLod);
|
H A D | angletypes.cpp | 267 bool SamplerState::setMinLod(GLfloat minLod) in setMinLod() argument 269 if (mMinLod != minLod) in setMinLod() 271 mMinLod = minLod; in setMinLod()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderSampling.cpp | 81 samplerState.minLod = vkSamplerState->minLod; in getImageSampler() 94 samplerState.minLod = 0.0f; in getImageSampler() 108 samplerState.minLod = 0.0f; in getImageSampler()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.cpp | 405 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 406 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 442 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 443 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected() 565 params.imageViewMinLod, // float minLod; in sampleTexture() 587 params.imageViewMinLod, // float minLod; in sampleTexture() 695 const float lod = de::clamp(computeCubeLodFromDerivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTextureCube() 708 params.imageViewMinLod, // float minLod; in sampleTexture() 737 float triLod[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected() 738 de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, param in sampleTextureNonProjected() 1442 const float minLod = (sampleParams.imageViewMinLod != 0.0f) ? de::max(imageViewMinLodRelMode, sampleParams.minLod) : sampleParams.minLod; computeTextureLookupDiff() local 1662 const float minLod = (sampleParams.imageViewMinLod != 0.0f) ? de::max(imageViewMinLodRelMode, sampleParams.minLod) : sampleParams.minLod; computeTextureLookupDiff() local 1857 const float minLod = (sampleParams.imageViewMinLod != 0.0f) ? de::max(imageViewMinLodRelMode, sampleParams.minLod) : sampleParams.minLod; computeTextureLookupDiff() local 2514 const float minLod = (sampleParams.imageViewMinLod != 0.0f) ? de::max(deFloatFloor(sampleParams.imageViewMinLod), sampleParams.minLod) : sampleParams.minLod; computeTextureCompareDiff() local 2630 const float minLod = (sampleParams.imageViewMinLod != 0.0f) ? de::max(deFloatFloor(sampleParams.imageViewMinLod), sampleParams.minLod) : sampleParams.minLod; computeTextureCompareDiff() local [all...] |
H A D | gluTextureTestUtil.hpp | 125 , minLod (-1000.0f) in ReferenceParams() 141 , minLod (-1000.0f) in ReferenceParams() 155 float minLod; member
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | sampler.cc | 100 sampler_info.minLod = sampler->GetMinLOD(); in CreateSampler()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Sampler.hpp | 115 float minLod = -1000.0f; member
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | SamplerVk.cpp | 86 createInfo.minLod = descriptor->lodMinClamp; in Initialize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1157 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1431 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1713 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1800 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1807 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1836 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1861 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1868 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1897 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1923 // baselevel + 1.0 as minimum, to test that minLod i in getImageViewMinLod() 2331 GatherMinLod minLod; // Idea: make it 0.1 or 1.1 global() member [all...] |
H A D | vktSampleVerifier.hpp | 94 float minLod; member
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1157 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1431 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1713 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1800 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1807 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1836 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1861 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1868 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1897 // baselevel + 1.0 as minimum, to test that minLod is working. If we go over the maximum, use that instead. in getImageViewMinLod() 1923 // baselevel + 1.0 as minimum, to test that minLod i in getImageViewMinLod() 2335 GatherMinLod minLod; // Idea: make it 0.1 or 1.1 global() member [all...] |
H A D | vktSampleVerifier.hpp | 94 float minLod; member
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkSampler.cpp | 69 // there is always a mipmapMode. To get the same effect as GL we can set minLod = maxLod = 0.0. in Create() 73 createInfo.minLod = 0.0f; in Create()
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_sampler.h | 179 size += vn_sizeof_float(&val->minLod); in vn_sizeof_VkSamplerCreateInfo_self() 251 vn_encode_float(enc, &val->minLod); in vn_encode_VkSamplerCreateInfo_self()
|
H A D | vn_protocol_driver_image_view.h | 81 size += vn_sizeof_float(&val->minLod); in vn_sizeof_VkImageViewMinLodCreateInfoEXT_self() 108 vn_encode_float(enc, &val->minLod); in vn_encode_VkImageViewMinLodCreateInfoEXT_self()
|