mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
As part of the tint -> dawn merge. Bug: dawn:1275 Change-Id: Ice0c9d2f03f6d7e96471cf8398aecd16273c833f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/78400 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
14 lines
599 B
Markdown
14 lines
599 B
Markdown
# Dawn Native
|
|
|
|
The `dawn-native` feature enables additional functionality that is supported only
|
|
when the WebGPU implementation is `dawn_native`.
|
|
|
|
Additional functionality:
|
|
- `wgpu::DawnTogglesDeviceDescriptor` may be chained on `wgpu::DeviceDescriptor` on device creation to enable Dawn-specific toggles on the device.
|
|
|
|
- Synchronous `adapter.CreateDevice(const wgpu::DeviceDescriptor*)` may be called.
|
|
|
|
Notes:
|
|
- Enabling this feature in the `wgpu::DeviceDescriptor` does nothing, but
|
|
its presence in the Adapter's set of supported features means that the additional functionality is supported.
|