These won't work since a workgroup can span more than one thread, and
the temporaries are not shared memory.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10600>
{
struct lower_io_state state;
- if (shader->info.stage == MESA_SHADER_TESS_CTRL)
+ if (shader->info.stage == MESA_SHADER_TESS_CTRL ||
+ shader->info.stage == MESA_SHADER_TASK ||
+ shader->info.stage == MESA_SHADER_MESH)
return;
state.shader = shader;