radv: rename RADV_CMD_DIRTY_RENDER_TARGETS to RADV_CMD_DIRTY_FRAMEBUFFER
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 19 Oct 2017 10:35:44 +0000 (12:35 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Oct 2017 08:39:26 +0000 (10:39 +0200)
To be consistent with the emit function name.

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 8c5c75d3cb6d2671ae4e2c23d093f17759be8418..5c0f639a9552a22cbe78b89e43884b2d28bb8292 100644 (file)
@@ -1801,7 +1801,7 @@ radv_cmd_buffer_flush_state(struct radv_cmd_buffer *cmd_buffer,
        if (cmd_buffer->state.dirty & RADV_CMD_DIRTY_PIPELINE)
                radv_emit_graphics_pipeline(cmd_buffer);
 
-       if (cmd_buffer->state.dirty & RADV_CMD_DIRTY_RENDER_TARGETS)
+       if (cmd_buffer->state.dirty & RADV_CMD_DIRTY_FRAMEBUFFER)
                radv_emit_framebuffer_state(cmd_buffer);
 
        if (cmd_buffer->state.dirty & RADV_CMD_DIRTY_INDEX_BUFFER)
@@ -1994,7 +1994,7 @@ radv_cmd_buffer_set_subpass(struct radv_cmd_buffer *cmd_buffer,
 
        cmd_buffer->state.subpass = subpass;
 
-       cmd_buffer->state.dirty |= RADV_CMD_DIRTY_RENDER_TARGETS;
+       cmd_buffer->state.dirty |= RADV_CMD_DIRTY_FRAMEBUFFER;
 }
 
 static VkResult
index 6c3a1bbbb39abb17e291f3362d61cfaa6a401472..a149f72e61235166c742be233f5bd28ad396dfd2 100644 (file)
@@ -669,7 +669,7 @@ enum radv_cmd_dirty_bits {
        RADV_CMD_DIRTY_DYNAMIC_ALL                       = (1 << 9) - 1,
        RADV_CMD_DIRTY_PIPELINE                          = 1 << 9,
        RADV_CMD_DIRTY_INDEX_BUFFER                      = 1 << 10,
-       RADV_CMD_DIRTY_RENDER_TARGETS                    = 1 << 11,
+       RADV_CMD_DIRTY_FRAMEBUFFER                       = 1 << 11,
 };
 typedef uint32_t radv_cmd_dirty_mask_t;