You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add a few more checks to ensure that unsupported image formats are not used in the mobile renderer
This commit is contained in:
@@ -9370,7 +9370,7 @@ bool RenderingDeviceVulkan::has_feature(const Features p_feature) const {
|
||||
} break;
|
||||
case SUPPORTS_ATTACHMENT_VRS: {
|
||||
VulkanContext::VRSCapabilities vrs_capabilities = context->get_vrs_capabilities();
|
||||
return vrs_capabilities.attachment_vrs_supported;
|
||||
return vrs_capabilities.attachment_vrs_supported && context->get_physical_device_features().shaderStorageImageExtendedFormats;
|
||||
} break;
|
||||
default: {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user