summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.h
Commit message (Collapse)AuthorAgeFilesLines
* anv/meta: Move blit code to anv_meta_blit.cChad Versace2016-02-121-0/+3
| | | | | | | | The clear code lived in anv_meta_clear.c. The resolve code in anv_meta_resolve.c. Only the blit code lived in anv_meta.c, alongside the shareed meta code. This is just a copy-paste patch. No change in behavior.
* anv/meta: Implement vkCmdResolveImageChad Versace2016-01-271-0/+3
| | | | | | | This handles multisample color images that have a floating-point or normalized format and have a single array layer. This does not yet handle integer formats nor multisample array images.
* anv/meta: Add func anv_meta_get_iview_layer()Chad Versace2016-01-271-0/+5
| | | | | | | This function is just meta_blit_get_dest_view_base_array_slice(), but moved to the shared header anv_meta.h. Will be needed by anv_meta_resolve.c.
* anv/meta: Merge anv_meta_clear.h into anv_meta.hChad Versace2016-01-271-0/+3
| | | | The header was too small.
* anv/meta: Fix VkImageViewTypeChad Versace2015-12-141-0/+3
| | | | | | | | | | | Meta unconditionally used VK_IMAGE_VIEW_TYPE_2D in the functions below. This caused some out-of-bound memory accesses. anv_CmdCopyImage anv_CmdBlitImage anv_CmdCopyBufferToImage anv_CmdClearColorImage Fix it by adding a new function, anv_meta_get_view_type().
* anv/meta: Use consistent naming for dynamic state maskChad Versace2015-11-041-2/+7
| | | | | | | Consistently rename bitmasks of Vulkan dynamic state to 'dynamic_mask'. anv_meta_saved_state::dynamic_flags -> dynamic_mask anv_meta_save(dynamic_state) -> dynamic_mask
* anv/meta: Rename anv_cmd_buffer_save/restoreChad Versace2015-11-041-5/+5
| | | | | | | | As the functions are now exposed in anv_meta.h, let's rename them to clarify that they are meta functions. anv_cmd_buffer_save -> anv_meta_save anv_cmd_buffer_restore -> anv_meta_restore
* anv: Move meta clear code to new file anv_meta_clear.cChad Versace2015-11-041-0/+53
anv_meta.c currently handles blits, copies, clears, and resolves. The clear code is about to grow, and anv_meta.c is already busting at the seams.