WIP: Fix #120919: EEVEE-Next: Fix incorrect barrier control flow #120930

Closed
Jeroen Bakker wants to merge 1 commits from Jeroen-Bakker:eevee/barrier-control-flow into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 4 additions and 1 deletions

View File

@ -110,8 +110,11 @@ void main()
local_radiance[local_index] += local_radiance[local_index + stride];
}
}
}
barrier();
barrier();
if (extract_sh) {
if (gl_LocalInvocationIndex == 0u) {
/* Find the middle point of the whole thread-group. Use it as light vector.
* Note that this is an approximation since the footprint of a thread-group is not