diff --git a/src/panfrost/compiler/bi_opt_cse.c b/src/panfrost/compiler/bi_opt_cse.c index 16f27cb802b..2ef5a14d11c 100644 --- a/src/panfrost/compiler/bi_opt_cse.c +++ b/src/panfrost/compiler/bi_opt_cse.c @@ -117,6 +117,12 @@ instrs_equal(const void *_i1, const void *_i2) return false; } + if (i1->table != i2->table) + return false; + + if (i1->index != i2->index) + return false; + return true; }