Module: Mesa
Branch: main
Commit: 69ee201733fd7d799a887464f8ac0ceae658d4e0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=69ee201733fd7d799a887464f8ac0ceae658d4e0

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Nov  8 10:37:13 2022 -0500

asahi: Remove index_bias assert

Index bias works okay already, tested against dEQP-GLES31 on agx/next.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>

---

 src/gallium/drivers/asahi/agx_state.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gallium/drivers/asahi/agx_state.c 
b/src/gallium/drivers/asahi/agx_state.c
index b3d98c9a0bd..085506c8413 100644
--- a/src/gallium/drivers/asahi/agx_state.c
+++ b/src/gallium/drivers/asahi/agx_state.c
@@ -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;
 

Reply via email to