From 10daeac60361c8587838dd087d4b0127d214ebf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Wed, 23 Jun 2021 23:57:52 +0200 Subject: [PATCH] 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 Part-of: --- src/broadcom/vulkan/v3dvx_pipeline.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/broadcom/vulkan/v3dvx_pipeline.c b/src/broadcom/vulkan/v3dvx_pipeline.c index 45aec26..25ecbbb 100644 --- a/src/broadcom/vulkan/v3dvx_pipeline.c +++ b/src/broadcom/vulkan/v3dvx_pipeline.c @@ -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; -- 2.7.4