anv/meta: Make meta_emit_blit() public
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 8 Mar 2016 06:38:05 +0000 (22:38 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 9 Mar 2016 18:57:47 +0000 (10:57 -0800)
This can be reverted if the only other consumer, anv_meta_blit2d(),
uses a different method.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/vulkan/anv_meta.h
src/intel/vulkan/anv_meta_blit.c

index 587c044fa5f0ec9448d5d29b8746fece1cf669f0..fb562dbd5645c12622f0f328a1d51826ab758d3c 100644 (file)
@@ -105,6 +105,17 @@ void
 anv_meta_end_blit2d(struct anv_cmd_buffer *cmd_buffer,
                     struct anv_meta_saved_state *save);
 
+void
+meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
+               struct anv_image *src_image,
+               struct anv_image_view *src_iview,
+               VkOffset3D src_offset,
+               VkExtent3D src_extent,
+               struct anv_image *dest_image,
+               struct anv_image_view *dest_iview,
+               VkOffset3D dest_offset,
+               VkExtent3D dest_extent,
+               VkFilter blit_filter);
 #ifdef __cplusplus
 }
 #endif
index 82b79b88f2cf944eac44b57ac12192711b80da17..57833bf66ac1f828162eb3e8ddbb3f1164e0f440 100644 (file)
@@ -160,7 +160,7 @@ meta_region_extent_el(const VkFormat format,
    };
 }
 
-static void
+void
 meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
                struct anv_image *src_image,
                struct anv_image_view *src_iview,