From 9fb79b893070d0088e8e897a26f425614bbbc576 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 29 May 2024 01:24:25 +0300 Subject: [PATCH] vk: Fix typo --- rpcs3/Emu/RSX/VK/vkutils/chip_class.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/vkutils/chip_class.h b/rpcs3/Emu/RSX/VK/vkutils/chip_class.h index 7c33fb911b..d6dc990c69 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/chip_class.h +++ b/rpcs3/Emu/RSX/VK/vkutils/chip_class.h @@ -36,7 +36,7 @@ namespace vk // INTEL INTEL_generic, INTEL_alchemist, - _INTEL_ENUM_MAX, // Do not insert INTEL enums beyond this point + _INTEL_ENUM_MAX_, // Do not insert INTEL enums beyond this point }; enum class driver_vendor @@ -71,7 +71,7 @@ namespace vk static inline bool is_NVIDIA(chip_class chip) { return chip >= chip_class::NV_generic && chip < chip_class::_NV_ENUM_MAX_; } static inline bool is_AMD(chip_class chip) { return chip >= chip_class::AMD_gcn_generic && chip < chip_class::_AMD_ENUM_MAX_; } - static inline bool is_INTEL(chip_class chip) { return chip >= chip_class::INTEL_generic && chip < chip_class::_INTEL_ENUM_MAX; } + static inline bool is_INTEL(chip_class chip) { return chip >= chip_class::INTEL_generic && chip < chip_class::_INTEL_ENUM_MAX_; } static inline bool is_NVIDIA(driver_vendor vendor) { return vendor == driver_vendor::NVIDIA || vendor == driver_vendor::NVK; } static inline bool is_AMD(driver_vendor vendor) { return vendor == driver_vendor::AMD || vendor == driver_vendor::RADV; }