From 122bb4d8291f5a6b4662f9c622b124010692db1d Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 25 May 2021 19:10:47 +0300 Subject: [PATCH] vk: Avoid repeated chip_class lookup by using generic global function --- rpcs3/Emu/RSX/VK/VKDMA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKDMA.cpp b/rpcs3/Emu/RSX/VK/VKDMA.cpp index b13548a35f..3d95d10ccf 100644 --- a/rpcs3/Emu/RSX/VK/VKDMA.cpp +++ b/rpcs3/Emu/RSX/VK/VKDMA.cpp @@ -256,7 +256,7 @@ namespace vk void create_dma_block(std::unique_ptr& block, u32 base_address, usz expected_length) { const auto vendor = g_render_device->gpu().get_driver_vendor(); - [[maybe_unused]] const auto chip = g_render_device->gpu().get_chip_class(); + [[maybe_unused]] const auto chip = vk::get_chip_family(); #if defined(_WIN32) bool allow_host_buffers;