From 5e4938ab1a8dbc121b522a292d230a274a03cfed Mon Sep 17 00:00:00 2001 From: GPUCode Date: Wed, 20 Sep 2023 19:57:47 +0300 Subject: renderer_vulkan: Implement MSAA copies --- src/video_core/vulkan_common/vulkan_device.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/video_core/vulkan_common/vulkan_device.h') diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 94f41266d..dd1e7ea8c 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -324,6 +324,11 @@ public: return features.shader_float16_int8.shaderInt8; } + /// Returns true if the device supports binding multisample images as storage images. + bool IsStorageImageMultisampleSupported() const { + return features.features.shaderStorageImageMultisample; + } + /// Returns true if the device warp size can potentially be bigger than guest's warp size. bool IsWarpSizePotentiallyBiggerThanGuest() const { return is_warp_potentially_bigger; -- cgit v1.2.3