mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 17:49:18 +00:00
Handle NULL descriptors being created with 0 address
This commit is contained in:
1 file changed
+1
-1
@@ -3486,7 +3486,7 @@ void WrappedVulkan::vkGetDescriptorEXT(VkDevice device, const VkDescriptorGetInf
|
||||
{
|
||||
// uniform/storage are identical in the union. Since the type forms part of our this
|
||||
// logic can be done in common
|
||||
if(pDescriptorInfo->data.pUniformBuffer)
|
||||
if(pDescriptorInfo->data.pUniformBuffer && pDescriptorInfo->data.pUniformBuffer->address)
|
||||
{
|
||||
VkFormat fmt = VK_FORMAT_UNDEFINED;
|
||||
if(pDescriptorInfo->type == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER ||
|
||||
|
||||
Reference in new issue
Block a user