WIP: eevee-next-world-irradiance #108304

Closed
Jeroen Bakker wants to merge 79 commits from Jeroen-Bakker:eevee-next-world-irradiance into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 0 deletions
Showing only changes of commit da91a2ccb0 - Show all commits

View File

@ -296,6 +296,8 @@ void IrradianceBake::read_result(LightCacheIrradianceGrid &light_cache_grid)
capture_info_buf_.read();
surfels_buf_.read();
light_cache_grid.surfels_len = capture_info_buf_.surfel_len;
/* TODO(fclem): This isn't threadsafe. */
MEM_SAFE_FREE(light_cache_grid.surfels);
light_cache_grid.surfels = MEM_dupallocN(surfels_buf_.data());
break;
default: