commit | 3e3eb72551e61b82df38eae7232c29ea333673c9 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Feb 22 14:45:11 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 22 14:45:11 2024 +0000 |
tree | dd55938606e095f5461627f887fe2f4f9d61bee9 | |
parent | 707dff4a1d275c3b52c2bee840986c3c6bcb5728 [diff] |
D3D12: Don't skip flushes when the recording context is not open. Make the CommandRecordingContext always open instead by initializing it on Queue creation and reinitializing it after a submit. This allowed removing all the IsOpen() logic. In order to move in the queue the logic to reinitialize the context, the CommandAllocatorManager was folded in the Queue, where allocation of ID3D12CommandLists and their reuse can be controlled more precisely. Bug: dawn:1413 Change-Id: If9b7d49295451b630eb999b20066151f97ccbc10 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/175222 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com>
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.