summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-11-26 11:15:12 -0800
committerEric Anholt <[email protected]>2019-12-04 20:32:15 -0800
commitbb49f19c1b89ad865ccc530010ab8a2b42258ada (patch)
tree6ffd43dc244c3b62c1b02bd09d7734e3fd284cbd /src/freedreno/vulkan
parent1b1b436fa7cf92cce23018ea923597c4d7290d57 (diff)
turnip: Fix unused variable warnings.
Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan')
-rw-r--r--src/freedreno/vulkan/tu_cmd_buffer.c5
-rw-r--r--src/freedreno/vulkan/tu_descriptor_set.c2
2 files changed, 0 insertions, 7 deletions
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");
}