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:
Mike Blumenkrantz
2020-07-17 09:46:47 -04:00
committed by Marge Bot
parent 09ecfd95ee
commit 772ed657a2

View File

@@ -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) {