Merge pull request #55307 from bruvzg/mvk_sdfgi_fix
This commit is contained in:
commit
f28a79cc1a
1 changed files with 4 additions and 0 deletions
|
@ -1757,7 +1757,11 @@ void main() {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef MOLTENVK_USED
|
||||
imageStore(geom_facing_grid, grid_pos, uvec4(imageLoad(geom_facing_grid, grid_pos).r | facing_bits)); //store facing bits
|
||||
#else
|
||||
imageAtomicOr(geom_facing_grid, grid_pos, facing_bits); //store facing bits
|
||||
#endif
|
||||
|
||||
if (length(emission) > 0.001) {
|
||||
float lumas[6];
|
||||
|
|
Loading…
Add table
Reference in a new issue