diff --git a/src/freedreno/vulkan/tu_shader.cc b/src/freedreno/vulkan/tu_shader.cc index 5e49e1db69d..7002940e831 100644 --- a/src/freedreno/vulkan/tu_shader.cc +++ b/src/freedreno/vulkan/tu_shader.cc @@ -2539,7 +2539,7 @@ tu_shader_create(struct tu_device *dev, shader->fs.has_fdm = key->fragment_density_map; if (fs->has_kill) shader->fs.lrz.status |= TU_LRZ_FORCE_DISABLE_WRITE; - if (fs->no_earlyz || fs->writes_pos) + if (fs->no_earlyz || (fs->writes_pos && !fs->fs.early_fragment_tests)) shader->fs.lrz.status = TU_LRZ_FORCE_DISABLE_LRZ; /* FDM isn't compatible with LRZ, because the LRZ image uses the original * resolution and we would need to use the low resolution.