radv: remove redundant check in radv_process_depth_stencil()

This is already checked in radv_handle_depth_image_transition().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8579>
This commit is contained in:
Samuel Pitoiset
2021-01-19 17:48:18 +01:00
committed by Marge Bot
parent d245d7b6b8
commit c30f010e8f

View File

@@ -481,9 +481,6 @@ static void radv_process_depth_stencil(struct radv_cmd_buffer *cmd_buffer,
VkCommandBuffer cmd_buffer_h = radv_cmd_buffer_to_handle(cmd_buffer); VkCommandBuffer cmd_buffer_h = radv_cmd_buffer_to_handle(cmd_buffer);
VkPipeline *pipeline; VkPipeline *pipeline;
if (!radv_image_has_htile(image))
return;
radv_meta_save(&saved_state, cmd_buffer, radv_meta_save(&saved_state, cmd_buffer,
RADV_META_SAVE_GRAPHICS_PIPELINE | RADV_META_SAVE_GRAPHICS_PIPELINE |
RADV_META_SAVE_SAMPLE_LOCATIONS | RADV_META_SAVE_SAMPLE_LOCATIONS |