Skip to content

Rendering shader compiler: remove unused variables#117116

Draft
ScatteredComet wants to merge 1 commit intogodotengine:masterfrom
ScatteredComet:projectsettings/cleanup
Draft

Rendering shader compiler: remove unused variables#117116
ScatteredComet wants to merge 1 commit intogodotengine:masterfrom
ScatteredComet:projectsettings/cleanup

Conversation

@ScatteredComet
Copy link
Contributor

@ScatteredComet ScatteredComet commented Mar 5, 2026

Summary

  • remove 3 unused variables from the rendering shader compiler
  • update ProjectSettings.xml appropriately

Details

The following 4 project settings:

  • rendering/shader_compiler/shader_cache/compress
  • rendering/shader_compiler/shader_cache/strip_debug
  • rendering/shader_compiler/shader_cache/strip_debug.release
  • rendering/shader_compiler/shader_cache/use_zstd_compression

all refer to variables whose logic was removed by #50847. As far as I can tell the variables created from these settings are unaccessed (strip_debug.release is never accessed, the others are accessed but then placed into unused variables).

@ScatteredComet ScatteredComet requested review from a team as code owners March 5, 2026 21:27
@ScatteredComet ScatteredComet changed the title Project Settings: remove unused variables Rendering: remove unused variables Mar 5, 2026
@ScatteredComet ScatteredComet changed the title Rendering: remove unused variables Rendering shader compiler: remove unused variables Mar 5, 2026
@Nintorch Nintorch added this to the 4.x milestone Mar 6, 2026
@ScatteredComet ScatteredComet force-pushed the projectsettings/cleanup branch from c795f4e to 8ddbb29 Compare March 7, 2026 21:09
@ScatteredComet
Copy link
Contributor Author

ScatteredComet commented Mar 7, 2026

I moved the change to editor/version_control to a new PR, so this doesn't affect unrelated documentation any more.

@ScatteredComet ScatteredComet force-pushed the projectsettings/cleanup branch from 8ddbb29 to 7b3850b Compare March 7, 2026 21:45
@ScatteredComet
Copy link
Contributor Author

I realise now that I should have run the bin with --doctool instead of manually changing the XML. Sorry! Will fix

@ScatteredComet ScatteredComet marked this pull request as draft March 8, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants