mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 06:50:11 +01:00
nir: Allow Mesh/Task to use implicit LOD when DERIVATIVE_GROUP is set
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30956>
This commit is contained in:
parent
1cece2691f
commit
1e7f1c2039
1 changed files with 1 additions and 1 deletions
|
|
@ -2198,7 +2198,7 @@ bool
|
|||
nir_shader_supports_implicit_lod(nir_shader *shader)
|
||||
{
|
||||
return (shader->info.stage == MESA_SHADER_FRAGMENT ||
|
||||
(shader->info.stage == MESA_SHADER_COMPUTE &&
|
||||
(gl_shader_stage_uses_workgroup(shader->info.stage) &&
|
||||
shader->info.derivative_group != DERIVATIVE_GROUP_NONE));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue