Skip to content

DXBC-Spirv based shader compiler for D3D9 (and 8) frontend#5641

Merged
doitsujin merged 8 commits into
doitsujin:masterfrom
K0bin:d3d9-new-compiler
May 20, 2026
Merged

DXBC-Spirv based shader compiler for D3D9 (and 8) frontend#5641
doitsujin merged 8 commits into
doitsujin:masterfrom
K0bin:d3d9-new-compiler

Conversation

@K0bin
Copy link
Copy Markdown
Collaborator

@K0bin K0bin commented May 20, 2026

No description provided.

@K0bin K0bin added the d3d9 label May 20, 2026
@K0bin K0bin force-pushed the d3d9-new-compiler branch from 0e95586 to 83776f9 Compare May 20, 2026 10:38
Copy link
Copy Markdown
Owner

@doitsujin doitsujin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐸

Comment thread src/dxvk/dxvk_shader_ir.cpp
Comment thread src/d3d9/d3d9_shader_analysis.cpp Outdated
Comment thread src/d3d9/d3d9_shader_analysis.cpp
Comment thread src/d3d9/d3d9_shader_analysis.cpp Outdated
Comment thread src/d3d9/d3d9_shader_analysis.cpp
Comment thread src/d3d9/d3d9_shader_analysis.cpp Outdated
Comment thread src/d3d9/d3d9_shader_analysis.cpp Outdated
Comment thread src/d3d9/d3d9_shader.cpp Outdated
Comment thread src/d3d9/d3d9_shader.cpp Outdated
Comment thread src/d3d9/d3d9_shader.cpp Outdated
@K0bin K0bin force-pushed the d3d9-new-compiler branch from 83776f9 to e219827 Compare May 20, 2026 12:44
Comment thread src/d3d9/d3d9_shader.cpp Outdated
Comment thread src/d3d9/d3d9_device.cpp Outdated
@K0bin K0bin force-pushed the d3d9-new-compiler branch 2 times, most recently from dd7e5b6 to 259de03 Compare May 20, 2026 18:51
Comment thread src/d3d9/d3d9_shader_analysis.cpp Outdated
@K0bin K0bin force-pushed the d3d9-new-compiler branch from 259de03 to f16102e Compare May 20, 2026 20:06
K0bin added 3 commits May 20, 2026 22:06
New compiler for D3D9 :)
The DXSO files import a ton of d3d9 headers, this is the easiest
way to keep the old compiler building until we remove it.

Adding #ifdefs everywhere would be a lot more work.
@K0bin K0bin force-pushed the d3d9-new-compiler branch from f16102e to 87fa067 Compare May 20, 2026 20:06
@K0bin K0bin marked this pull request as ready for review May 20, 2026 20:11
The current compiler collects a bunch of data that we'll
still need with the new compiler. (Like for example the length
of the shader bytecode)
This analysis prepass will collect that data in the future.
@K0bin K0bin force-pushed the d3d9-new-compiler branch from 87fa067 to d0f2cbb Compare May 20, 2026 21:02
@K0bin K0bin force-pushed the d3d9-new-compiler branch from d0f2cbb to c687326 Compare May 20, 2026 21:06
@doitsujin doitsujin merged commit 061202c into doitsujin:master May 20, 2026
3 checks passed
@K0bin K0bin deleted the d3d9-new-compiler branch May 20, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants