summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-12-19 15:42:10 +1000
committerDave Airlie <[email protected]>2017-12-22 14:09:28 +1000
commit9f675bf934f7bdfa6a1e10c4d3a3b74e418046c1 (patch)
tree726528d450c3bb5fbb3cae80c8625df742d8e133 /src/amd/vulkan/radv_private.h
parenta99fa7e8a2b7d36dc26cf2dbf5f38f55c674f719 (diff)
radv/gfx9: add support for 3d images to blit 2d paths
This add support for a 3D image reading path to the blit 2d paths, like I did for the clear paths. Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."' Reviewed-by: Bas Nieuwenhuizen <[email protected]> Tested-by: Alex Smith <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 9b626379ee0..47ae0342ce2 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -401,15 +401,15 @@ struct radv_meta_state {
struct {
VkRenderPass render_passes[NUM_META_FS_KEYS];
- VkPipelineLayout p_layouts[2];
- VkDescriptorSetLayout ds_layouts[2];
- VkPipeline pipelines[2][NUM_META_FS_KEYS];
+ VkPipelineLayout p_layouts[3];
+ VkDescriptorSetLayout ds_layouts[3];
+ VkPipeline pipelines[3][NUM_META_FS_KEYS];
VkRenderPass depth_only_rp;
- VkPipeline depth_only_pipeline[2];
+ VkPipeline depth_only_pipeline[3];
VkRenderPass stencil_only_rp;
- VkPipeline stencil_only_pipeline[2];
+ VkPipeline stencil_only_pipeline[3];
} blit2d;
struct {