diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-31 15:52:04 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-01 16:23:03 -0700 |
commit | ff345d4a01a8a004687cd150315cb7d1be67645f (patch) | |
tree | ff0dbfa87992727faea1f822676e416247f93dd3 /src/gallium/drivers | |
parent | 73c40d6bbbffc5d13e0e3ce823fa349286382c77 (diff) |
panfrost: Handle MESA_SHADER_COMPUTE in compile callback
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_assemble.c | 5 |
1 files changed, 5 insertions, 0 deletions
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"); } |