video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise.

This commit is contained in:
bunnei 2023-05-02 17:52:41 -07:00
parent e5bdb7011b
commit ca4bf3844e
3 changed files with 16 additions and 5 deletions

View file

@ -295,6 +295,11 @@ public:
return features.features.textureCompressionASTC_LDR;
}
/// Returns true if descriptor aliasing is natively supported.
bool IsDescriptorAliasingSupported() const {
return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
}
/// Returns true if the device supports float16 natively.
bool IsFloat16Supported() const {
return features.shader_float16_int8.shaderFloat16;