commit | 7564ae1defd46117488da23cdf38d1bb54bec817 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Feb 25 22:03:55 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Feb 25 22:03:55 2021 +0000 |
tree | eeea6fbbb40e9b1156cca2e2e248c9eb9036b7b2 | |
parent | 4165c1cd9ccee925f4f0f1bfb50770f724ee8e3b [diff] |
D3D12: Add test for the crash issue about T2T copy with Depth32Float Currently on D3D12 backend a device lost will occur when we do a T2T copy under the following situations: 1. with Depth32Float 2. only copy one row 3. bufferCopyOffset == 256 This is because in current implementation it is possible for us to do a copy with D3D12_SUBRESOURCE_FOOTPRINT.Depth > 1, which is not allowed with DXGI_FORMAT_D32_FLOAT because this format is not supported to be used as 3D textures. This patch adds a regression test for this bug and we will fix it later. BUG=dawn:693 TEST=dawn_end2end_tests Change-Id: Ib6fe70988b5b217d5f14d3f32999b3841e5d23b9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/42600 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Brandon Jones <brandon1.jones@intel.com> Reviewed-by: Austin Eng <enga@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.