Fix framebuffer number of layers in granularity tests
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 23 Dec 2016 17:37:56 +0000 (17:37 +0000)
committerPyry Haulos <phaulos@google.com>
Fri, 6 Jan 2017 20:27:23 +0000 (15:27 -0500)
Change-Id: Idf2f1ee6f6f9ab5996ad5d07a7fed84241c57e9b

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

index fa79bfb..8a6fdd8 100644 (file)
@@ -282,7 +282,7 @@ void GranularityInstance::initRenderPass (void)
                        &imageViews[0],                                                         // const VkImageView*           pAttachments;
                        1,                                                                                      // deUint32                                     width;
                        1,                                                                                      // deUint32                                     height;
-                       0                                                                                       // deUint32                                     layers;
+                       1                                                                                       // deUint32                                     layers;
                };
 
                m_frameBuffer   = createFramebuffer(vk, device, &framebufferParams);