Mesa (master): nir_ allow nir_lower_clip_halfz to run in tess eval shader
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 23 09:03:39 UTC 2020
Module: Mesa
Branch: master
Commit: 772ed657a27ccf402a5cbbab32e62e85541acc03
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=772ed657a27ccf402a5cbbab32e62e85541acc03
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jul 17 09:46:47 2020 -0400
nir_ allow nir_lower_clip_halfz to run in tess eval shader
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6027>
---
src/compiler/nir/nir_lower_clip_halfz.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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) {
More information about the mesa-commit
mailing list