[Piglit] [Crucible] [PATCH 2/2] qonos: Create empty layouts for graphics pipelines

Józef Kucia joseph.kucia at gmail.com
Sat Sep 9 19:15:24 UTC 2017


The layout must be a valid VkPipelineLayout handle.
---
 src/qonos/qonos_pipeline.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/qonos/qonos_pipeline.c b/src/qonos/qonos_pipeline.c
index c95a937..f7600a4 100644
--- a/src/qonos/qonos_pipeline.c
+++ b/src/qonos/qonos_pipeline.c
@@ -264,6 +264,9 @@ qoCreateGraphicsPipeline(VkDevice device,
             };
     }
 
+    if (!pipeline_info.layout)
+        pipeline_info.layout = qoCreatePipelineLayout(device);
+
     result = vkCreateGraphicsPipelines(device, pipeline_cache,
                                        1, &pipeline_info, NULL, &pipeline);
 
-- 
2.13.5



More information about the Piglit mailing list