dawn-cmake/test
Stephen White b1d2b84f7d GLSL: fix clip space mismatch in gl_Position.
OpenGL clips against [-w, w], while WebGPU uses [0, w]. The fix is to
modify gl_Position.z on output to match GLSL semantics. (This is the
same code used by SPIRV-Cross under the fixup_clipspace option.)

Bug: tint:1401
Change-Id: I1b1511352eee11cd9b095cd809aa8e1263c6cf4c
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78261
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-01-26 14:45:55 +00:00
..
access wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
array GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
benchmark GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
buffer GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
bug GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
expressions GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
identifiers/underscore GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
intrinsics GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
layout/storage/mat2x2 GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
let GLSL: add location layout qualifier before in/out variables. 2022-01-25 19:44:14 +00:00
loops GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
ptr_ref GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
samples GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
shader_io GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
shadowing GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
statements GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
struct wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
types GLSL: implement CombineSamplers transform (string version). 2022-01-24 17:17:22 +00:00
unittest/reader/spirv GLSL: implement interpolation qualifiers. 2022-01-25 21:39:05 +00:00
var GLSL: add location layout qualifier before in/out variables. 2022-01-25 19:44:14 +00:00
vk-gl-cts GLSL: implement interpolation qualifiers. 2022-01-25 21:39:05 +00:00
BUILD.gn Make use of std::string_view when parsing 2022-01-25 17:15:37 +00:00
extract-spvasm.py
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00