diff options
author | Nanley Chery <[email protected]> | 2016-03-07 22:38:05 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2016-03-09 10:57:47 -0800 |
commit | f39168392243d6dacefbc8708b764c5978ff24df (patch) | |
tree | 5ef025fd4ae9cda139f5f921ff4ba38d9c7390da /src | |
parent | ddbc6458464b86fa3f4f87f0f2db2f117fa04cdc (diff) |
anv/meta: Make meta_emit_blit() public
This can be reverted if the only other consumer, anv_meta_blit2d(),
uses a different method.
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_meta.h | 11 | ||||
-rw-r--r-- | src/intel/vulkan/anv_meta_blit.c | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_meta.h b/src/intel/vulkan/anv_meta.h index 587c044fa5f..fb562dbd564 100644 --- a/src/intel/vulkan/anv_meta.h +++ b/src/intel/vulkan/anv_meta.h @@ -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 diff --git a/src/intel/vulkan/anv_meta_blit.c b/src/intel/vulkan/anv_meta_blit.c index 82b79b88f2c..57833bf66ac 100644 --- a/src/intel/vulkan/anv_meta_blit.c +++ b/src/intel/vulkan/anv_meta_blit.c @@ -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, |