-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide public DXIL specification #3360
Comments
I agree. I'm beginning to implement a DXIR codegen. I have three big problems:
|
I totally understand this request. DXIL.rst is intended to be a spec for the format, but it completely misses the binary encoding for LLVM IR as bitcode (and bitcode is awful to work with since it is bit-packed and uses odd abbreviations). Realistically I don't see us elaborating that documentation ever, but I do think there are two things we're doing that will help this:
In the interest of being honest about our resources and team priorities I'm going to close this issue. Sorry that I don't have better news. |
This may be a controversial topic, but I figured I'd bring it up regardless.
Right now DXC is the defacto implementation for a compiler emitting valid DXIL, however, various projects are running into trouble trying to support DXIL alongside - say - SPIR-V. Think, RenderDoc, https://github.com/gfx-rs/naga, https://github.com/embarkstudios/rust-gpu, the Microsoft provided Mesa3d implementation etc.
SPIR-V has two things going for it making it a prime target for shader compiler language experimentation:
I realize this is not a small ask, however, I do think it's important that it's made & discussed publicly now with DXC being part of a more open ecosystem.
Edit:
This is mostly a request for:
The text was updated successfully, but these errors were encountered: