diff options
| author | GPUCode <geoster3d@gmail.com> | 2023-09-20 19:57:47 +0300 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-09-25 09:20:32 -0400 |
| commit | 5e4938ab1a8dbc121b522a292d230a274a03cfed (patch) | |
| tree | f6cac92fcf3f261dad3dd77285d6de6aef75df8e /src/video_core/vulkan_common | |
| parent | 854457a392b6d38168f7f9d19d1fa8c43fad653c (diff) | |
renderer_vulkan: Implement MSAA copies
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
