mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
nir_ allow nir_lower_clip_halfz to run in tess eval shader
Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6027>
This commit is contained in:
parent
09ecfd95ee
commit
772ed657a2
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ void
|
|||
nir_lower_clip_halfz(nir_shader *shader)
|
||||
{
|
||||
if (shader->info.stage != MESA_SHADER_VERTEX &&
|
||||
shader->info.stage != MESA_SHADER_GEOMETRY)
|
||||
shader->info.stage != MESA_SHADER_GEOMETRY &&
|
||||
shader->info.stage != MESA_SHADER_TESS_EVAL)
|
||||
return;
|
||||
|
||||
nir_foreach_function(function, shader) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue