turnip: Drop redefinition of VALIDREG now that it's in ir3.h.
authorEric Anholt <eric@anholt.net>
Wed, 4 Dec 2019 22:15:42 +0000 (14:15 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 5 Dec 2019 04:32:15 +0000 (20:32 -0800)
Fixes: 937b9055698b ("freedreno/ir3: fix neverball assert in case of unused VS inputs")
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/freedreno/vulkan/tu_pipeline.c

index aa22d1c2a1f69b18b3404bce1ddc133d76658666..290adffe2e098becbeac662db0a0d3b38207af49 100644 (file)
@@ -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)
 {