summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-06-12 11:39:58 +0200
committerSamuel Pitoiset <[email protected]>2019-06-21 14:50:35 +0200
commite67fc11c26111ae7aa8d140a5f62074b5e0b43c3 (patch)
treeff6c0edae9bb1e2e8fe966dfcc82f2970d25712d /src/amd/vulkan/radv_private.h
parent396da5c029549a78e0536f2a7910ee791bb6223b (diff)
radv: pass sample locations for transitions before depth/stencil resolves
HTILE decompressions need the user sample locations if specified in the current subpass. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 9de46494454..1249ad0445d 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -2003,6 +2003,9 @@ struct radv_subpass {
VkSampleCountFlagBits max_sample_count;
};
+uint32_t
+radv_get_subpass_id(struct radv_cmd_buffer *cmd_buffer);
+
struct radv_render_pass_attachment {
VkFormat format;
uint32_t samples;