From: Alyssa Rosenzweig Date: Wed, 31 Jul 2019 22:52:04 +0000 (-0700) Subject: panfrost: Handle MESA_SHADER_COMPUTE in compile callback X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff345d4a01a8a004687cd150315cb7d1be67645f;p=mesa.git panfrost: Handle MESA_SHADER_COMPUTE in compile callback Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index 9e24424535c..26061c59ff5 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"); }