commit | fde88108407eab21e7d7a1bf44712a87cc53b9d1 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Mon Aug 05 20:27:14 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 05 20:27:14 2024 +0000 |
tree | e568aa51f66f51aa41023bad72c459593da07530 | |
parent | 55ac015a79e2a6abd2822c33fee27ccd7e0ef1c0 [diff] |
d3d12: Fix debug layer error re: resource placement alignment Per spec, D3D12_SMALL_RESOURCE_PLACEMENT_ALIGNMENT is not allowed for render target or depth stencil textures and D3D12 debug layer complains about this when passed to GetResourceAllocationInfo() even though that tells us that it's not supported and we fallback to default alignment. Silence the debug layer error by not asking for the small alignment in the first place. Bug: 356905061 Change-Id: I184318ee8c01f9c048e4c8239b60203763a1a216 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201194 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@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.