diff options
Diffstat (limited to 'source/blender/draw/engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl index d96f191fb77..ae20153f26c 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_light_culling_zbin_comp.glsl @@ -25,7 +25,7 @@ void main() } barrier(); - uint light_iter = divide_ceil_u(light_cull_buf.visible_count, gl_WorkGroupSize.x); + uint light_iter = divide_ceil(light_cull_buf.visible_count, gl_WorkGroupSize.x); for (uint i = 0u; i < light_iter; i++) { uint index = i * gl_WorkGroupSize.x + gl_LocalInvocationID.x; if (index >= light_cull_buf.visible_count) { |