| commit | c19082939045eeb1e5746ef1e416d8d399eff1e9 | [log] [tgz] |
|---|---|---|
| author | Jiawei Shao <jiawei.shao@intel.com> | Tue Dec 10 03:05:36 2024 +0000 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 10 03:05:36 2024 +0000 |
| tree | 8f1c276efc69ed56ad8d452682d7af95cee3c8a4 | |
| parent | 44ba37da8f56caecdd08bbfcc09b73e5cee00eb3 [diff] |
D3D12: Use same format for null RTV in render pass and unused RTV in PSO This patch uses same format (currently RGBA8Unorm) as the DXGI format of both null RTV used in render pass and unused RTV when creating render pipeline state object. Without this patch D3D12 debug layer will generate below error message when we use a PSO that uses RTV at slot 1 and remain empty at slot 0 in a D3D12 render pass: The current render pass binds a different render target format compared to what the pipeline state object describes. Render pass is predicted to bind DXGI_FORMAT_R8G8B8A8_UNORM at [0], but PSO describes DXGI_FORMAT_UNKNOWN at [0]. [ EXECUTION ERROR #1170: RENDER_PASS_ERROR] Bug: chromium:381742470 Test: dawn_end2end_tests Change-Id: I437211babe5492b821280cb97408b33a8d10d5ad Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218074 Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.