diff options
author | Grazvydas Ignotas <[email protected]> | 2016-12-10 21:10:48 +0200 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-12-11 20:03:14 +0100 |
commit | 3a1b15c3921d25ea2e6e81f500c3f45c84b95817 (patch) | |
tree | 340e4400376efeba7febbc5aa37e5fbbe4bbf2c3 /src/intel/vulkan/anv_blorp.c | |
parent | 90c29784c66577f33ca5c8139e33ad027a212125 (diff) |
anv: fix release build unused variable warnings
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index 159e4a01d01..b431d6af485 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -909,7 +909,8 @@ anv_cmd_buffer_alloc_blorp_binding_table(struct anv_cmd_buffer *cmd_buffer, state_offset); if (bt_state.map == NULL) { /* We ran out of space. Grab a new binding table block. */ - VkResult result = anv_cmd_buffer_new_binding_table_block(cmd_buffer); + MAYBE_UNUSED VkResult result = + anv_cmd_buffer_new_binding_table_block(cmd_buffer); assert(result == VK_SUCCESS); /* Re-emit state base addresses so we get the new surface state base |