diff options
author | Dave Airlie <[email protected]> | 2017-01-17 06:37:36 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-01-17 06:51:25 +1000 |
commit | 3634dfd9e7fb69dbdf738d206e271c53e71138f8 (patch) | |
tree | 121747afd3b804a997912570ca2e179a5a83182d /src/amd/vulkan/radv_private.h | |
parent | 5eeebca12f1c10aecf7eba3ca15744145e6f921e (diff) |
radv/meta: consolidate the depth stencil clear renderpasses
We only need one per samples (maybe not even that), reduce
all the unneeded ones.
Reviewed-by: Bas Nieuwenhuizen <[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.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index b095e3f39a6..6b80b204875 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -348,11 +348,9 @@ struct radv_meta_state { VkRenderPass render_pass[NUM_META_FS_KEYS]; struct radv_pipeline *color_pipelines[NUM_META_FS_KEYS]; - VkRenderPass depth_only_rp[NUM_DEPTH_CLEAR_PIPELINES]; + VkRenderPass depthstencil_rp; struct radv_pipeline *depth_only_pipeline[NUM_DEPTH_CLEAR_PIPELINES]; - VkRenderPass stencil_only_rp[NUM_DEPTH_CLEAR_PIPELINES]; struct radv_pipeline *stencil_only_pipeline[NUM_DEPTH_CLEAR_PIPELINES]; - VkRenderPass depthstencil_rp[NUM_DEPTH_CLEAR_PIPELINES]; struct radv_pipeline *depthstencil_pipeline[NUM_DEPTH_CLEAR_PIPELINES]; } clear[1 + MAX_SAMPLES_LOG2]; |