dawn-cmake/test/intrinsics/gen/textureGatherCompare
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
..
6d9352.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
6d9352.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
6d9352.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
6d9352.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
6d9352.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
6d9352.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
6f1267.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
6f1267.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
6f1267.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
6f1267.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
6f1267.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
6f1267.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
60d2d1.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
60d2d1.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
60d2d1.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
60d2d1.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
60d2d1.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
60d2d1.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
182fd4.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
182fd4.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
182fd4.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
182fd4.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
182fd4.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
182fd4.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
783e65.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
783e65.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
783e65.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
783e65.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
783e65.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
783e65.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
a5f587.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
a5f587.wgsl.expected.glsl GLSL: fix clip space mismatch in gl_Position. 2022-01-26 14:45:55 +00:00
a5f587.wgsl.expected.hlsl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
a5f587.wgsl.expected.msl Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
a5f587.wgsl.expected.spvasm Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
a5f587.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00