mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
panfrost: Fix MALI_READS_TILEBUFFER
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5755>
This commit is contained in:
parent
2e3a589e6c
commit
4141d26ee1
2 changed files with 2 additions and 2 deletions
|
|
@ -878,7 +878,7 @@ panfrost_frag_shader_meta_init(struct panfrost_context *ctx,
|
|||
bool depth_enabled = fs->writes_depth ||
|
||||
(zsa && zsa->depth.enabled && zsa->depth.func != PIPE_FUNC_ALWAYS);
|
||||
|
||||
SET_BIT(fragmeta->midgard1.flags_lo, 0x400, !depth_enabled && fs->can_discard);
|
||||
SET_BIT(fragmeta->midgard1.flags_lo, MALI_READS_TILEBUFFER, !depth_enabled && fs->can_discard);
|
||||
SET_BIT(fragmeta->midgard1.flags_lo, MALI_READS_ZS, depth_enabled && fs->can_discard);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ enum mali_format {
|
|||
* are side effects, hence it interacts with early-z. */
|
||||
#define MALI_WRITES_GLOBAL (1 << 9)
|
||||
|
||||
#define MALI_READS_TILEBUFFER (1 << 12)
|
||||
#define MALI_READS_TILEBUFFER (1 << 10)
|
||||
|
||||
/* Applies to midgard1.flags_hi */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue