Module: Mesa Branch: master Commit: 39bf1fb3221c0ab79e4609ca3588e2eeb9e3e2da URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39bf1fb3221c0ab79e4609ca3588e2eeb9e3e2da
Author: Alyssa Rosenzweig <[email protected]> Date: Thu Aug 13 19:08:38 2020 -0400 panfrost: Fix WRITES_GLOBAL bit Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]> Fixes: dce7722ef89 ("panfrost: Handle writes_memory correctly") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6321> --- src/gallium/drivers/panfrost/pan_cmdstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index e4c3f35b128..d104d14e1dd 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -339,7 +339,7 @@ panfrost_shader_meta_init(struct panfrost_context *ctx, meta->midgard1.flags_lo = 0x20; meta->midgard1.uniform_buffer_count = panfrost_ubo_count(ctx, st); - SET_BIT(meta->midgard1.flags_hi, MALI_WRITES_GLOBAL, ss->writes_global); + SET_BIT(meta->midgard1.flags_lo, MALI_WRITES_GLOBAL, ss->writes_global); } } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
