diff options
author | Dave Airlie <[email protected]> | 2017-02-19 16:33:14 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-02-19 20:30:01 +1000 |
commit | 9aec76aca3307c2d00f2bcd9f37c7cf3ca181dfb (patch) | |
tree | 1d6531791fcfa81ff852c71641f054ca497a3476 /src/amd/vulkan/radv_meta.h | |
parent | efc89edf5a81e31a7c9be3d851dcd7dc896ab888 (diff) |
radv: handle layered fast clears.
This iterates the fast clear flush across the layers in the
specified range.
It also moves the compute resolve flush into the function
and builds the range in there.
This fixes:
dEQP-VK.geometry.layered.* regressions since fast clears.
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.h')
-rw-r--r-- | src/amd/vulkan/radv_meta.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index 55f3a4b1327..8eb3df3a2de 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -194,7 +194,8 @@ void radv_resummarize_depth_image_inplace(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, VkImageSubresourceRange *subresourceRange); void radv_fast_clear_flush_image_inplace(struct radv_cmd_buffer *cmd_buffer, - struct radv_image *image); + struct radv_image *image, + const VkImageSubresourceRange *subresourceRange); void radv_meta_save_graphics_reset_vport_scissor(struct radv_meta_saved_state *saved_state, struct radv_cmd_buffer *cmd_buffer); |