panfrost: Remove silly assertion

We don't assert the rest of the Gallium contract here either.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10869>
This commit is contained in:
Alyssa Rosenzweig
2021-05-18 10:28:08 -04:00
committed by Marge Bot
parent 35dfaaf1c3
commit 24eccad4a7

View File

@@ -420,9 +420,6 @@ panfrost_direct_draw(struct panfrost_batch *batch,
int mode = info->mode;
/* Fallback for unsupported modes */
assert(ctx->rasterizer != NULL);
if (!(ctx->draw_modes & (1 << mode))) {
if (draw->count < 4) {
/* Degenerate case? */