godot/servers/rendering/renderer_rd/environment
Matias N. Goldberg efbe9237cc Fix integer underflow when rounding up in VoxelGI
The code wanted to divide and round up:
 - 0 / 64 = 0
 - 63 / 64 = 1
 - 64 / 64 = 1
 - 65 / 64 = 2

However when the dividend was exactly 0 it would underflow and produce
67108864 instead.

This caused TDRs on empty scenes or extremely slow performance

Fix #80286

(cherry picked from commit e783e32108)
2023-09-21 14:09:19 +02:00
..
fog.cpp Fix management of life cycle of vol. fog related uniform sets 2023-05-31 19:54:28 +02:00
fog.h Fix management of life cycle of vol. fog related uniform sets 2023-05-31 19:54:28 +02:00
gi.cpp Fix integer underflow when rounding up in VoxelGI 2023-09-21 14:09:19 +02:00
gi.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Split GI effects and fix stereoscopic rendering of GI effects 2022-06-22 12:50:17 +10:00
sky.cpp Fix volumetric fog in stereo by projection vertex in combined space 2023-06-20 14:36:14 +10:00
sky.h Fix volumetric fog in stereo by projection vertex in combined space 2023-06-20 14:36:14 +10:00