Home
last modified time | relevance | path

Searched refs:isNearestOnly (Results 1 - 10 of 10) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureFilteringTests.cpp357 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
360 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
600 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
603 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
826 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
829 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
1035 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
1038 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureFilteringTests.cpp320 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
322 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
635 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
637 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
903 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
905 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
1147 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
1149 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
H A Des3fTextureWrapTests.cpp347 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
350 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureFilteringTests.cpp356 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
359 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
599 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
602 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
825 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
828 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
1034 const bool isNearestOnly = m_testParameters.minFilter == Sampler::NEAREST && m_testParameters.magFilter == Sampler::NEAREST; in iterate() local
1037 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureFilteringTests.cpp299 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
301 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
585 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
587 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp392 const bool isNearestOnly = m_minFilter == GL_NEAREST && m_magFilter == GL_NEAREST; in iterate() local
395 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate()
H A Des31fTextureBorderClampTests.cpp930 const bool isNearestOnly = isNearestMinFilter && isNearestMagFilter;
932 const int colorErrorBits = (isNearestOnly && !isSRGB) ? (1) : (2);
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
H A Des2cTexture3DTests.cpp114 const ReferenceParams& refParams, bool isNearestOnly) const;
195 const ReferenceParams& refParams, bool isNearestOnly) const in verifyTestResult()
202 de::min(pixelFormat.alphaBits, refChannelBitDepth[3])) - (isNearestOnly ? 1 : 2), in verifyTestResult()
659 const bool isNearestOnly = in iterate() local
661 verifyTestResult(texCoord[0].getPtr(), rendered, curCase.texture->getRefTexture(), refParams, isNearestOnly); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.cpp1516 const bool isNearestOnly = (m_samplerParams.minFilter == VK_FILTER_NEAREST && m_samplerParams.magFilter == VK_FILTER_NEAREST); in verifyImage() local
1525 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(max((tcu::IVec4(8, 8, 8, 8) - (isNearestOnly ? 1 : 2)), tcu::IVec4(0))) / swizzleScaleBias(lookupScale, m_componentMapping, 1.0f); in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.cpp1510 const bool isNearestOnly = (m_samplerParams.minFilter == VK_FILTER_NEAREST && m_samplerParams.magFilter == VK_FILTER_NEAREST); in verifyImage() local
1519 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(max((tcu::IVec4(8, 8, 8, 8) - (isNearestOnly ? 1 : 2)), tcu::IVec4(0))) / swizzleScaleBias(lookupScale, m_componentMapping, 1.0f); in verifyImage()

Completed in 24 milliseconds