From f9296c70845acf90c4e29c3dcf146e8d45c436ee Mon Sep 17 00:00:00 2001 From: scygan Date: Mon, 21 Dec 2015 13:49:31 +0100 Subject: [PATCH] api.buffer.createBuffer: buffer usage cannot be 0. Spec: (Valid Usage for VkBufferCreateInfo): usage must not be 0 --- external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp index 92023bc..00476b8 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp @@ -220,7 +220,7 @@ tcu::TestStatus BufferTestInstance::iterate (void) for (deUint32 combinedBufferCreateFlags = 0; combinedBufferCreateFlags <= maximumValueOfBufferCreateFlags; combinedBufferCreateFlags++) { - for (deUint32 combinedBufferUsageFlags = 0; combinedBufferUsageFlags <= maximumValueOfBufferUsageFlags; combinedBufferUsageFlags++) + for (deUint32 combinedBufferUsageFlags = 1; combinedBufferUsageFlags <= maximumValueOfBufferUsageFlags; combinedBufferUsageFlags++) { BufferCaseParameters testParams = { -- 2.7.4