diff options
| author | 2023-09-20 19:57:47 +0300 | |
|---|---|---|
| committer | 2023-09-25 09:20:32 -0400 | |
| commit | 5e4938ab1a8dbc121b522a292d230a274a03cfed (patch) | |
| tree | f6cac92fcf3f261dad3dd77285d6de6aef75df8e /src/video_core/vulkan_common | |
| parent | Merge pull request #11225 from FernandoS27/no-laxatives-in-santas-cookies (diff) | |
| download | yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.gz yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.tar.xz yuzu-5e4938ab1a8dbc121b522a292d230a274a03cfed.zip | |
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: | |||
| 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; |