Skip to content

Only reflect spirv metadata for active variables#205

Merged
thatcosmonaut merged 1 commit into
libsdl-org:mainfrom
robertk92:reflect-active-variables
Apr 10, 2026
Merged

Only reflect spirv metadata for active variables#205
thatcosmonaut merged 1 commit into
libsdl-org:mainfrom
robertk92:reflect-active-variables

Conversation

@robertk92

Copy link
Copy Markdown
Contributor

This solves the issue where the entire source code would be reflected on even though we only request a certain shader stage. This was a problem for me because I have both my vertex and fragment in the same source file.

@flibitijibibo

Copy link
Copy Markdown
Collaborator

May fix #184

@thatcosmonaut thatcosmonaut merged commit 1b08d4a into libsdl-org:main Apr 10, 2026
5 checks passed
@thatcosmonaut

Copy link
Copy Markdown
Collaborator

Thanks, this has been tormenting people for a while.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants