Fix: EEVEE-Next: Irradiance Grid baking

Regression caused by e2cef1c713
This commit is contained in:
Miguel Pozo 2023-10-05 19:37:04 +02:00
parent 57a3ab29cc
commit 40f93532bb
1 changed files with 1 additions and 1 deletions

View File

@ -32,5 +32,5 @@ void main()
surfel_buf[surfel_index].ray_distance = ray_distance;
/* NOTE: We only need to init the `list_start_buf` to -1 for the whole list to be valid since
* every surfel will load its `next` value from the list head. */
// surfel_buf[surfel_index].next = atomicExchange(list_start_buf[list_index], surfel_index);
surfel_buf[surfel_index].next = atomicExchange(list_start_buf[list_index], surfel_index);
}