Skip to content

[Impeller] Vulkan capabilities should be able to identify known vendors and drivers. #145119

@chinmaygarde

Description

@chinmaygarde

Followup from the Impeller Weekly: We would like to detect when we are running on a device running SwiftShader or another Vulkan emulation. This way, we will be able to detect if and when to fallback to Skia/Software rendering.

On Android, this can be done via VkPhysicalDeviceProperties::vendorID being Google's PCI Vendor ID and with SwiftShader in the VkPhysicalDeviceProperties::name field.

VK_KHR_driver_properties can also be used for SwiftShader but that in itself is an extension.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions