diff options
| author | Fernando S <fsahmkow27@gmail.com> | 2023-09-28 01:56:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-28 01:56:27 +0200 |
| commit | f7821041257540c61813487537603ea190a2a435 (patch) | |
| tree | 3cd9fe154250c93835f96deb8f50500387c80cab /src/video_core/vulkan_common | |
| parent | 882859bc78e8721b1ccb0a029832d5d909c1ca61 (diff) | |
| parent | b60013b27764c4aa75125a5d8159f27a58bedf6c (diff) | |
Merge pull request #11556 from GPUCode/msaa-image-vk
renderer_vulkan: Implement MSAA image 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; |
