Skip to content

Fix RD header generation for raytracing shaders.#118082

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
blueskythlikesclouds:fix-rt-shader-header-gen
Apr 2, 2026
Merged

Fix RD header generation for raytracing shaders.#118082
Repiteo merged 1 commit intogodotengine:masterfrom
blueskythlikesclouds:fix-rt-shader-header-gen

Conversation

@blueskythlikesclouds
Copy link
Copy Markdown
Contributor

The script generates empty strings for every raytracing stage even if they aren't actually present in the file. This causes the compilation to fail since glslang tries to compile empty strings.

I also made raytracing detection check for all raytracing stages instead of just ray generation.

@blueskythlikesclouds blueskythlikesclouds requested a review from a team as a code owner April 1, 2026 17:18
@Nintorch Nintorch added this to the 4.x milestone Apr 1, 2026
@clayjohn clayjohn modified the milestones: 4.x, 4.7 Apr 2, 2026
@Repiteo Repiteo merged commit 53a9579 into godotengine:master Apr 2, 2026
20 checks passed
@Repiteo
Copy link
Copy Markdown
Contributor

Repiteo commented Apr 2, 2026

Thanks!

@blueskythlikesclouds blueskythlikesclouds deleted the fix-rt-shader-header-gen branch April 2, 2026 18:04
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.

4 participants