[Piglit] [PATCH 5/8] cru/func.desc.dynamic: Set required VkRenderPassBeginInfo::sType field

Nanley Chery nanleychery at gmail.com
Wed Jul 13 19:58:13 UTC 2016


This is required by the Vulkan Specification and silences the
validation layers.

Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
 src/tests/func/desc/dynamic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tests/func/desc/dynamic.c b/src/tests/func/desc/dynamic.c
index bb17fab..c57cd5c 100644
--- a/src/tests/func/desc/dynamic.c
+++ b/src/tests/func/desc/dynamic.c
@@ -232,6 +232,7 @@ test(void)
 
     vkCmdBeginRenderPass(t_cmd_buffer,
         &(VkRenderPassBeginInfo) {
+            .sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
             .renderPass = pass,
             .framebuffer = t_framebuffer,
             .renderArea = { { 0, 0 }, { t_width, t_height } },
-- 
2.9.0



More information about the Piglit mailing list