summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurĂ©lien Brooke <[email protected]>2025-04-26 10:41:37 +0200
committerAurĂ©lien Brooke <[email protected]>2025-04-30 21:06:03 +0200
commit3020aa0a1f8b0b42eda4bca1dcbca3f925bbd9d0 (patch)
treeda5205982917fdb5944fd2d7ae97525d8e7cd4a1
parenta343d5fe58343d1b6ee3454fa8aa14965624e040 (diff)
rhi: vulkan: set object names on pipelines too
It helps debugging. Change-Id: Ibb01bf9ebbeb06c05fd4be2ca17277dff8247c5f Reviewed-by: Laszlo Agocs <[email protected]>
-rw-r--r--src/gui/rhi/qrhivulkan.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhivulkan.cpp b/src/gui/rhi/qrhivulkan.cpp
index 54c3500bf82..aad3ffa72a8 100644
--- a/src/gui/rhi/qrhivulkan.cpp
+++ b/src/gui/rhi/qrhivulkan.cpp
@@ -8431,6 +8431,8 @@ bool QVkGraphicsPipeline::create()
return false;
}
+ rhiD->setObjectName(uint64_t(pipeline), VK_OBJECT_TYPE_PIPELINE, m_objectName);
+
rhiD->pipelineCreationEnd();
lastActiveFrameSlot = -1;
generation += 1;
@@ -8525,6 +8527,8 @@ bool QVkComputePipeline::create()
return false;
}
+ rhiD->setObjectName(uint64_t(pipeline), VK_OBJECT_TYPE_PIPELINE, m_objectName);
+
rhiD->pipelineCreationEnd();
lastActiveFrameSlot = -1;
generation += 1;