From: Samuel Pitoiset Date: Tue, 2 Jul 2019 12:50:27 +0000 (+0200) Subject: radv: remove unused code in radv_update_tc_compat_zrange_metadata() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6baa453dd53679c6e1458adcdd7ee44c7b9f3506;p=mesa.git radv: remove unused code in radv_update_tc_compat_zrange_metadata() Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index fc8184200fc..ed5822a37c6 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -1534,8 +1534,6 @@ radv_update_tc_compat_zrange_metadata(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, VkClearDepthStencilValue ds_clear_value) { - uint64_t va = radv_buffer_get_va(image->bo); - va += image->offset + image->tc_compat_zrange_offset; uint32_t cond_val; /* Conditionally set DB_Z_INFO.ZRANGE_PRECISION to 0 when the last