mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 05:50:51 +00:00
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:
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);
|
||||
|
||||
Reference in New Issue
Block a user