mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix validation error querying vkCreateDevice from GDPA
This commit is contained in:
@@ -50,6 +50,7 @@ void InitReplayTables(void *vulkanModule)
|
||||
VkDevDispatchTable &table = replayDeviceTable;
|
||||
memset(&table, 0, sizeof(table));
|
||||
HookInit(GetDeviceProcAddr);
|
||||
HookInit(CreateDevice);
|
||||
HookInitVulkanDevice();
|
||||
}
|
||||
|
||||
|
||||
@@ -278,7 +278,8 @@
|
||||
HookInit(GetPhysicalDeviceSparseImageFormatProperties); \
|
||||
HookInit(GetPhysicalDeviceProperties); \
|
||||
HookInit(GetPhysicalDeviceQueueFamilyProperties); \
|
||||
HookInit(GetPhysicalDeviceMemoryProperties);
|
||||
HookInit(GetPhysicalDeviceMemoryProperties); \
|
||||
HookInit(CreateDevice);
|
||||
|
||||
#define HookInitVulkanInstance_PhysDev() \
|
||||
HookInit(GetPhysicalDeviceFeatures); \
|
||||
@@ -290,7 +291,6 @@
|
||||
HookInit(GetPhysicalDeviceMemoryProperties);
|
||||
|
||||
#define HookInitVulkanDevice() \
|
||||
HookInit(CreateDevice); \
|
||||
HookInit(DestroyDevice); \
|
||||
HookInit(GetDeviceQueue); \
|
||||
HookInit(QueueSubmit); \
|
||||
|
||||
Reference in New Issue
Block a user