radv: remove unused code in radv_update_tc_compat_zrange_metadata()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 2 Jul 2019 12:50:27 +0000 (14:50 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 Jul 2019 06:51:58 +0000 (08:51 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c

index fc8184200fc40c7bee0e0dbd90e267dfb77af0fd..ed5822a37c6bd3ce15fd64a5c59fb948a732eea5 100644 (file)
@@ -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