panfrost: Report blend shader work count
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 8 Jul 2020 21:17:14 +0000 (17:17 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 9 Jul 2020 16:49:13 +0000 (12:49 -0400)
This was going uninitialized, whoops!

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5827>

src/gallium/drivers/panfrost/pan_blend_shaders.c

index d697246f9179d9d89f31b085dabbd279ca419920..29763251848646879a1ca8ea85d186728824f979 100644 (file)
@@ -209,6 +209,7 @@ panfrost_compile_blend_shader(
         res.first_tag = program.first_tag;
         res.size = program.compiled.size;
         res.buffer = program.compiled.data;
+        res.work_count = program.work_register_count;
 
         return res;
 }