v3dv/pipeline: don't prepack up early-z configuration

False (so zero) is already the default value, so those prepacks are
basically superfluous.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23167>
This commit is contained in:
Alejandro Piñeiro 2021-06-23 23:57:52 +02:00 committed by Marge Bot
parent 6dc22d996c
commit 10daeac603

View file

@ -223,10 +223,6 @@ pack_cfg_bits(struct v3dv_pipeline *pipeline,
config.depth_test_function = VK_COMPARE_OP_ALWAYS;
}
/* EZ state will be updated at draw time based on bound pipeline state */
config.early_z_updates_enable = false;
config.early_z_enable = false;
config.stencil_enable =
ds_info ? ds_info->stencilTestEnable && has_ds_attachment: false;