-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Make extensions required for AHB swapchains optional on Android. #54785
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't make sense to me. I followed the spec. links for all the extensions and they all became core in 1.1. For instance, https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_external_semaphore.html says "Promoted to Vulkan 1.1" and "All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality."
Am I misunderstanding what the spec. is trying to say? Or are we not checking correctly for the presence of 1.1?
/// Platform agnostic code can still check if these Android | ||
/// extensions are present. | ||
/// | ||
enum class OptionalAndroidDeviceExtensionVK : uint32_t { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is nothing Android specific about these extensions, you can move them to OptionalDeviceExtensionVK
.
I can repro this on my android emulator. I'll get a gpu info dump from it |
I cannot run vulkan caps viewer on my emulator, it crashes immediately |
Closing as its just my f'd up emulator |
From flutter/flutter#153762
AHB required extensions are not present on some devices. These devices can still use KHR, right now we're kciking them off vulkan entirely.
Minor fixes:
Some devices don't support non-infinite timeouts
Some devices don't seem to work with the AHB swapchain/SurfaceControl.
Make some adjustments so we can prepare to fallback to KHR if needed.