Allow to opt-out of loading shaders from original location#3105
Open
azeno wants to merge 1 commit intostride3d:masterfrom
Open
Allow to opt-out of loading shaders from original location#3105azeno wants to merge 1 commit intostride3d:masterfrom
azeno wants to merge 1 commit intostride3d:masterfrom
Conversation
…ble to opt-out of loading shader source from their original location
Member
|
From top of my head, it was for either (or both) of those scenarios (dev/desktop only):
Sounds good to me to have a flag for now, I will eventually get back to it with new shader system anyway. |
xen2
approved these changes
Mar 25, 2026
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.
PR Details
This PR adds a property to the
ShaderSourceManagerwhich allows to opt-out of the system trying to load from the original path first.We ran into this issue several times in the past that on build machines our app would behave differently or not run at all because it would load shaders in a different state than the app was build with.
Types of changes
Checklist