asahi: Remove index_bias assert
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 8 Nov 2022 15:37:13 +0000 (10:37 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Nov 2022 02:47:10 +0000 (02:47 +0000)
Index bias works okay already, tested against dEQP-GLES31 on agx/next.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>

src/gallium/drivers/asahi/agx_state.c

index b3d98c9..085506c 100644 (file)
@@ -1924,9 +1924,6 @@ agx_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
       return;
    }
 
-   if (info->index_size && draws->index_bias)
-      unreachable("todo: index bias");
-
    struct agx_context *ctx = agx_context(pctx);
    struct agx_batch *batch = ctx->batch;