commit | 068eb3ebdaf66b47264392bfbc708f871d0b45ee | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Mar 08 02:48:34 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 08 02:48:34 2023 +0000 |
tree | 65d05b6a4b28fa8dc11739f1d809582bf9896a45 | |
parent | 4f98dd4706743f077a64b7ff4697d53f72c6498a [diff] |
tint: Fix HLSL texture queries and re-add textureNumLayers() ... overloads for texture cube arrays FXC is telling porkies, when it says "The array element count of GetDimensions on TextureCubeArray objects is unavailable on ps_5_1". The actual issue, as identified by Teodor Tanasoaia at Mozilla, is that the argument needs to be unsigned. In fact, *all* the texture queries should have used an unsigned scalar or vector for the output value. This has been broken forever! This reverts commit bd9f6e66842ed986dfff3264326bb385d467c5f3. Change-Id: I3e217bec17c6fd203cff618b143ebef3d8a61927 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122980 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Dan Sinclair <dsinclair@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.