From 40f93532bb97847ab736c625f8e4971dc8ba9ce7 Mon Sep 17 00:00:00 2001 From: Miguel Pozo Date: Thu, 5 Oct 2023 19:37:04 +0200 Subject: [PATCH] Fix: EEVEE-Next: Irradiance Grid baking Regression caused by e2cef1c713 --- .../eevee_next/shaders/eevee_surfel_list_build_comp.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_surfel_list_build_comp.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_surfel_list_build_comp.glsl index e43b79ef03c..3b611709b11 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_surfel_list_build_comp.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_surfel_list_build_comp.glsl @@ -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); }