Add missing strings for Vulkan task and mesh shaders.

Fixes a crash when replaying a capture that uses mesh/task shaders
with GPL.
This commit is contained in:
Philip Rebohle
2024-01-08 22:02:42 +01:00
committed by Baldur Karlsson
parent 4a620bb5a1
commit 14eea0f8a1
@@ -517,8 +517,10 @@ bool WrappedVulkan::Serialise_vkCreateGraphicsPipelines(
DerivedResource(device, shadId);
DerivedResource(pipe, shadId);
const char *names[] = {" vertex shader", " tess control shader", " tess eval shader",
" geometry shader", " fragment shader"};
const char *names[] = {" vertex shader", " tess control shader",
" tess eval shader", " geometry shader",
" fragment shader", NULL,
" task shader", " mesh shader"};
if(shadName)
GetReplay()->GetResourceDesc(shadId).SetCustomName(shadName->pObjectName);