Skip to content

GS/DX12: Use Shader Linking To Improve Shader Stutter#14583

Draft
TheLastRar wants to merge 6 commits into
PCSX2:masterfrom
TheLastRar:D3D12-SM6X-Lib
Draft

GS/DX12: Use Shader Linking To Improve Shader Stutter#14583
TheLastRar wants to merge 6 commits into
PCSX2:masterfrom
TheLastRar:D3D12-SM6X-Lib

Conversation

@TheLastRar

Copy link
Copy Markdown
Contributor

Description of Changes

Update DX12 to use SM6.5 where supported.
Splits the DX shader into smaller chunks and use DXC to compile and link those together.

Rationale behind Changes

Shader compile time is significant enough to result in stutter.
By splitting the shader, I aim to reduce the amount of code that needs to be compiled for each pipeline.

Suggested Testing Steps

Test DX12 games

Did you use AI to help find, test, or implement this issue or feature?

Visual Studio IntelliCode auto-complete was used.

@TheLastRar TheLastRar changed the title GS/DX12: GS/DX12: Use Shader Linking Jun 11, 2026
@TheLastRar TheLastRar changed the title GS/DX12: Use Shader Linking GS/DX12: Use Shader Linking To Improve Shader Stutter Jun 11, 2026
@JordanTheToaster JordanTheToaster added this to the Release 2.8 milestone Jun 11, 2026
@lextra2

lextra2 commented Jun 12, 2026

Copy link
Copy Markdown

Partially fixes #14459
DX12 now has the same 0.1% lows as before the shader-based AF (v2.7.283)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants