radv: make radv_emit_framebuffer_state() static
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Nov 2017 11:52:32 +0000 (12:52 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Nov 2017 10:04:25 +0000 (11:04 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h

index a2ad9fa460e8fd8ea76984ef150e43c9df95ccad..3cdcc069385425eba2fd2a0e48eb370a3127e991 100644 (file)
@@ -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;
index 79f52c61e0b033f7068e6a67d575c010aeaf3aac..3e5cd6562a8af0af3a2adc9f4ba6459c60bac926 100644 (file)
@@ -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);