commit | eb59cc7f4862d7552b7536fbb9301f3d6fa31be0 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Tue Aug 06 21:32:17 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 06 21:32:17 2024 +0000 |
tree | 4b7b9e80f93fd427ad8937fc8d5e7167f18b9f4f | |
parent | e7de00bb0466a6c9ecb55c490fdff377d0c2d616 [diff] |
d3d12: Add toggle to add copy source to shader resource transition state On Nvidia, transitioning resource state to ALL_SHADER_RESOURCE doesn't seem to include all the necessary cache flushes, barriers or layout transitions causing rendering corruption if the texture is transitioned from RENDER_TARGET - SHADER_RESOURCE - RENDER_TARGET - SHADER_RESOURCE. Including the COPY_SOURCE state in addition to SHADER_RESOURCE seems to fix this problem. Add a toggle to do this and enable it on Nvidia only. Bug: 356905061 Change-Id: I12bb15640c3e28a762cc268209140cb92d4d9baa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201195 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Brandon Jones <bajones@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.