summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-08-28 07:57:34 -0700
committerChad Versace <[email protected]>2015-08-28 07:57:34 -0700
commitaacb7bb9b6080ac6a0c9166d5a5b615c6425b821 (patch)
tree7ead7b72c5a93455d718cab5d7f49838cc072aea /src/vulkan/anv_private.h
parent641c25dd5505333ae4d260c6e821249c1be6da65 (diff)
vk: Add func anv_cmd_buffer_get_depth_stencil_view()
This function removes some duplicated code from genN_cmd_buffer_emit_depth_stencil().
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index 5cbc67b7c2c..a27b2e5ed92 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -848,6 +848,8 @@ anv_cmd_buffer_push_constants(struct anv_cmd_buffer *cmd_buffer,
void anv_cmd_buffer_clear_attachments(struct anv_cmd_buffer *cmd_buffer,
struct anv_render_pass *pass,
const VkClearValue *clear_values);
+const struct anv_depth_stencil_view *
+anv_cmd_buffer_get_depth_stencil_view(const struct anv_cmd_buffer *cmd_buffer);
void anv_cmd_buffer_dump(struct anv_cmd_buffer *cmd_buffer);