dawn-cmake/test/bug/chromium
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
..
1221120.wgsl ast: Fix nullptr deref in Variable::info_to_str 2021-06-21 19:20:16 +00:00
1221120.wgsl.expected.glsl GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
1221120.wgsl.expected.hlsl ast: Fix nullptr deref in Variable::info_to_str 2021-06-21 19:20:16 +00:00
1221120.wgsl.expected.msl ast: Fix nullptr deref in Variable::info_to_str 2021-06-21 19:20:16 +00:00
1221120.wgsl.expected.spvasm ast: Fix nullptr deref in Variable::info_to_str 2021-06-21 19:20:16 +00:00
1221120.wgsl.expected.wgsl ast: Fix nullptr deref in Variable::info_to_str 2021-06-21 19:20:16 +00:00
1236161.wgsl Fix structure builtin emission 2021-08-04 22:03:28 +00:00
1236161.wgsl.expected.glsl GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
1236161.wgsl.expected.hlsl Fix structure builtin emission 2021-08-04 22:03:28 +00:00
1236161.wgsl.expected.msl Fix structure builtin emission 2021-08-04 22:03:28 +00:00
1236161.wgsl.expected.spvasm reader/wgsl: Allow identifiers to start with an underscore 2021-11-19 21:52:13 +00:00
1236161.wgsl.expected.wgsl Fix structure builtin emission 2021-08-04 22:03:28 +00:00
1251009.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1251009.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
1251009.wgsl.expected.hlsl transform: Avoid symbol collision in Canonicalize IO 2021-09-27 21:40:33 +00:00
1251009.wgsl.expected.msl transform: Avoid symbol collision in Canonicalize IO 2021-09-27 21:40:33 +00:00
1251009.wgsl.expected.spvasm transform: Avoid symbol collision in Canonicalize IO 2021-09-27 21:40:33 +00:00
1251009.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
1273230.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
1273230.wgsl.expected.glsl GLSL: standardize layout() formatting (whitespace change). 2022-01-25 20:06:05 +00:00
1273230.wgsl.expected.hlsl Fix FXC compile errors on modulo by zero 2021-12-22 15:02:09 +00:00
1273230.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
1273230.wgsl.expected.spvasm transform: Don't consider type-ctor/casts as having side-effects 2021-11-25 16:10:28 +00:00
1273230.wgsl.expected.wgsl Deprecate the @stride attribute 2022-01-20 22:11:07 +00:00
1273451.wgsl resolver: Fix bug in dep graph SortGlobals() 2021-11-25 18:07:57 +00:00
1273451.wgsl.expected.glsl GLSL samples: add empty entry point if needed. 2022-01-21 18:40:18 +00:00
1273451.wgsl.expected.hlsl e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
1273451.wgsl.expected.msl writer/msl: Replace use of 'auto' with actual return type 2021-12-03 21:50:23 +00:00
1273451.wgsl.expected.spvasm e2e tests: generate missing expected files 2021-12-18 21:28:23 +00:00
1273451.wgsl.expected.wgsl wgsl: Do not require a semicolon after a struct 2022-01-19 18:11:17 +00:00