Fix pipeline lifetime issue, misc.

This commit is contained in:
Henrik Rydgård committed 2022-09-08 00:38:32 +02:00
1 parent caff2ea573
commit 14b5a1a7cd
7 files changed
+18 -13

No files matched your search

+1 -1
View File
@@ -231,7 +231,7 @@ bool VKShaderModule::Compile(VulkanContext *vulkan, ShaderLanguage language, con
}
#endif
if (vulkan->CreateShaderModule(spirv, &module_)) {
if (vulkan->CreateShaderModule(spirv, &module_, vkstage_ == VK_SHADER_STAGE_VERTEX_BIT ? "thin3d_vs" : "thin3d_fs")) {
ok_ = true;
} else {
WARN_LOG(G3D, "vkCreateShaderModule failed");