Mesa (master): radv: Clean up unused variable.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 30 12:07:31 UTC 2019
Module: Mesa
Branch: master
Commit: 43ba44357c4dc3a329e996c1423c3dba864e4f49
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43ba44357c4dc3a329e996c1423c3dba864e4f49
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Tue Oct 1 18:14:34 2019 +0200
radv: Clean up unused variable.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/amd/vulkan/radv_device.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 98ad7eaa3dd..1d2addcd1d0 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -3406,8 +3406,7 @@ static VkResult radv_alloc_sem_counts(struct radv_instance *instance,
struct radv_winsys_sem_counts *counts,
int num_sems,
const VkSemaphore *sems,
- VkFence _fence,
- bool reset_temp)
+ VkFence _fence)
{
int syncobj_idx = 0, sem_idx = 0;
@@ -3504,10 +3503,10 @@ radv_alloc_sem_info(struct radv_instance *instance,
VkResult ret;
memset(sem_info, 0, sizeof(*sem_info));
- ret = radv_alloc_sem_counts(instance, &sem_info->wait, num_wait_sems, wait_sems, VK_NULL_HANDLE, true);
+ ret = radv_alloc_sem_counts(instance, &sem_info->wait, num_wait_sems, wait_sems, VK_NULL_HANDLE);
if (ret)
return ret;
- ret = radv_alloc_sem_counts(instance, &sem_info->signal, num_signal_sems, signal_sems, fence, false);
+ ret = radv_alloc_sem_counts(instance, &sem_info->signal, num_signal_sems, signal_sems, fence);
if (ret)
radv_free_sem_info(sem_info);
More information about the mesa-commit
mailing list