commit | 772ed657a27ccf402a5cbbab32e62e85541acc03 | [log] [tgz] |
---|---|---|
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | Fri Jul 17 09:46:47 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Jul 23 08:41:17 2020 +0000 |
tree | 4ce4ad556aae18afecac7efed10e85fe70afa557 | |
parent | 09ecfd95ee154cd5f32c8c8f6d5fe6e60d2dc26c [diff] |
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>
diff --git a/src/compiler/nir/nir_lower_clip_halfz.c b/src/compiler/nir/nir_lower_clip_halfz.c index 6db1910..254c498 100644 --- a/src/compiler/nir/nir_lower_clip_halfz.c +++ b/src/compiler/nir/nir_lower_clip_halfz.c
@@ -57,7 +57,8 @@ 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) {