From: Mike Blumenkrantz Date: Fri, 17 Jul 2020 13:46:47 +0000 (-0400) Subject: nir_ allow nir_lower_clip_halfz to run in tess eval shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=772ed657a27ccf402a5cbbab32e62e85541acc03;p=mesa.git nir_ allow nir_lower_clip_halfz to run in tess eval shader Reviewed-by: Eric Anholt Part-of: --- diff --git a/src/compiler/nir/nir_lower_clip_halfz.c b/src/compiler/nir/nir_lower_clip_halfz.c index 6db1910362f..254c49882e4 100644 --- a/src/compiler/nir/nir_lower_clip_halfz.c +++ b/src/compiler/nir/nir_lower_clip_halfz.c @@ -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) {