commit | be637db5897d14b51dac6f71551ce4d2cb822d06 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Jun 19 14:41:23 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Fri Jun 19 14:41:23 2020 +0000 |
tree | 741f0be9010ffa3e2567e7067c5415111b2b28ba | |
parent | 693e88ae8516eaff4102da1e2290e13f1007cc1a [diff] |
Vulkan: Correctly request 16bit shader features. All the querying of extensions was correctly handled for the WebGPU ShaderFloat16 extensions, except that we forgot to request it when creating the VkDevice. In practice this doesn't crash as most drivers won't check if the extension is enabled, and just compile the shader code correctly. However the Vulkan Validation Layers complain. This CL fixes it by requesting the features on device creation. Bug: dawn:426 Change-Id: Id7307bb4f1d08a10bec9fc7bf0500c5761f96ff7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23203 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.