dawn-cmake/test/intrinsics/gen/select
James Price 077fe64b11 intrinsics: Add missing select() overload
WGSL supports select() with vectors, where the condition is a
scalar. To support this in SPIR-V versions older than 1.4, we need to
splat the condition operand to a vector of the same size as the
objects.

Fixed: tint:933
Change-Id: I571af46e74cd7bb24093524ccfed25a3ed612676
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56340
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-06-29 08:45:34 +00:00
..
00b848.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
00b848.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
00b848.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
00b848.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
00b848.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
01e2cd.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
01e2cd.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
01e2cd.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
01e2cd.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
01e2cd.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
1e960b.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
1e960b.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
1e960b.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
1e960b.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
1e960b.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
3c25ce.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
3c25ce.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
3c25ce.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
3c25ce.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
3c25ce.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
8fa62c.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
8fa62c.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
8fa62c.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
8fa62c.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
8fa62c.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
28a27e.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
28a27e.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
28a27e.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
28a27e.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
28a27e.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
51b047.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
51b047.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
51b047.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
51b047.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
51b047.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
78be5f.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
78be5f.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
78be5f.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
78be5f.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
78be5f.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
80a9a9.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
80a9a9.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
80a9a9.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
80a9a9.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
80a9a9.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
087ea4.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
087ea4.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
087ea4.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
087ea4.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
087ea4.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
99f883.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
99f883.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
99f883.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
99f883.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
99f883.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
266aff.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
266aff.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
266aff.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
266aff.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
266aff.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
416e14.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
416e14.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
416e14.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
416e14.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
416e14.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
713567.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
713567.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
713567.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
713567.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
713567.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
a2860e.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
a2860e.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
a2860e.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
a2860e.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
a2860e.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
ab069f.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
ab069f.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
ab069f.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
ab069f.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
ab069f.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
b04721.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
b04721.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
b04721.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
b04721.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
b04721.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bb8aae.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
bb8aae.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
bb8aae.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
bb8aae.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
bb8aae.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
bb447f.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bb447f.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bb447f.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bb447f.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bb447f.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bf3d29.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bf3d29.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bf3d29.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bf3d29.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
bf3d29.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
c4a4ef.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
c4a4ef.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
c4a4ef.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
c4a4ef.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
c4a4ef.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
c31f9e.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
c31f9e.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
c31f9e.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
c31f9e.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
c31f9e.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
c41bd1.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
c41bd1.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
c41bd1.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
c41bd1.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
c41bd1.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
cb9301.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
cb9301.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
cb9301.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
cb9301.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
cb9301.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
e3e028.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
e3e028.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
e3e028.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
e3e028.wgsl.expected.spvasm tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
e3e028.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
ebfea2.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
ebfea2.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ebfea2.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
ebfea2.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
ebfea2.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
ed8a15.wgsl test/intrinsics: Include overload signature in test case 2021-06-17 20:04:45 +00:00
ed8a15.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ed8a15.wgsl.expected.msl writer/msl: Rework string printing 2021-06-28 15:30:57 +00:00
ed8a15.wgsl.expected.spvasm writer/spirv: Fix emission of select() 2021-06-07 20:01:54 +00:00
ed8a15.wgsl.expected.wgsl tools: Return position from generated vertex shaders 2021-06-04 17:31:48 +00:00
fb7e53.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
fb7e53.wgsl.expected.hlsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
fb7e53.wgsl.expected.msl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
fb7e53.wgsl.expected.spvasm intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
fb7e53.wgsl.expected.wgsl intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00