Fixes binding model test format mismatch
authorYu-Jun Li <lyujun@qti.qualcomm.com>
Tue, 11 Dec 2018 18:53:06 +0000 (10:53 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 18 Dec 2018 09:36:23 +0000 (04:36 -0500)
Storage texel buffer had a different format in
the shader (R32I) than in the app (R32UI).

Components: Vulkan
VK-GL-CTS issue: 1514

Affects:
dEQP-VK.binding_model.descriptorset_random.*

Change-Id: Iffbffbd002a77387dbe008e53ebb81d3f28838f5

external/vulkancts/modules/vulkan/binding_model/vktBindingDescriptorSetRandomTests.cpp

index 3061cbfbc00ee61cf0946dcf89a03a8c1f514bcf..4444d83430a8fe566d4d2b34ad09490fbd6d2f50 100644 (file)
@@ -996,7 +996,7 @@ tcu::TestStatus DescriptorSetRandomTestInstance::iterate (void)
                                                DE_NULL,
                                                (vk::VkBufferViewCreateFlags)0,
                                                **buffer,                                                               // buffer
-                                               VK_FORMAT_R32_UINT,                                             // format
+                                               VK_FORMAT_R32_SINT,                                             // format
                                                (vk::VkDeviceSize)align*d,                              // offset
                                                (vk::VkDeviceSize)sizeof(deUint32)              // range
                                        };