Skip to content
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

[Feature Request] Add shader model 5 support and DXBC bytecode output #5773

Closed
djdron opened this issue Sep 22, 2023 · 2 comments
Closed

[Feature Request] Add shader model 5 support and DXBC bytecode output #5773

djdron opened this issue Sep 22, 2023 · 2 comments
Labels
enhancement Feature suggestion needs-triage Awaiting triage

Comments

@djdron
Copy link

djdron commented Sep 22, 2023

The problem is what we need open source shader compiler for DX11/DXVK native for Linux.

We'd like solution to have cross-platform dxcompiler.dll/.so. Instead of d3dcompiler_XX.dll & ugly wine implementation.

Considered alternative is to use original d3dcompiler_XX.dll from Microsoft with wine. But we need native DXVK build with HLSL compiler for Linux.

@djdron djdron added enhancement Feature suggestion needs-triage Awaiting triage labels Sep 22, 2023
@gongminmin
Copy link
Contributor

It has been mentioned several times. For example, #621. There is a WIP work to add DXBC back-end to Mesa https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14253, but doesn't in active developing. In theory that back-end can be ported to DXC.

@llvm-beanz
Copy link
Collaborator

DXC's fork of LLVM removed and/or damaged much of the code generation layer and infrastructure. Given that, supporting DXBC generation in DXC would be a massive task to fix and restore broken LLVM functionality. Due to the large scale of this issue and resource constraints on our team we're not going to address this issue in DXC ever.

We may support DXBC generation in Clang in the future (we mentioned that in the original proposal to LLVM). That work is unlikely to begin for a few years as our focus will be on supporting DXIL and SPIR-V generation first.

@llvm-beanz llvm-beanz closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature suggestion needs-triage Awaiting triage
Projects
Archived in project
Development

No branches or pull requests

3 participants