From: Alexander Galazin Date: Thu, 13 Oct 2016 11:10:35 +0000 (+0200) Subject: COUNT_1_BIT is required min for sampledImageIntegerSampleCounts X-Git-Tag: upstream/0.1.0~662^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a25e6516eb90329eedc0a0e83c312d58f9dbc0f;p=platform%2Fupstream%2FVK-GL-CTS.git COUNT_1_BIT is required min for sampledImageIntegerSampleCounts dEQP-VK.glsl.texture_functions.query.texturesamples.isampler*ms* should work for VK_SAMPLE_COUNT_1_BIT sample count as these tests check both MS and integer formats. Fixes #517 Change-Id: I2f3362b630921f4c1111d84ab0ba291caeb80e9a --- diff --git a/external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderTextureFunctionTests.cpp b/external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderTextureFunctionTests.cpp index 6ec2dbd..ede6835 100644 --- a/external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderTextureFunctionTests.cpp +++ b/external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderTextureFunctionTests.cpp @@ -1694,8 +1694,10 @@ TextureSamplesInstance::TextureSamplesInstance (Context& context, &properties) == vk::VK_ERROR_FORMAT_NOT_SUPPORTED) TCU_THROW(NotSupportedError, "Format not supported"); + // Integer pixel formats do not support multisampling, so need to add 1 MS in the list static const vk::VkSampleCountFlagBits sampleFlags[] = { + vk::VK_SAMPLE_COUNT_1_BIT, vk::VK_SAMPLE_COUNT_2_BIT, vk::VK_SAMPLE_COUNT_4_BIT, vk::VK_SAMPLE_COUNT_8_BIT,