From: Samuel Pitoiset Date: Wed, 8 Nov 2017 11:52:32 +0000 (+0100) Subject: radv: make radv_emit_framebuffer_state() static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e16c6a41e29b40ee8830fa95353f1f640b85136;p=mesa.git radv: make radv_emit_framebuffer_state() static Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- 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);