renderer_vulkan: Implement MSAA copies

This commit is contained in:
GPUCode
2023-09-20 19:57:47 +03:00
committed by Liam
parent 854457a392
commit 5e4938ab1a
5 changed files with 219 additions and 32 deletions

View File

@ -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;