commit | 5082727e550583dd1c64d6aa12ea8d06d7296f6c | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Fri Dec 16 16:46:12 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 16 16:46:12 2022 +0000 |
tree | 55fc51e5482cdd859d67316c4b37eb79c9f19569 | |
parent | 7c3e9a6dd25fa98077d9ae7d6d815dde45ca86c6 [diff] |
D3D12: Remove the 24K extra memory for texture corruption 2D array texture may corrupt on some Intel devices, making out-of-bound texture access and memory information leak. It's a critical security issue. Intel driver team suggested the 24K extra memory approach in order to mitigate the security issue before. However, the texture corruption issue (and even the correctness issue) can be worked around via allocating a few extra layers. And patches have already been merged in Dawn, with a lot tests for verification. The 24K extra memory for each texture is actually incorrect and unnecessary. So this patch removes relevant code in Dawn. This patch mainly reverts some code of this patch below: https://dawn-review.googlesource.com/c/dawn/+/96220 Bug: dawn:1507 Change-Id: Ic3239115ad4c74bdee928577ccbb20f1e35d13c3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114641 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Yunchao He <yunchao.he@intel.com>
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.