Fix validation error querying vkCreateDevice from GDPA

This commit is contained in:
baldurk
2025-06-09 16:08:56 +01:00
parent d8241fdca9
commit 6337c23958
2 changed files with 3 additions and 2 deletions
@@ -50,6 +50,7 @@ void InitReplayTables(void *vulkanModule)
VkDevDispatchTable &table = replayDeviceTable;
memset(&table, 0, sizeof(table));
HookInit(GetDeviceProcAddr);
HookInit(CreateDevice);
HookInitVulkanDevice();
}
+2 -2
View File
@@ -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); \