From 4e16c6a41e29b40ee8830fa95353f1f640b85136 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 8 Nov 2017 12:52:32 +0100 Subject: [PATCH] radv: make radv_emit_framebuffer_state() static Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_cmd_buffer.c | 2 +- src/amd/vulkan/radv_private.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index a2ad9fa460e..3cdcc069385 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -1443,7 +1443,7 @@ radv_load_color_clear_regs(struct radv_cmd_buffer *cmd_buffer, radeon_emit(cmd_buffer->cs, 0); } -void +static void radv_emit_framebuffer_state(struct radv_cmd_buffer *cmd_buffer) { int i; diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 79f52c61e0b..3e5cd6562a8 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -963,8 +963,7 @@ bool radv_cmd_buffer_upload_data(struct radv_cmd_buffer *cmd_buffer, unsigned size, unsigned alignmnet, const void *data, unsigned *out_offset); -void -radv_emit_framebuffer_state(struct radv_cmd_buffer *cmd_buffer); + void radv_cmd_buffer_clear_subpass(struct radv_cmd_buffer *cmd_buffer); void radv_cmd_buffer_resolve_subpass(struct radv_cmd_buffer *cmd_buffer); void radv_cmd_buffer_resolve_subpass_cs(struct radv_cmd_buffer *cmd_buffer); -- 2.30.2