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

Signed-off-by: Nanley Chery <[email protected]>
---
 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

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to