From: Connor Abbott Date: Mon, 27 Jul 2020 10:47:43 +0000 (+0200) Subject: ir3: Remove redundant samp_tex validation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e73a8a2b3958f31165c0a46fe9c3917f8ade03d6;p=mesa.git 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: --- 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) {