summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-01-27 13:51:35 +0100
committerBas Nieuwenhuizen <[email protected]>2019-01-27 13:51:35 +0100
commitb4870a15aea88d1af1f49f558841da04f1f1f30a (patch)
tree4d66e535ad7e7ec9826f1b0bfbae68744372fe8e /src/amd/vulkan
parent804cc44d09fb2a468b2ed317ab011c2456226091 (diff)
radv: Remove unused variable.
Trivial.
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/si_cmd_buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c
index 80093ed89ed..1005ab3f7e7 100644
--- a/src/amd/vulkan/si_cmd_buffer.c
+++ b/src/amd/vulkan/si_cmd_buffer.c
@@ -970,7 +970,6 @@ si_emit_cache_flush(struct radv_cmd_buffer *cmd_buffer)
if (!cmd_buffer->state.flush_bits)
return;
- enum chip_class chip_class = cmd_buffer->device->physical_device->rad_info.chip_class;
radeon_check_space(cmd_buffer->device->ws, cmd_buffer->cs, 128);
si_cs_emit_cache_flush(cmd_buffer->cs,