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! 🚀
MIT License
2.65k
stars
122
forks
source link
Add new HLSL operators for 'int' and 'uint' operands #818
This PR adds new operators for all int and uint HLSL vector and matrix types, taking int and uint right operands. This makes it possible to use them with literal expressions in C# that could be ambiguous between int and uint.
Closes #817
Description
This PR adds new operators for all
int
anduint
HLSL vector and matrix types, takingint
anduint
right operands. This makes it possible to use them with literal expressions in C# that could be ambiguous betweenint
anduint
.