Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: recompile automatically for changed shaders #206

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

alandtse
Copy link
Collaborator

Adds feature where changes to the shader .hlsl files will automatically recompile shaders.
Changes to RE::BSShader::Type files in Data\Shaders (e.g., Lighting.hlsl) will result in a type specific recompile. All other modification to hlsl/hlsli files will recompile all files since there isn't a way to detect what may be impacted.

closes #205

Adds feature where changes to the shader .hlsl files will automatically
recompile shaders.
Changes to RE::BSShader::Type files in Data\Shaders (e.g.,
Lighting.hlsl) will result in a type specific recompile.
All other modification to hlsl/hlsli files will recompile all files
since there isn't a way to detect what may be impacted.

closes doodlum#205
@alandtse alandtse requested a review from doodlum March 10, 2024 08:58
@alandtse alandtse merged commit c68a3bf into doodlum:dev Mar 11, 2024
3 checks passed
@alandtse alandtse deleted the auto_recompile branch March 11, 2024 19:45
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.

Add shader recompile on changed file
1 participant