diff options
author | Nanley Chery <[email protected]> | 2016-03-09 11:31:49 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2016-03-16 10:56:22 -0700 |
commit | 997a873f0c67108acf5733538c4475285e3f9b2e (patch) | |
tree | a060a1432a3944a8e1e76a6568a2d202a6e88b07 /src/intel/vulkan/anv_private.h | |
parent | 2d8c6321177a92f6f1383adc1e75dde1610cfc64 (diff) |
anv/blit2d: Customize meta blit structs and functions for blit2d API
* Add fields in meta struct
* Add support in meta init/teardown
* Switch to custom meta_emit_blit2d()
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 0ef840da10e..939cd087377 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -608,6 +608,16 @@ struct anv_meta_state { } blit; struct { + VkRenderPass render_pass; + + /** Pipeline that copies from a 2D image. */ + VkPipeline pipeline_2d_src; + + VkPipelineLayout pipeline_layout; + VkDescriptorSetLayout ds_layout; + } blit2d; + + struct { /** Pipeline [i] resolves an image with 2^(i+1) samples. */ VkPipeline pipelines[MAX_SAMPLES_LOG2]; |