mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
anv: 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@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 3e86d553a4)
This commit is contained in:
parent
ff9237e8ea
commit
4575aa2a30
1 changed files with 0 additions and 3 deletions
|
|
@ -32,7 +32,6 @@
|
|||
#include "drm-uapi/drm_fourcc.h"
|
||||
|
||||
#include "anv_private.h"
|
||||
#include "util/strtod.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/build_id.h"
|
||||
#include "util/disk_cache.h"
|
||||
|
|
@ -772,7 +771,6 @@ VkResult anv_CreateInstance(
|
|||
instance->pipeline_cache_enabled =
|
||||
env_var_as_boolean("ANV_ENABLE_PIPELINE_CACHE", true);
|
||||
|
||||
_mesa_locale_init();
|
||||
glsl_type_singleton_init_or_ref();
|
||||
|
||||
VG(VALGRIND_CREATE_MEMPOOL(instance, 0, false));
|
||||
|
|
@ -811,7 +809,6 @@ void anv_DestroyInstance(
|
|||
vk_debug_report_instance_destroy(&instance->debug_report_callbacks);
|
||||
|
||||
glsl_type_singleton_decref();
|
||||
_mesa_locale_fini();
|
||||
|
||||
driDestroyOptionCache(&instance->dri_options);
|
||||
driDestroyOptionInfo(&instance->available_dri_options);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue