renderer_vulkan: Implement MSAA copies

This commit is contained in:
GPUCode 2023-09-20 19:57:47 +03:00 committed by Liam
parent 8936ff8f89
commit 5529df01e3
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;