panfrost: Fix WRITES_GLOBAL bit

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Fixes: dce7722ef8 ("panfrost: Handle writes_memory correctly")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6321>
(cherry picked from commit 39bf1fb322)
This commit is contained in:
Alyssa Rosenzweig 2020-08-13 19:08:38 -04:00 committed by Dylan Baker
parent 9ea9fbf6cb
commit 7c47874d45
2 changed files with 2 additions and 2 deletions

View file

@ -1300,7 +1300,7 @@
"description": "panfrost: Fix WRITES_GLOBAL bit",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "dce7722ef89100e5dea337064a9d6631bb18822a"
},

View file

@ -345,7 +345,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);
}
}