diff options
author | Dave Airlie <[email protected]> | 2016-11-30 01:45:24 +0000 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-12-18 20:52:20 +0100 |
commit | f11ea8779da23aa4e87002991bce6bb05074f1c5 (patch) | |
tree | ced18e52ea768883fe8d9f95a620e37433f6b114 /src/amd/vulkan/radv_meta.h | |
parent | 9839ce282b8bed50effc3328affb957ce6b684bb (diff) |
radv: clear image implementation for compute queue
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.h')
-rw-r--r-- | src/amd/vulkan/radv_meta.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index 5994a7ce8fe..55f3a4b1327 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -163,6 +163,10 @@ void radv_meta_begin_itoi(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_saved_compute_state *save); void radv_meta_end_itoi(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_saved_compute_state *save); +void radv_meta_begin_cleari(struct radv_cmd_buffer *cmd_buffer, + struct radv_meta_saved_compute_state *save); +void radv_meta_end_cleari(struct radv_cmd_buffer *cmd_buffer, + struct radv_meta_saved_compute_state *save); void radv_meta_image_to_buffer(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src, struct radv_meta_blit2d_buffer *dst, @@ -179,6 +183,9 @@ void radv_meta_image_to_image_cs(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *dst, unsigned num_rects, struct radv_meta_blit2d_rect *rects); +void radv_meta_clear_image_cs(struct radv_cmd_buffer *cmd_buffer, + struct radv_meta_blit2d_surf *dst, + const VkClearColorValue *clear_color); void radv_decompress_depth_image_inplace(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, |