Skip to content

feat: compile shaders#723

Draft
Laupetin wants to merge 10 commits into
mainfrom
feature/shader-compile
Draft

feat: compile shaders#723
Laupetin wants to merge 10 commits into
mainfrom
feature/shader-compile

Conversation

@Laupetin

@Laupetin Laupetin commented Mar 24, 2026

Copy link
Copy Markdown
Owner

Compile shaders from hlsl source files, if they are available.
The shader compilation tries to load the shader compilation dependency at runtime to not make it a dependency on running OAT.

As an effort to make it cross-platform, the following compilers are used, depending on the platform:

  • Windows: D3DCOMPILER_47
  • Linux: vkd3d

While the official directx sdk will probably have better results, both will probably not result in the exact same bytecode as vanilla so... gotta see

@Laupetin Laupetin added the enhancement New feature or request label Mar 24, 2026
@Laupetin Laupetin force-pushed the feature/shader-compile branch 2 times, most recently from f699405 to a4c308b Compare March 28, 2026 10:39
@Laupetin Laupetin force-pushed the feature/shader-compile branch 3 times, most recently from d1185db to 8353f5a Compare April 8, 2026 11:11
@Laupetin Laupetin force-pushed the feature/shader-compile branch from 8353f5a to 73f6f55 Compare April 19, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant