util: move ASTCLutHolder from mesa/main to util
authorYogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Sun, 17 Sep 2023 18:00:30 +0000 (23:30 +0530)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Oct 2023 19:28:40 +0000 (19:28 +0000)
commit8da85d2475da5e883c88f6cc744594a3031c25c3
tree2d04777772c04e0036746a1c84299e2933884ff2
parent0236b7f18afcde4aa90e09882ae14289d9c2e6ac
util: move ASTCLutHolder from mesa/main to util

v2: remove extra u_formats.h header addition (Chia-I Wu)
    use stddef.h and not unistd.h (Chia-I Wu)

Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24672>
src/mesa/meson.build
src/mesa/state_tracker/st_texcompress_compute.c
src/util/meson.build
src/util/texcompress_astc_luts.cpp [moved from src/mesa/main/texcompress_astc_luts.cpp with 100% similarity]
src/util/texcompress_astc_luts.h [moved from src/mesa/main/texcompress_astc_luts.h with 100% similarity]
src/util/texcompress_astc_luts_wrap.cpp [moved from src/mesa/main/texcompress_astc_luts_wrap.cpp with 93% similarity]
src/util/texcompress_astc_luts_wrap.h [moved from src/mesa/main/texcompress_astc_luts_wrap.h with 91% similarity]