Module: Mesa
Branch: master
Commit: e73a8a2b3958f31165c0a46fe9c3917f8ade03d6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e73a8a2b3958f31165c0a46fe9c3917f8ade03d6

Author: Connor Abbott <[email protected]>
Date:   Mon Jul 27 12:47:43 2020 +0200

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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6086>

---

 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) {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to