util: Move u_pack_color.h and dbughelp.h into src/util from/src/gallium/auxiliary/util/

As u_pack_color.h is used in vulkan drivers, so decouple it from gallium by this move
And dbghelp.h is included in u_debug_symbol.c and that's resident in src/util/

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19522>
This commit is contained in:
Yonggang Luo 2023-06-04 17:22:09 +08:00 committed by Marge Bot
parent 52b92a7166
commit 4bdbf44cce
5 changed files with 4 additions and 4 deletions

View file

@ -201,7 +201,6 @@ files_libgallium = files(
'translate/translate_cache.h',
'translate/translate_generic.c',
'translate/translate_sse.c',
'util/dbghelp.h',
'util/u_async_debug.h',
'util/u_async_debug.c',
'util/u_bitcast.h',
@ -245,7 +244,6 @@ files_libgallium = files(
'util/u_live_shader_cache.h',
'util/u_log.c',
'util/u_log.h',
'util/u_pack_color.h',
'util/u_prim.h',
'util/u_prim.c',
'util/u_prim_restart.c',

View file

@ -26,9 +26,9 @@
#include "genxml/gen_macros.h"
#include <string.h>
#include "gallium/auxiliary/util/u_pack_color.h"
#include "util/format_srgb.h"
#include "util/rounding.h"
#include "util/u_pack_color.h"
#include "pan_format.h"
#include "pan_util.h"

View file

@ -154,6 +154,7 @@ files_mesa_util = files(
'u_memset.h',
'u_mm.c',
'u_mm.h',
'u_pack_color.h',
'u_debug.c',
'u_debug.h',
'u_debug_memory.c',
@ -232,8 +233,9 @@ deps_for_libmesa_util = [
if with_platform_android
deps_for_libmesa_util += dep_android
files_debug_stack = files('u_debug_stack_android.cpp')
else
else
files_debug_stack = files(
'dbghelp.h',
'u_debug_stack.c',
'u_debug_symbol.c',
'u_debug_symbol.h',