panfrost: Set helper_invocation_enable for Bifrost
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 7 Oct 2020 22:50:34 +0000 (18:50 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 10 Oct 2020 21:15:02 +0000 (17:15 -0400)
Actually, this is for barriers, field name is wrong. But it's the same
as Midgard.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7081>

src/gallium/drivers/panfrost/pan_assemble.c

index 05b96fb..2154d2e 100644 (file)
@@ -82,6 +82,7 @@ pan_prepare_bifrost_props(struct panfrost_shader_state *state,
                 /* Early-Z set at draw-time */
                 state->properties.unknown = 0x950020; /* XXX */
                 state->properties.uniform_buffer_count = state->ubo_count;
+                state->properties.helper_invocation_enable = state->helper_invocations;
 
                 pan_prepare(&state->preload, PRELOAD);
                 state->preload.uniform_count = state->uniform_count;