summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-09-20 18:57:47 +0200
committerLiam <byteslice@airmail.cc>2023-09-25 15:20:32 +0200
commit5e4938ab1a8dbc121b522a292d230a274a03cfed (patch)
treef6cac92fcf3f261dad3dd77285d6de6aef75df8e /src/video_core/vulkan_common
parentMerge pull request #11225 from FernandoS27/no-laxatives-in-santas-cookies (diff)
downloadyuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar
yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.gz
yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.bz2
yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.lz
yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.xz
yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.zst
yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h5
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;