Mesa (master): panfrost: Report blend shader work count
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 9 17:05:43 UTC 2020
Module: Mesa
Branch: master
Commit: b3fdd773854211607a6c52e5c43fe6557afb5f9c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3fdd773854211607a6c52e5c43fe6557afb5f9c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed Jul 8 17:17:14 2020 -0400
panfrost: Report blend shader work count
This was going uninitialized, whoops!
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5827>
---
src/gallium/drivers/panfrost/pan_blend_shaders.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/panfrost/pan_blend_shaders.c b/src/gallium/drivers/panfrost/pan_blend_shaders.c
index d697246f917..29763251848 100644
--- a/src/gallium/drivers/panfrost/pan_blend_shaders.c
+++ b/src/gallium/drivers/panfrost/pan_blend_shaders.c
@@ -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;
}
More information about the mesa-commit
mailing list