Mesa (master): pan/bi: Remove stale todo/assert

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 3 17:07:00 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Mar  4 23:21:46 2021 +0000

pan/bi: Remove stale todo/assert

Was already handled, just untested.

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9421>

---

 src/panfrost/bifrost/bifrost_compile.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c
index 4cfaf911d72..e76fe4cd8a9 100644
--- a/src/panfrost/bifrost/bifrost_compile.c
+++ b/src/panfrost/bifrost/bifrost_compile.c
@@ -2254,9 +2254,6 @@ enum bifrost_tex_dreg {
 static void
 bi_emit_texc(bi_builder *b, nir_tex_instr *instr)
 {
-        /* TODO: support more with other encodings */
-        assert(instr->sampler_index < 16);
-
         struct bifrost_texture_operation desc = {
                 .op = bi_tex_op(instr->op),
                 .offset_or_bias_disable = false, /* TODO */



More information about the mesa-commit mailing list