/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 357 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 D | es3fTextureFilteringTests.cpp | 320 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 D | es3fTextureWrapTests.cpp | 347 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 D | vktTextureFilteringTests.cpp | 356 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 D | es2fTextureFilteringTests.cpp | 299 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 D | es31fTextureFilteringTests.cpp | 392 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 D | es31fTextureBorderClampTests.cpp | 930 const bool isNearestOnly = isNearestMinFilter && isNearestMagFilter; 932 const int colorErrorBits = (isNearestOnly && !isSRGB) ? (1) : (2);
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
H A D | es2cTexture3DTests.cpp | 114 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 D | vktPipelineImageSamplingInstance.cpp | 1516 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 D | vktPipelineImageSamplingInstance.cpp | 1510 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()
|