Sergio0694 / ComputeSharp

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

Always emit 'asfloat' for float literals in D2D shaders #805

Closed Sergio0694 closed 1 month ago

Sergio0694 commented 1 month ago

Closes #780

Description

This PR implements a workaround for a FXC bug causing incorrect float literals to be emitted.