dawn-cmake/test/intrinsics
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
..
arrayLength msl: Add ArrayLengthFromUniform transform 2021-06-19 00:33:35 +00:00
gen intrinsics: Add missing select() overload 2021-06-29 08:45:34 +00:00
frexp.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
frexp.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
frexp.wgsl.expected.msl Implement Pointers and References 2021-05-18 10:28:48 +00:00
frexp.wgsl.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
frexp.wgsl.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
ignore.wgsl Implement ignore() intrinsic 2021-06-09 08:30:57 +00:00
ignore.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ignore.wgsl.expected.msl Implement ignore() intrinsic 2021-06-09 08:30:57 +00:00
ignore.wgsl.expected.spvasm Implement ignore() intrinsic 2021-06-09 08:30:57 +00:00
ignore.wgsl.expected.wgsl Implement ignore() intrinsic 2021-06-09 08:30:57 +00:00
intrinsics.wgsl.tmpl test: Generate more permutations for pointers 2021-06-18 18:56:13 +00:00
modf.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
modf.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
modf.wgsl.expected.msl Implement Pointers and References 2021-05-18 10:28:48 +00:00
modf.wgsl.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
modf.wgsl.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00