Mesa (android-radeonsi-build-fix): turnip: Drop redefinition of VALIDREG now that it's in ir3.h.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Dec 5 08:08:28 UTC 2019


Module: Mesa
Branch: android-radeonsi-build-fix
Commit: 5b23671f6a3f5737c2fff9554214cbfd143e4ff9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b23671f6a3f5737c2fff9554214cbfd143e4ff9

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec  4 14:15:42 2019 -0800

turnip: Drop redefinition of VALIDREG now that it's in ir3.h.

Fixes: 937b9055698b ("freedreno/ir3: fix neverball assert in case of unused VS inputs")

Reviewed-by: Jonathan Marek <jonathan at marek.ca>

---

 src/freedreno/vulkan/tu_pipeline.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c
index aa22d1c2a1f..290adffe2e0 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -675,9 +675,6 @@ tu6_emit_vpc_varying_modes(struct tu_cs *cs,
    tu_cs_emit_array(cs, ps_repl_modes, 8);
 }
 
-#define VALIDREG(r)      ((r) != regid(63,0))
-#define CONDREG(r, val)  COND(VALIDREG(r), (val))
-
 static void
 tu6_emit_fs_inputs(struct tu_cs *cs, const struct ir3_shader_variant *fs)
 {




More information about the mesa-commit mailing list