dawn-cmake/test/intrinsics/gen/abs
Ben Clayton 5e35864c1b writer/spirv: Fix abs() on unsigned integers
GLSLstd450SAbs expects a *signed* integer.
abs() of an unsigned number is now a no-op.

Fixes WebGPU CTS tests:
webgpu:shader,execution,robust_access_vertex:vertex_buffer_access:*

Bug: tint:1194
Change-Id: I65c5e9f2f03aac0b788b9ba88c383cbec136d7c6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/65620
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Ben Clayton <bclayton@chromium.org>
Reviewed-by: David Neto <dneto@google.com>
2021-10-01 08:41:55 +00:00
..
1ce782.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
1ce782.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1ce782.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1ce782.wgsl.expected.spvasm writer/spirv: Fix abs() on unsigned integers 2021-10-01 08:41:55 +00:00
1ce782.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
1e9d53.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
1e9d53.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1e9d53.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
1e9d53.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
1e9d53.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
4ad288.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
4ad288.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
4ad288.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
4ad288.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
4ad288.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
5ad50a.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
5ad50a.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
5ad50a.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
5ad50a.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
5ad50a.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
7f28e6.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
7f28e6.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
7f28e6.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
7f28e6.wgsl.expected.spvasm writer/spirv: Fix abs() on unsigned integers 2021-10-01 08:41:55 +00:00
7f28e6.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
7faa9e.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
7faa9e.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
7faa9e.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
7faa9e.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
7faa9e.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
9c80a6.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
9c80a6.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
9c80a6.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
9c80a6.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
9c80a6.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
467cd1.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
467cd1.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
467cd1.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
467cd1.wgsl.expected.spvasm writer/spirv: Fix abs() on unsigned integers 2021-10-01 08:41:55 +00:00
467cd1.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
002533.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
002533.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
002533.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
002533.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
002533.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
005174.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
005174.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
005174.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
005174.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
005174.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
7326de.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
7326de.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
7326de.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
7326de.wgsl.expected.spvasm writer/spirv: Fix abs() on unsigned integers 2021-10-01 08:41:55 +00:00
7326de.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
b96037.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
b96037.wgsl.expected.hlsl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
b96037.wgsl.expected.msl transform/shader_io: Generate a wrapper function 2021-08-04 22:15:28 +00:00
b96037.wgsl.expected.spvasm spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
b96037.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00