A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
This PR adds the new Hlsl.ConditionalSelect intrinsics, mapping to the vectorized ?: HLSL operator.
They have special handling on DX12 to use select() instead, to account for HLSL 2021 (see here).
Closes #735
Description
This PR adds the new
Hlsl.ConditionalSelect
intrinsics, mapping to the vectorized?:
HLSL operator. They have special handling on DX12 to useselect()
instead, to account for HLSL 2021 (see here).