EEVEE: Fix Lights On High-res Monitors #117164

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:eevee/light-hdpi-screens into main 2024-01-16 13:29:33 +01:00

2 Commits

Author SHA1 Message Date
Jeroen Bakker 792b767bb0 Ensure that one loop is always done. 2024-01-16 13:27:54 +01:00
Jeroen Bakker 297ce0a200 EEVEE: Fix Lights On HDPI Monitors
When using EEVEE on high resolution monitors the light buffers might not
get initialized as there are range checks that pass in the first try.

- number of tiles needed is larger than the max_tile_count_threshold
- total_word_count is smaller than max_word_count_threshold as it is
  never set (still initialized to zero.
2024-01-16 12:46:19 +01:00