GS/DX12: Compile shaders to Shader Model 6.5 - #14938
Open
TheLastRar wants to merge 4 commits into
Open
TheLastRar wants to merge 4 commits into
TheLastRar wants to merge 4 commits into
Conversation
TheLastRar
force-pushed
the
D3D12-DXC
branch
2 times, most recently
from
September 10, 2026 15:50
86bd4de to
0fa656a
Compare
JordanTheToaster
approved these changes
Sep 11, 2026
TheLastRar
force-pushed
the
D3D12-DXC
branch
from
September 11, 2026 18:51
0fa656a to
b0b15cf
Compare
|
FWIW while I was researching UE5 dx12 compatibility (which afaik is also sm6.5+) I found out skylake graphics should be missing it too, because unlike the newer gen9 models its driver was left stuck to wddm 2.1. |
Member
Then it will use SM5.1 as you can see in the changes. |
TheLastRar
force-pushed
the
D3D12-DXC
branch
from
September 15, 2026 18:12
b0b15cf to
420da07
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Uses the DirectX shader compiler (DXC) to compile shaders.
Rationale behind Changes
Newer shader models could potentially allow new or improved features to be used with DX12.
The librashader (#14433) and (currently) the Uber shader PR (#14737) both already bundle the DirectX shader compiler.
Initially, only support Shader Model 6.5 (in addition to 5.1 with FXC), as, with the exception of QC 8cx 3, all SM6.0 capable devices support at least shader model 6.5.
While we could compile DXC on the CI, I've opted to extract from the nuget package for CI speed.
Suggested Testing Steps
Test the DX12 backend
Test CAS on various backends
Did you use AI to help find, test, or implement this issue or feature?
No