panfrost: Fix MALI_READS_TILEBUFFER
[mesa.git] / src / gallium / drivers / panfrost / pan_cmdstream.c
index 58eb3f2a0b6287c1132c24349a60490b83d56474..abc0621782bf8ad3a3a6037fb16a8d9c26cf364a 100644 (file)
@@ -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);
         }