Mesa (master): panfrost: Remove old comment
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Feb 19 13:19:41 UTC 2020
Module: Mesa
Branch: master
Commit: 7f6f419be93531b5725bfa92ac087703ad13267b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f6f419be93531b5725bfa92ac087703ad13267b
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Tue Feb 18 10:07:51 2020 -0500
panfrost: Remove old comment
We already handle primitive restart earlier in the function.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3855>
---
src/gallium/drivers/panfrost/pan_context.c | 2 --
1 file changed, 2 deletions(-)
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 {
More information about the mesa-commit
mailing list