dawn-cmake/test/tint/builtins/gen/var/textureSampleBaseClampToEdge
dan sinclair 7092786f31 Fixup return of HLSL sign to match WGSL.
The HLSL `sign` method returns an `int` result (scalar or vector). The
WGSL `sign` expects the result to be the same type as the argument. This
CL injects a cast to the correct type after the `sign` call in the HLSL
generated source.

Bug: tint:1795
Change-Id: I51fed24b5b8b752b6b27fdfb5dd47eb803902793
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116692
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2023-01-11 13:18:29 +00:00
..
7c04e6.wgsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
7c04e6.wgsl.expected.dxc.hlsl Fixup return of HLSL sign to match WGSL. 2023-01-11 13:18:29 +00:00
7c04e6.wgsl.expected.fxc.hlsl Fixup return of HLSL sign to match WGSL. 2023-01-11 13:18:29 +00:00
7c04e6.wgsl.expected.glsl Reduce shader complexity for external textures 2023-01-04 12:29:56 +00:00
7c04e6.wgsl.expected.msl Reduce shader complexity for external textures 2023-01-04 12:29:56 +00:00
7c04e6.wgsl.expected.spvasm Reduce shader complexity for external textures 2023-01-04 12:29:56 +00:00
7c04e6.wgsl.expected.wgsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl.expected.dxc.hlsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl.expected.fxc.hlsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl.expected.glsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl.expected.msl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl.expected.spvasm test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
9ca02c.wgsl.expected.wgsl test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00