Have at least one array for the triangle api test.
authorPeter Gal <pgal.u-szeged@partner.samsung.com>
Thu, 6 Aug 2015 14:12:35 +0000 (16:12 +0200)
committerPeter Gal <pgal.u-szeged@partner.samsung.com>
Thu, 6 Aug 2015 14:12:35 +0000 (16:12 +0200)
With the Intel icd the triangle api test fails as it
doesn't have any layers. Set the number of layers to one.

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

index 458a5af..aba43ec 100644 (file)
@@ -253,7 +253,7 @@ tcu::TestStatus renderTriangleTest (Context& context)
                VK_FORMAT_R8G8B8A8_UNORM,                                               //      VkFormat                                        format;
                0u,                                                                                             //      deUint32                                        mipLevel;
                0u,                                                                                             //      deUint32                                        baseArraySlice;
-               0u,                                                                                             //      deUint32                                        arraySize;
+               1u,                                                                                             //      deUint32                                        arraySize;
                0u,                                                                                             //      VkAttachmentViewCreateFlags     flags;
        };
        const Unique<VkAttachmentView>                  colorAttView                    (createAttachmentView(vk, vkDevice, &colorAttViewParams));