diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2019-04-18 17:39:36 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-04-18 16:18:46 -0700 |
commit | 23abb7d3109884fb950ee81c92f9fd62b93ffcc2 (patch) | |
tree | 804f51edf1717f9dd22e869d0e72177d1ce18eee | |
parent | 32e08b23975b5f0ddcff108f6e3927fa7323131b (diff) |
anv: fix uninitialized pthread cond clock domain
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 843775bab78a6b ("anv: Rework fences")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit dfd79079daf08cba0e1d5defc18dedeffb0c6327)
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index f0583d22774..aa3d948042f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1866,7 +1866,7 @@ VkResult anv_CreateDevice( result = vk_error(VK_ERROR_INITIALIZATION_FAILED); goto fail_mutex; } - if (pthread_cond_init(&device->queue_submit, NULL) != 0) { + if (pthread_cond_init(&device->queue_submit, &condattr) != 0) { pthread_condattr_destroy(&condattr); result = vk_error(VK_ERROR_INITIALIZATION_FAILED); goto fail_mutex; |