commit | 64478a1ded523444c25678e744e119d49bdf258f | [log] [tgz] |
---|---|---|
author | Craig Stout <cstout@google.com> | Fri Aug 14 18:45:25 2020 -0700 |
committer | Craig Stout <cstout@google.com> | Mon Aug 17 16:19:51 2020 +0000 |
tree | 7a2be7ece677428d4bfae00818f6905525a63341 | |
parent | b9f6c516c05d05733a967bdfda8be61fb2d2727e [diff] |
Remove MAGMA_TEMP_USE_RESOURCE_COUNT. Change-Id: I052f067c274de1b464cdc4d5a1911ecde8dc3201 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/417554 Reviewed-by: John Bauman <jbauman@google.com>
diff --git a/src/intel/vulkan/anv_magma_connection.cc b/src/intel/vulkan/anv_magma_connection.cc index 43d7a94..cc39b35 100644 --- a/src/intel/vulkan/anv_magma_connection.cc +++ b/src/intel/vulkan/anv_magma_connection.cc
@@ -252,14 +252,9 @@ } magma_system_command_buffer command_buffer = { -#ifdef MAGMA_TEMP_USE_RESOURCE_COUNT .resource_count = execbuf->buffer_count, -#endif .batch_buffer_resource_index = execbuf->buffer_count - 1, // by drm convention .batch_start_offset = execbuf->batch_start_offset, -#ifndef MAGMA_TEMP_USE_RESOURCE_COUNT - .num_resources = execbuf->buffer_count, -#endif .wait_semaphore_count = wait_semaphore_count, .signal_semaphore_count = static_cast<uint32_t>(semaphore_ids.size()) - wait_semaphore_count};