From 7636d370f4e575f6b7236b40d47f4d022ca378da Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 24 Jan 2018 17:12:23 +0000 Subject: [PATCH] Don't give patched entry point a debug name, as it breaks amdvlk --- renderdoc/driver/vulkan/vk_postvs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renderdoc/driver/vulkan/vk_postvs.cpp b/renderdoc/driver/vulkan/vk_postvs.cpp index 6bdc5e94f..180dfe31b 100644 --- a/renderdoc/driver/vulkan/vk_postvs.cpp +++ b/renderdoc/driver/vulkan/vk_postvs.cpp @@ -623,9 +623,9 @@ static void ConvertToMeshOutputCompute(const ShaderReflection &refl, const SPIRV // make a new entry point that will call the old function, then when it returns extract & write // the outputs. SPIRVId wrapperEntry = editor.MakeId(); - // we set a debug name, but we don't rename the actual entry point since the API needs to hook up - // to it the same way. - editor.SetName(wrapperEntry, "RenderDoc_MeshFetch_Wrapper_Entrypoint"); + // don't set a debug name, as some drivers get confused when this doesn't match the entry point + // name :(. + // editor.SetName(wrapperEntry, "RenderDoc_MeshFetch_Wrapper_Entrypoint"); // we remove all entry points and just create one of our own. SPIRVIterator it = editor.BeginEntries();