Slang Shading Language support - #1068
Draft
H7perus wants to merge 27 commits into
Draft
Conversation
… incompatibility with the slang compiler
-Various changes and fixes to bindings -Made Renderer reference SlangApi.dll
- Made Slang sessions public as a hack (change later, make session reload a method of the loader - Added release() for the slang session - Minor C Api changes
…lang compiler API. Crashes near water for some reason
…reload and normal shader loading. - Made water_csgo an overly simple version for testing.
Crashes when water is involved due to buffer struct mismatch (at least on Nvidia)
- Trying SPIR-V instead of GLSL
… will be added as are found.
… modules (not feature complete, targeted at water) - Lots of CPU code changes to make water work (at the cost of temporary:tm: tech debt)
- Updated a part of lighting.slang - Fixed the shader naming and includes of newer shaders
- Config modules now named by the hash->GUID of their contents - Fixed histogram compute shader to work in slang
kristiker
marked this pull request as draft
July 7, 2026 12:36
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.
Preliminary PR
To-Do:
Note: This is not necessary so we can skip the Slang compiler (as we can use minorly modified GLSL shaders with it), but because for some reason, the compilation session setting around row vs column matrices is reversed for said shaders.