commit | 554184fa16425daed82d6c66f85b8da6cf5e4d80 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Wed Feb 14 21:11:36 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 14 21:11:36 2024 +0000 |
tree | 61f2c209c2d845ae5c3f66f2a138dace7efc9cdb | |
parent | 1b0f28ec95a4f384ed758ddb01024fe3235454a6 [diff] |
OpenGL: scale the depthBias value by half. There is an ambiguity in the GL and Vulkan specs with respect to depthBias: If a depth value lies between 2^n and 2^(n+1), is the "exponent of the depth value" in the spec n or n+1? It looks like GL drivers use n, while the WebGPU CTS is expecting n+1. Scaling the depth bias value by 0.5 gives results that the WebGPU CTS expects. Bug: dawn:2076 Change-Id: If2965acd5250b1ed834a0bad260907522c179679 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/174922 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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.