From ff345d4a01a8a004687cd150315cb7d1be67645f Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 31 Jul 2019 15:52:04 -0700 Subject: [PATCH] panfrost: Handle MESA_SHADER_COMPUTE in compile callback Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_assemble.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index 9e24424..26061c5 100644 --- a/src/gallium/drivers/panfrost/pan_assemble.c +++ b/src/gallium/drivers/panfrost/pan_assemble.c @@ -102,6 +102,11 @@ panfrost_shader_compile( meta->attribute_count = 0; meta->varying_count = util_bitcount64(s->info.inputs_read); break; + case MESA_SHADER_COMPUTE: + /* TODO: images */ + meta->attribute_count = 0; + meta->varying_count = 0; + break; default: unreachable("Unknown shader state"); } -- 2.7.4