-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan: Various validation errors related to device extensions and features #69951
Comments
I'm not sure if we need VK_KHR_maintenance2, |
Ah this is in specifying So we're going to start checking the feature flags for various features I guess and make a decision on which we require. I don't really see how we can live without cube arrays as they are central to our radiance map implementation and shadow maps for omni lights. |
Ya cube map arrays are absolutely required for us |
Ok, so on #6, in the code we're already excluding the effected code on Android, we might be able to remove that and just check for the extension. |
And #7 is also tricky, indeed we need to check for |
Godot version
master
System information
Windows 11, Vulkan, AMD Radeon RX 5700
Issue description
VK_KHR_storage_buffer_storage_class
VK_KHR_maintenance2
VkPhysicalDeviceFeatures::imageCubeArray
feature is not enabled. According to vulkan.gpuinfo.orgimageCubeArray
is supported by 98.44% of devices, so I think it should be fine to make this feature a requirement and fail initialization if this feature is not supported.VkPhysicalDeviceFeatures::samplerAnisotropy
feature is not enabled.samplerAnisotropy
is supported by 90.12% of devicesVkImageFormatListCreateInfoKHR
requiresVK_KHR_image_format_list
to be enabledhttps://github.com/godotengine/godot/blob/master/drivers/vulkan/rendering_device_vulkan.cpp#L1663
VkImageViewUsageCreateInfo
requiresVK_KHR_maintenance2
to be enabled.https://github.com/godotengine/godot/blob/master/drivers/vulkan/rendering_device_vulkan.cpp#L2087-L2130
RenderingDevice::texture_create_shared
currently assumes this extension is always enabled, so fixing this is probably a bit more involved than just enablingVK_KHR_maintenance2
invulkan_context.cpp
register_requested_device_extension
invulkan_context.cpp
Steps to reproduce
.txt
extensionVP_SAKREL_vulkan_1_0_profile_with_device_features_disabled.json
as profileMinimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: