v71 doesn't include early_z_enable/early_z_updates_enable. They are
configured with packet 121.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
#if V3D_VERSION <= 42
config.early_z_updates_enable =
(job->ez_state != V3D_EZ_DISABLED);
+#endif
if (v3d->zsa->base.depth_enabled) {
config.z_updates_enable =
v3d->zsa->base.depth_writemask;
+#if V3D_VERSION <= 42
config.early_z_enable =
config.early_z_updates_enable;
+#endif
config.depth_test_function =
v3d->zsa->base.depth_func;
} else {
config.depth_test_function = PIPE_FUNC_ALWAYS;
}
-#endif
-#if V3D_VERSION >= 71
- unreachable("HW generation 71 not supported yet.");
-#endif
config.stencil_enable =
v3d->zsa->base.stencil[0].enabled;