|
|
|
|
|
|
|
|
#include "radv_shader.h" |
|
|
#include "radv_shader.h" |
|
|
#include "radv_cs.h" |
|
|
#include "radv_cs.h" |
|
|
#include "util/disk_cache.h" |
|
|
#include "util/disk_cache.h" |
|
|
#include "util/strtod.h" |
|
|
|
|
|
#include "vk_util.h" |
|
|
#include "vk_util.h" |
|
|
#include <xf86drm.h> |
|
|
#include <xf86drm.h> |
|
|
#include <amdgpu.h> |
|
|
#include <amdgpu.h> |
|
|
|
|
|
|
|
|
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); |
|
|
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); |
|
|
instance->engineVersion = engine_version; |
|
|
instance->engineVersion = engine_version; |
|
|
|
|
|
|
|
|
_mesa_locale_init(); |
|
|
|
|
|
glsl_type_singleton_init_or_ref(); |
|
|
glsl_type_singleton_init_or_ref(); |
|
|
|
|
|
|
|
|
VG(VALGRIND_CREATE_MEMPOOL(instance, 0, false)); |
|
|
VG(VALGRIND_CREATE_MEMPOOL(instance, 0, false)); |
|
|
|
|
|
|
|
|
VG(VALGRIND_DESTROY_MEMPOOL(instance)); |
|
|
VG(VALGRIND_DESTROY_MEMPOOL(instance)); |
|
|
|
|
|
|
|
|
glsl_type_singleton_decref(); |
|
|
glsl_type_singleton_decref(); |
|
|
_mesa_locale_fini(); |
|
|
|
|
|
|
|
|
|
|
|
driDestroyOptionCache(&instance->dri_options); |
|
|
driDestroyOptionCache(&instance->dri_options); |
|
|
driDestroyOptionInfo(&instance->available_dri_options); |
|
|
driDestroyOptionInfo(&instance->available_dri_options); |