Skip to content

nir/lower_task_shader: fix task payload corruption when shared memory workaround is enabled

We were not taking into account that when all invocations within workgroup are active, we'll copy more data than needed, corrupting task payload of other workgroups.

Fixes: 8aff8d3d ("nir: Add common task shader lowering to make the backend's job easier.")

Edited by Marcin Ślusarz

Merge request reports