Vulkan: Volumetric fog glitches out in builds that use optimize=none
, but not other optimization levels
#76243
Labels
Milestone
optimize=none
, but not other optimization levels
#76243
Godot version
4.0.2.stable (compiled from source)
System information
Fedora 37, GeForce RTX 4090 (NVIDIA 530.41.03)
Issue description
Volumetric fog glitches out with NaN/INF values depending on the compiler optimization level:
This occurs regardless of whether SDFGI or VoxelGI or any other effects (glow, SSR, SSAO, SSIL) is used.
optimize=speed
,optimize=speed_trace
,optimize=debug
andoptimize=size
work as expected.optimize=none
causes the glitch.I'm using GCC 12.2.1 from the Fedora 37 repositories.
Edit: I've tried reproducing this again with
optimize=none
and can't reproduce this anymore, even if I clean all SCons files and rebuild. However, when I could reproduce the issue, I could always reproduce it with a binary usingoptimize=none
and never with a binary usingoptimize=speed
.Steps to reproduce
optimize=none
(GCC, not tested with Clang).Minimal reproduction project
I haven't managed to reproduce this issue in a minimal project so far, only in https://github.com/Calinou/godot-reflection.
The text was updated successfully, but these errors were encountered: