diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2021-01-19 17:48:18 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-01-20 17:18:39 +0000 |
commit | c30f010e8fa1d9fca0a0db09066e627855af43f0 (patch) | |
tree | 2183b80a53fd55c15f9f2d7af27c6ec70e83f874 /src/amd/vulkan | |
parent | d245d7b6b8bb75622dd43fb845f60d55ad3ebc89 (diff) |
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>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_meta_decompress.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_meta_decompress.c b/src/amd/vulkan/radv_meta_decompress.c index 4ac3c25f506..011c353b355 100644 --- a/src/amd/vulkan/radv_meta_decompress.c +++ b/src/amd/vulkan/radv_meta_decompress.c @@ -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); VkPipeline *pipeline; - if (!radv_image_has_htile(image)) - return; - radv_meta_save(&saved_state, cmd_buffer, RADV_META_SAVE_GRAPHICS_PIPELINE | RADV_META_SAVE_SAMPLE_LOCATIONS | |