From 8ae150cb9e8b46e481bdb1852bb4fb8884077bb4 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 21 Jul 2023 12:37:04 +0900 Subject: [PATCH] [vulkan] Use correct name for pipelines Using the subpass name instead of the pipeline name makes for a confusing mess of duplicated names when subpasses have multiple pipelines. --- libs/video/renderer/vulkan/render_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/renderer/vulkan/render_load.c b/libs/video/renderer/vulkan/render_load.c index b2424fd9a..2adf7b6b3 100644 --- a/libs/video/renderer/vulkan/render_load.c +++ b/libs/video/renderer/vulkan/render_load.c @@ -647,7 +647,7 @@ init_spCreate (uint32_t index, qfv_subpassinfo_t *sub, objstate_t *s) init_plCreate (&s->plc[i], s->spi->base_pipeline, s); } init_plCreate (&s->plc[i], &s->spi->pipelines[i], s); - pln[i] = s->spi->name; + pln[i] = s->spi->pipelines[i].name; s->inds.num_graph_pipelines++; }