mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
vk: Properly initialize device fault counts structure
This commit is contained in:
parent
7b6a672c64
commit
4ef1d48c0c
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue