From 9aede94711b1865b9448255e987cc4d112589a75 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 11 Feb 2021 20:37:05 -0500 Subject: [PATCH] panfrost: Assert on indirect compute shaders This case was overlooked. Much simpler than indirect graphics calls, can come as a follow on to the other indirect work. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_compute.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_compute.c b/src/gallium/drivers/panfrost/pan_compute.c index dbb4b796ab8..c28d7e0ca86 100644 --- a/src/gallium/drivers/panfrost/pan_compute.c +++ b/src/gallium/drivers/panfrost/pan_compute.c @@ -101,6 +101,9 @@ panfrost_launch_grid(struct pipe_context *pipe, struct panfrost_device *dev = pan_device(pipe->screen); struct panfrost_batch *batch = panfrost_get_batch_for_fbo(ctx); + /* TODO: Indirect compute dispatch */ + assert(!info->indirect); + ctx->compute_grid = info; struct panfrost_ptr t =