From e73a8a2b3958f31165c0a46fe9c3917f8ade03d6 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Mon, 27 Jul 2020 12:47:43 +0200 Subject: [PATCH] ir3: Remove redundant samp_tex validation It's already checked in ir3_validate. This way we don't have to fix it up for bindless. Part-of: --- src/freedreno/ir3/ir3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/freedreno/ir3/ir3.c b/src/freedreno/ir3/ir3.c index c6d78b2e9c5..b170093ce43 100644 --- a/src/freedreno/ir3/ir3.c +++ b/src/freedreno/ir3/ir3.c @@ -488,7 +488,6 @@ static int emit_cat5(struct ir3_instruction *instr, void *ptr, if (instr->flags & IR3_INSTR_S2EN) { struct ir3_register *samp_tex = instr->regs[1]; - iassert(samp_tex->flags & IR3_REG_HALF); cat5->s2en_bindless.src3 = reg(samp_tex, info, instr->repeat, (instr->flags & IR3_INSTR_B) ? 0 : IR3_REG_HALF); if (instr->flags & IR3_INSTR_B) { -- 2.30.2