api.buffer.createBuffer: buffer usage cannot be 0.
authorscygan <slawomir.cygan@intel.com>
Mon, 21 Dec 2015 12:49:31 +0000 (13:49 +0100)
committerscygan <slawomir.cygan@intel.com>
Mon, 21 Dec 2015 12:54:07 +0000 (13:54 +0100)
Spec: (Valid Usage for VkBufferCreateInfo): usage must not be 0

external/vulkancts/modules/vulkan/api/vktApiBufferTests.cpp

index 92023bc..00476b8 100644 (file)
@@ -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 =
                        {