virtualx-engine/servers/rendering/renderer_rd/environment
Matias N. Goldberg e783e32108 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
2023-08-06 23:21:58 -03:00
..
fog.cpp Merge pull request #77740 from ChibiDenDen/simplify_vulkan 2023-07-12 17:16:12 +02:00
fog.h Merge pull request #77740 from ChibiDenDen/simplify_vulkan 2023-07-12 17:16:12 +02:00
gi.cpp Fix integer underflow when rounding up in VoxelGI 2023-08-06 23:21:58 -03: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 Use defaults to initialize sky data in case of no sky 2023-07-24 10:41:13 -07:00
sky.h Merge pull request #77740 from ChibiDenDen/simplify_vulkan 2023-07-12 17:16:12 +02:00