diff options
author | Jason Ekstrand <[email protected]> | 2016-03-30 15:03:34 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-08 15:57:52 -0700 |
commit | 4ee80e8816091869943d98cbe261c49406bb8039 (patch) | |
tree | c39cd87aa08f1d355c4a5ef29132130502a827ef /src/intel/vulkan/anv_private.h | |
parent | 85b9a007acb9bf53e509974f4112accb8e9a29f4 (diff) |
anv/blit2d: Refactor in preparation for different src/dst types
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 7c140a33cb7..1a18dd15e65 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -609,13 +609,16 @@ struct anv_meta_state { struct { VkRenderPass render_pass; - /** Pipeline that copies from a 2D image. */ - VkPipeline pipeline_2d_src; - VkPipelineLayout img_p_layout; VkDescriptorSetLayout img_ds_layout; VkPipelineLayout buf_p_layout; VkDescriptorSetLayout buf_ds_layout; + + /* Pipelines indexed by source and destination type. See the + * blit2d_src_type and blit2d_dst_type enums in anv_meta_blit2d.c to + * see what these mean. + */ + VkPipeline pipelines[2][3]; } blit2d; struct { |