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:

committed by
Marge Bot

parent
09ecfd95ee
commit
772ed657a2
@@ -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) {
|
||||
|
Reference in New Issue
Block a user