summaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorGravatar Fernando S2023-09-28 01:56:27 +0200
committerGravatar GitHub2023-09-28 01:56:27 +0200
commitf7821041257540c61813487537603ea190a2a435 (patch)
tree3cd9fe154250c93835f96deb8f50500387c80cab /src/video_core/vulkan_common
parentMerge pull request #11613 from t895/fragment-exception-change (diff)
parenthost_shaders: More proper handling of x2 MSAA copies (diff)
downloadyuzu-f7821041257540c61813487537603ea190a2a435.tar.gz
yuzu-f7821041257540c61813487537603ea190a2a435.tar.xz
yuzu-f7821041257540c61813487537603ea190a2a435.zip
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.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:
324 return features.shader_float16_int8.shaderInt8; 324 return features.shader_float16_int8.shaderInt8;
325 } 325 }
326 326
327 /// Returns true if the device supports binding multisample images as storage images.
328 bool IsStorageImageMultisampleSupported() const {
329 return features.features.shaderStorageImageMultisample;
330 }
331
327 /// Returns true if the device warp size can potentially be bigger than guest's warp size. 332 /// Returns true if the device warp size can potentially be bigger than guest's warp size.
328 bool IsWarpSizePotentiallyBiggerThanGuest() const { 333 bool IsWarpSizePotentiallyBiggerThanGuest() const {
329 return is_warp_potentially_bigger; 334 return is_warp_potentially_bigger;