diff options
author | Alex Smith <[email protected]> | 2017-08-03 15:32:46 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-08-07 23:47:49 +0200 |
commit | 2e9a13bf2205b6e96cba408e3f48f1c3fe49634a (patch) | |
tree | 5bf3e1d8b940ccc7c69000be928a012384e73403 /src/amd/vulkan/radv_private.h | |
parent | a6a6146aa91154fd31fb218bc60345bdda0d4f5d (diff) |
radv: Fix decompression on multisampled depth buffers
Need to take the sample count into account in the depth decompress and
resummarize pipelines and render pass.
Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver")
Signed-off-by: Alex Smith <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 6c49395d0ae..ca985da16d5 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -443,7 +443,7 @@ struct radv_meta_state { VkPipeline decompress_pipeline; VkPipeline resummarize_pipeline; VkRenderPass pass; - } depth_decomp; + } depth_decomp[1 + MAX_SAMPLES_LOG2]; struct { VkPipeline cmask_eliminate_pipeline; |