[dawn][vk] Use VkDriverId to decide workaround toggles. The IsAndroidFoo conditions matched GPUs only on Android when the same drivers may be used on ChromeOS. To broaden the checks without penalizing other drivers, PhysicalDeviceVk now uses VkDriverId that lets us detect which driver we're running on. Assuming all the proprietary drivers are the same source (and that the workarounds are for driver issues, not hardware issues), this gives more precise conditions for when the workaround is needed. Also group toggles under IsIntelMesa together. Fixed: 517033235 Change-Id: I67775c8a508f03e6adaf440d6577a319c1f65a78 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/311895 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.