Module: Mesa Branch: master Commit: dfd79079daf08cba0e1d5defc18dedeffb0c6327 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfd79079daf08cba0e1d5defc18dedeffb0c6327
Author: Lionel Landwerlin <[email protected]> Date: Thu Apr 18 17:39:36 2019 +0100 anv: fix uninitialized pthread cond clock domain Signed-off-by: Lionel Landwerlin <[email protected]> Fixes: 843775bab78a6b ("anv: Rework fences") Reviewed-by: Jason Ekstrand <[email protected]> --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index aa11ac7d500..991ca50f7dd 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -2051,7 +2051,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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
