diff options
Diffstat (limited to 'src/intel/vulkan/anv_meta.h')
-rw-r--r-- | src/intel/vulkan/anv_meta.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/intel/vulkan/anv_meta.h b/src/intel/vulkan/anv_meta.h index ae750f621b4..91c3c7d21ca 100644 --- a/src/intel/vulkan/anv_meta.h +++ b/src/intel/vulkan/anv_meta.h @@ -50,9 +50,6 @@ void anv_device_finish_meta_clear_state(struct anv_device *device); VkResult anv_device_init_meta_resolve_state(struct anv_device *device); void anv_device_finish_meta_resolve_state(struct anv_device *device); -VkResult anv_device_init_meta_blit2d_state(struct anv_device *device); -void anv_device_finish_meta_blit2d_state(struct anv_device *device); - void anv_meta_save(struct anv_meta_saved_state *state, const struct anv_cmd_buffer *cmd_buffer, @@ -70,41 +67,6 @@ anv_meta_get_iview_layer(const struct anv_image *dest_image, const VkImageSubresourceLayers *dest_subresource, const VkOffset3D *dest_offset); -struct anv_meta_blit2d_surf { - struct anv_bo *bo; - enum isl_tiling tiling; - - /** Base offset to the start of the image */ - uint64_t base_offset; - - /** The size of an element in bytes. */ - uint8_t bs; - - /** Pitch between rows in bytes. */ - uint32_t pitch; -}; - -struct anv_meta_blit2d_rect { - uint32_t src_x, src_y; - uint32_t dst_x, dst_y; - uint32_t width, height; -}; - -void -anv_meta_begin_blit2d(struct anv_cmd_buffer *cmd_buffer, - struct anv_meta_saved_state *save); - -void -anv_meta_blit2d(struct anv_cmd_buffer *cmd_buffer, - struct anv_meta_blit2d_surf *src, - struct anv_meta_blit2d_surf *dst, - unsigned num_rects, - struct anv_meta_blit2d_rect *rects); - -void -anv_meta_end_blit2d(struct anv_cmd_buffer *cmd_buffer, - struct anv_meta_saved_state *save); - #ifdef __cplusplus } #endif |