mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 10:21:21 +00:00
vk: Properly initialize device fault counts structure
This commit is contained in:
parent
7b6a672c64
commit
4ef1d48c0c
@ -20,7 +20,10 @@ namespace vk
|
||||
ensure(g_render_device->_vkGetDeviceFaultInfoEXT);
|
||||
|
||||
std::string fault_message = "Device Fault Information:";
|
||||
VkDeviceFaultCountsEXT fault_counts{};
|
||||
VkDeviceFaultCountsEXT fault_counts
|
||||
{
|
||||
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
||||
};
|
||||
g_render_device->_vkGetDeviceFaultInfoEXT(*g_render_device, &fault_counts, NULL);
|
||||
|
||||
std::vector<VkDeviceFaultAddressInfoEXT> address_info(fault_counts.addressInfoCount, VkDeviceFaultAddressInfoEXT{});
|
||||
|
Loading…
x
Reference in New Issue
Block a user