From: Eric Anholt Date: Tue, 26 Nov 2019 19:15:12 +0000 (-0800) Subject: turnip: Fix unused variable warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb49f19c1b89ad865ccc530010ab8a2b42258ada;p=mesa.git turnip: Fix unused variable warnings. Reviewed-by: Jonathan Marek --- diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c index 5e93395dff5..b5da64627ef 100644 --- a/src/freedreno/vulkan/tu_cmd_buffer.c +++ b/src/freedreno/vulkan/tu_cmd_buffer.c @@ -834,8 +834,6 @@ tu6_emit_store_attachment(struct tu_cmd_buffer *cmd, static void tu6_emit_tile_store(struct tu_cmd_buffer *cmd, struct tu_cs *cs) { - const struct tu_framebuffer *fb = cmd->state.framebuffer; - const struct tu_tiling_config *tiling = &cmd->state.tiling_config; const struct tu_subpass *subpass = cmd->state.subpass; if (false) { @@ -1118,9 +1116,6 @@ tu6_render_tile(struct tu_cmd_buffer *cmd, static void tu6_render_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs) { - const struct tu_subpass *subpass = cmd->state.subpass; - const struct tu_framebuffer *fb = cmd->state.framebuffer; - VkResult result = tu_cs_reserve_space(cmd->device, cs, 16); if (result != VK_SUCCESS) { cmd->record_result = result; diff --git a/src/freedreno/vulkan/tu_descriptor_set.c b/src/freedreno/vulkan/tu_descriptor_set.c index 4965274aac6..0998161edc0 100644 --- a/src/freedreno/vulkan/tu_descriptor_set.c +++ b/src/freedreno/vulkan/tu_descriptor_set.c @@ -678,8 +678,6 @@ static void write_texel_buffer_descriptor(struct tu_device *device, struct tu_bo **buffer_list, const VkBufferView _buffer_view) { - TU_FROM_HANDLE(tu_buffer_view, buffer_view, _buffer_view); - tu_finishme("texel buffer descriptor"); }