From: Alyssa Rosenzweig Date: Tue, 18 Feb 2020 15:07:51 +0000 (-0500) Subject: panfrost: Remove old comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f6f419be93531b5725bfa92ac087703ad13267b;p=mesa.git panfrost: Remove old comment We already handle primitive restart earlier in the function. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Boris Brezillon Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 0122067acd7..2e0bda518ea 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -1489,8 +1489,6 @@ panfrost_draw_vbo( ctx->payloads[PIPE_SHADER_FRAGMENT].prefix.offset_bias_correction = -min_index; ctx->payloads[PIPE_SHADER_FRAGMENT].prefix.index_count = MALI_POSITIVE(info->count); - //assert(!info->restart_index); /* TODO: Research */ - draw_flags |= panfrost_translate_index_size(info->index_size); ctx->payloads[PIPE_SHADER_FRAGMENT].prefix.indices = panfrost_get_index_buffer_mapped(ctx, info); } else {