mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 12:21:11 +00:00
Don't allow registered x86 layer to hide a non-registered x64 layer
This commit is contained in:
@@ -282,15 +282,18 @@ bool VulkanReplay::CheckVulkanLayer(VulkanLayerFlags &flags, std::vector<std::st
|
||||
{
|
||||
key = GetImplicitLayersKey(false, true);
|
||||
|
||||
// if we're on 64-bit, the layer isn't registered unless both keys are registered.
|
||||
thisRegistered = false;
|
||||
|
||||
if(key)
|
||||
{
|
||||
thisRegistered = ProcessImplicitLayersKey(key, wow6432Path, &otherJSONs, false);
|
||||
// if we're on 64-bit, the layer isn't registered unless both keys are registered.
|
||||
thisRegistered &= ProcessImplicitLayersKey(key, wow6432Path, &otherJSONs, false);
|
||||
|
||||
RegCloseKey(key);
|
||||
}
|
||||
else
|
||||
{
|
||||
flags = VulkanLayerFlags::NeedElevation | VulkanLayerFlags::RegisterAll;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user