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.7k
stars
121
forks
source link
Add incrementality unit tests for DX12 and D2D generators #742
This PR adds unit tests for incrementality to both the DX12 and D2D source generators. While at it, it also adds two missing Where(...) calls on the diagnostic steps for both generators, which allows the generators to avoid triggering that output step that's used to emit diagnostics, in all cases where no diagnostic is actually available. It also makes unit testing simpler.
Closes #738
Description
This PR adds unit tests for incrementality to both the DX12 and D2D source generators. While at it, it also adds two missing
Where(...)
calls on the diagnostic steps for both generators, which allows the generators to avoid triggering that output step that's used to emit diagnostics, in all cases where no diagnostic is actually available. It also makes unit testing simpler.