Mesa (staging/19.3): radv: Remove _mesa_locale_init/fini calls.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Oct 31 22:15:29 UTC 2019
Module: Mesa
Branch: staging/19.3
Commit: ea886e49be9a9799d5dbae9d1f46d31499344b5e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea886e49be9a9799d5dbae9d1f46d31499344b5e
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Thu Oct 31 02:33:46 2019 +0100
radv: Remove _mesa_locale_init/fini calls.
The resulting locale is not used for Vulkan, and it is not reference
counted, giving issues when multiple instances are created.
CC: 19.2 19.3 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 344ba56b0f36e77c3d4a935717854f1bf8000a2e)
---
src/amd/vulkan/radv_device.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 0ab421b2377..fef5cab6ff2 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -47,7 +47,6 @@
#include "radv_shader.h"
#include "radv_cs.h"
#include "util/disk_cache.h"
-#include "util/strtod.h"
#include "vk_util.h"
#include <xf86drm.h>
#include <amdgpu.h>
@@ -682,7 +681,6 @@ VkResult radv_CreateInstance(
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);
instance->engineVersion = engine_version;
- _mesa_locale_init();
glsl_type_singleton_init_or_ref();
VG(VALGRIND_CREATE_MEMPOOL(instance, 0, false));
@@ -713,7 +711,6 @@ void radv_DestroyInstance(
VG(VALGRIND_DESTROY_MEMPOOL(instance));
glsl_type_singleton_decref();
- _mesa_locale_fini();
driDestroyOptionCache(&instance->dri_options);
driDestroyOptionInfo(&instance->available_dri_options);
More information about the mesa-commit
mailing list