dawn-cmake/test/tint/builtins/textureLoad
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
..
depth_ms.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
depth_ms.spvasm.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
depth_ms.spvasm.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
depth_ms.spvasm.expected.glsl tint/writer/glsl: Inline constant expressions 2022-06-01 01:11:59 +00:00
depth_ms.spvasm.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
depth_ms.spvasm.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
depth_ms.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
texture_external_param.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
texture_external_param.wgsl.expected.dxc.hlsl Fixup return of HLSL sign to match WGSL. 2023-01-11 13:18:29 +00:00
texture_external_param.wgsl.expected.fxc.hlsl Fixup return of HLSL sign to match WGSL. 2023-01-11 13:18:29 +00:00
texture_external_param.wgsl.expected.glsl Reduce shader complexity for external textures 2023-01-04 12:29:56 +00:00
texture_external_param.wgsl.expected.msl Reduce shader complexity for external textures 2023-01-04 12:29:56 +00:00
texture_external_param.wgsl.expected.spvasm Reduce shader complexity for external textures 2023-01-04 12:29:56 +00:00
texture_external_param.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
texture_param.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
texture_param.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
texture_param.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
texture_param.wgsl.expected.glsl tint/writer/glsl: Inline constant expressions 2022-06-01 01:11:59 +00:00
texture_param.wgsl.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
texture_param.wgsl.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
texture_param.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00