mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
nir: Allow Task/Mesh to lower compute system values
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10600>
This commit is contained in:
parent
4f52681a2d
commit
10a03e30cf
1 changed files with 1 additions and 2 deletions
|
|
@ -502,8 +502,7 @@ bool
|
|||
nir_lower_compute_system_values(nir_shader *shader,
|
||||
const nir_lower_compute_system_values_options *options)
|
||||
{
|
||||
if (shader->info.stage != MESA_SHADER_COMPUTE &&
|
||||
shader->info.stage != MESA_SHADER_KERNEL)
|
||||
if (!gl_shader_stage_uses_workgroup(shader->info.stage))
|
||||
return false;
|
||||
|
||||
struct lower_sysval_state state;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue