DXC Integration in DX12 Backend #2722
Labels
api: dx12
Issues with DX12 or DXGI
area: correctness
We're behaving incorrectly
help required
We need community help to make this happen.
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
We currently use fxc (aka d3dcompiler) to compile our HLSL to DXBC. It has a couple issues:
While our end goal is to have naga have a DXIL backend, that is a lot of work and a long way away, so an intermediate step is to integrate with DXC.
Because DXC is a runtime dependency, we still need to be able to fall back to FXC if DXC isn't available, and to get these features users will need to ship dxcompiler.dll with their application.
Describe the solution you'd like
Integration with DXC, possibly through the hassle-rs crate.
Describe alternatives you've considered
Waiting for a DXIL backend for naga. No C code but will take a long while.
Additional context
See this naga issue for some of the problems we've needed to work around to get FXC to work gfx-rs/naga#1918.
The text was updated successfully, but these errors were encountered: