sylware / nyanlinux (public) (License: AFFERO GPLv3) (since 2019-09-09) (hash sha1)
scripts for a lean, from scratch, amd hardware, linux distro
List of commits:
Subject Hash Author Date (UTC)
gfx stack update (still holding off that apple/vanguard/blackrock c++ diareha of llvm16) a39b581c68073fc16673c3427062257e798df6e5 Sylvain BERTRAND 2022-09-18 14:04:36
gfx stack update (mesa is turning bad, still holding that c++ diareha which is llvm16, thx apple/vanguard/blackrock) a1b908b9c75f7e316a7ad38aa80dad297c8a7a56 Sylvain BERTRAND 2022-09-11 15:34:52
gfx stack update (still holding that c++ trash of llvm) d18ae7757bfc893340991495c37aa513f62d1c35 Sylvain BERTRAND 2022-09-04 14:51:23
busybox 1.34.1 471c7a4e07017c8c517dd661a44c7834b5d102dd Sylvain BERTRAND 2022-08-29 16:01:28
alsa-lib: same game related binaries are now libdl-ing specific symbol version 2ff4e151fa0f4674c1d7f19ac783eb9a7f99393a Sylvain BERTRAND 2022-08-29 15:17:27
libdrm cleanup 8812b7fda9f9528f241ba232f819fe04935b70ae Sylvain BERTRAND 2022-08-28 14:31:14
gfx stack update and cleanup (still avoiding that llvm16 trash) d206fbac5e18ba992d5470919422c0eef8434d64 Sylvain BERTRAND 2022-08-28 14:25:03
hiddev does more than hidraw 0802a7a33d0bd6304ef1663f82a84d823cdac0f6 Sylvain BERTRAND 2022-08-21 17:31:02
gfx stack update (llvm16 still breaking everything) 8697dc46eb6a0b396e2054f4aa8262f521781378 Sylvain BERTRAND 2022-08-21 17:03:54
gfx stack update (llvm16 broke totally mesa build... as usual) 9cdd8d2efb1ea4c5f82f4bceb3f52064419c0620 Sylvain BERTRAND 2022-08-14 13:02:27
gfx stack update (still avoiding like hell llvm) 53a5da090eff753d1deb799315ff73971c96ec40 Sylvain BERTRAND 2022-08-07 18:01:08
gfx stack update (still holding that llvm c++ trash) 4665adde998aaea0ef7a05233fd11faa3279828c Sylvain BERTRAND 2022-07-24 13:41:47
gfx stack update (still holding the breaking llvm) 2fbdf2a0752b2bdf312049f0feef6547649b8c9c Sylvain BERTRAND 2022-07-17 18:23:21
gfx stack update (we try to avoid llvm, because really nasty) f94a5fc7fb325ddbea168d682030fc89273cce55 Sylvain BERTRAND 2022-07-10 15:43:49
gfx stack update (still no llvm since it broke mesa AGAIN) 8c8bfecf404c6506c06b624d25eaf0178dff6112 Sylvain BERTRAND 2022-07-03 14:42:37
libX11: gcc attributes (no linker script), binutils 5f16ad32676c5bcfc6612d95a6e7500d917732ba Sylvain BERTRAND 2022-07-02 20:10:12
some updates and fixes (libX11 custom and fine grained build system) bcf0c05faae95410aac567798248bb92e9596eed Sylvain BERTRAND 2022-07-02 00:26:27
gfx stack update (no llvm yet) d2a3ef630f8cbb8ae6d9c274a7838a57fe9b1c07 Sylvain BERTRAND 2022-06-26 14:20:08
gfx stack update (actually it is llvm breaking mesa) d15422f1dddb685d781f0642d922784d1d5003b6 Sylvain BERTRAND 2022-06-19 23:59:08
alsa userland updates 098ff2ae57ea647f4c901042f2cd3cfe07d12cbf Sylvain BERTRAND 2022-06-14 18:36:38
Commit a39b581c68073fc16673c3427062257e798df6e5 - gfx stack update (still holding off that apple/vanguard/blackrock c++ diareha of llvm16)
Author: Sylvain BERTRAND
Author date (UTC): 2022-09-18 14:04
Committer name: Sylvain BERTRAND
Committer date (UTC): 2022-09-18 14:04
Parent(s): a1b908b9c75f7e316a7ad38aa80dad297c8a7a56
Signer:
Signing key:
Signing status: N
Tree: ab33e3449753536ea4e04f00db507964c380f05b
File Lines added Lines deleted
builders/dav1d-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/builder.sh 0 0
builders/dav1d-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/x86_64_linux_glibc_gcc.sh 0 0
builders/ffmpeg-2069894bc15931795aa02ed40aea4159b5daf55c/builder.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/builder.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/amd.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/compiler.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/compiler_glsl.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/compiler_nir.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/dri2.c.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/dri_util.c.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/dri_util.h.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/drm_helper.h.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/egl.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/egl_dri2.c.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/external_deps.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_auxiliary.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_drivers.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_frontends.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_state_trackers.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_targets.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_winsys.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gbm.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gcc_binutils.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/glx.sh 3 3
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/loader.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/mapi.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/matypes.h.x86_64 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/mesa.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pipe_loader.c.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/dri.pc.in 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/egl.pc.in 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/gbm.pc.in 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/gl.pc.in 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/si_pipe.c.patch 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/si_uvd.c 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/util.sh 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/vtn_opencl.c 0 0
builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/x86_64_linux_glibc_amdgpu.sh 0 0
builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/compiler_glsl.sh 0 242
builders/mesa-vulkan-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c 1 0
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/builder.sh 0 3
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/generators.sh 0 221
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/rt_was_sabotaged.patch 0 76
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vk_enum_to_str.c 0 21
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vk_enum_to_str.h 0 7
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vtn_opencl.c 0 16
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/x86_64_amdgpu_linux_gnu_vulkan_x11_drm_gcc.sh 0 1182
builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/radeon_icd.x86_64.json 0 7
File builders/dav1d-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/builder.sh renamed from builders/dav1d-895fed08e1de3d0a90c9ecd588cf61d8eee8457b/builder.sh (similarity 100%)
File builders/dav1d-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/x86_64_linux_glibc_gcc.sh renamed from builders/dav1d-895fed08e1de3d0a90c9ecd588cf61d8eee8457b/contrib/x86_64_linux_glibc_gcc.sh (similarity 100%)
File builders/ffmpeg-2069894bc15931795aa02ed40aea4159b5daf55c/builder.sh renamed from builders/ffmpeg-b6e8fc1c201d58672639134a737137e1ba7b55fe/builder.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/builder.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/builder.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/amd.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/amd.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/compiler.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/compiler.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/compiler_glsl.sh copied from file builders/mesa-gl-amd-sh-c93b72d0455f1487fa3fb65a6691ff44a2fbcd35/contrib/compiler_glsl.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/compiler_nir.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/compiler_nir.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/dri2.c.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/dri2.c.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/dri_util.c.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/dri_util.c.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/dri_util.h.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/dri_util.h.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/drm_helper.h.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/drm_helper.h.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/egl.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/egl.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/egl_dri2.c.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/egl_dri2.c.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/external_deps.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/external_deps.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_auxiliary.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium_auxiliary.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_drivers.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium_drivers.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_frontends.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium_frontends.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_state_trackers.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium_state_trackers.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_targets.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium_targets.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gallium_winsys.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gallium_winsys.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gbm.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gbm.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/gcc_binutils.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/gcc_binutils.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/glx.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/glx.sh (similarity 100%) (mode: 100644) (index 57e1e99..15fc747)
... ... $src_dir/src/glx/clientinfo.c \
12 12 $src_dir/src/glx/compsize.c \ $src_dir/src/glx/compsize.c \
13 13 $src_dir/src/glx/create_context.c \ $src_dir/src/glx/create_context.c \
14 14 $src_dir/src/glx/eval.c \ $src_dir/src/glx/eval.c \
15 $src_dir/src/glx/glx_error.c \
16 $src_dir/src/glx/glx_pbuffer.c \
17 $src_dir/src/glx/glx_query.c \
15 18 $src_dir/src/glx/glxcmds.c \ $src_dir/src/glx/glxcmds.c \
16 19 $src_dir/src/glx/glxconfig.c \ $src_dir/src/glx/glxconfig.c \
17 20 $src_dir/src/glx/glxcurrent.c \ $src_dir/src/glx/glxcurrent.c \
18 $src_dir/src/glx/glx_error.c \
19 21 $src_dir/src/glx/glxext.c \ $src_dir/src/glx/glxext.c \
20 22 $src_dir/src/glx/glxextensions.c \ $src_dir/src/glx/glxextensions.c \
21 23 $src_dir/src/glx/glxhash.c \ $src_dir/src/glx/glxhash.c \
22 $src_dir/src/glx/glx_pbuffer.c \
23 $src_dir/src/glx/glx_query.c \
24 24 $src_dir/src/glx/indirect_glx.c \ $src_dir/src/glx/indirect_glx.c \
25 25 $src_dir/src/glx/indirect_texture_compression.c \ $src_dir/src/glx/indirect_texture_compression.c \
26 26 $src_dir/src/glx/indirect_transpose_matrix.c \ $src_dir/src/glx/indirect_transpose_matrix.c \
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/loader.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/loader.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/mapi.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/mapi.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/matypes.h.x86_64 renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/matypes.h.x86_64 (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/mesa.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/mesa.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pipe_loader.c.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/pipe_loader.c.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/dri.pc.in renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/pkgconfig/dri.pc.in (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/egl.pc.in renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/pkgconfig/egl.pc.in (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/gbm.pc.in renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/pkgconfig/gbm.pc.in (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/pkgconfig/gl.pc.in renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/pkgconfig/gl.pc.in (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/si_pipe.c.patch renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/si_pipe.c.patch (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/si_uvd.c renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/si_uvd.c (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/util.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/util.sh (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/vtn_opencl.c renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vtn_opencl.c (similarity 100%)
File builders/mesa-gl-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c/contrib/x86_64_linux_glibc_amdgpu.sh renamed from builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/x86_64_linux_glibc_amdgpu.sh (similarity 100%)
File builders/mesa-gl-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/compiler_glsl.sh deleted (index 376bc6b..0000000)
1 printf "\tbuilding glsl compiler sub-components-->\n"
2 mkdir -p $build_dir/src/compiler/glsl/glcpp
3
4 #===============================================================================
5
6 $bison \
7 -o $build_dir/src/compiler/glsl/glcpp/glcpp-parse.c \
8 -p glcpp_parser_ \
9 --defines=$build_dir/src/compiler/glsl/glcpp/glcpp-parse.h \
10 $src_dir/src/compiler/glsl/glcpp/glcpp-parse.y &
11 #------------------------------------------------------------------------------
12 $flex \
13 -o $build_dir/src/compiler/glsl/glcpp/glcpp-lex.c \
14 $src_dir/src/compiler/glsl/glcpp/glcpp-lex.l &
15
16 wait
17
18 #===============================================================================
19
20 libglcpp_files="\
21 $src_dir/src/compiler/glsl/glcpp/pp.c \
22 $src_dir/src/compiler/glsl/glcpp/pp_standalone_scaffolding.c \
23 $build_dir/src/compiler/glsl/glcpp/glcpp-lex.c \
24 $build_dir/src/compiler/glsl/glcpp/glcpp-parse.c \
25 "
26
27 for f in $libglcpp_files
28 do
29 libglcpp_obj_dir=$(dirname $f)
30 libglcpp_obj_dir=$build_dir/${libglcpp_obj_dir#*/src/}
31 mkdir -p $libglcpp_obj_dir
32
33 libglcpp_obj="$libglcpp_obj_dir/$(basename $f .c).o"
34 libglcpp_a="$libglcpp_a $libglcpp_obj"
35
36 $cco_slib -o $libglcpp_obj $f \
37 -I$src_dir/src/compiler/glsl/glcpp \
38 -I$src_dir/src/compiler/nir \
39 -I$src_dir/src/gallium/include \
40 -I$src_dir/src/mapi \
41 -I$src_dir/src/main \
42 -I$src_dir/src/mesa \
43 -I$src_dir/src \
44 -I$src_dir/include \
45 \
46 $cco_slib_common_trailer &
47 done
48
49 wait
50
51 $ar $build_dir/libglcpp.a $libglcpp_a
52
53 #===============================================================================
54
55 $bison \
56 -o $build_dir/src/compiler/glsl/glsl_parser.cpp \
57 -p _mesa_glsl_ \
58 --defines=$build_dir/src/compiler/glsl/glsl_parser.h \
59 $src_dir/src/compiler/glsl/glsl_parser.yy &
60 #------------------------------------------------------------------------------
61 $flex \
62 -o $build_dir/src/compiler/glsl/glsl_lexer.cpp \
63 $src_dir/src/compiler/glsl/glsl_lexer.ll &
64 #------------------------------------------------------------------------------
65 export PYTHONPATH=$mako
66 $python3 $src_dir/src/compiler/glsl/ir_expression_operation.py constant \
67 >$build_dir/src/compiler/glsl/ir_expression_operation_constant.h &
68 #------------------------------------------------------------------------------
69 $python3 $src_dir/src/compiler/glsl/ir_expression_operation.py strings \
70 >$build_dir/src/compiler/glsl/ir_expression_operation_strings.h &
71 unset PYTHONPATH
72 #------------------------------------------------------------------------------
73 $python3 $src_dir/src/util/xxd.py \
74 $src_dir/src/compiler/glsl/float64.glsl \
75 $build_dir/src/compiler/glsl/float64_glsl.h \
76 -n float64_source &
77 #------------------------------------------------------------------------------
78
79 wait
80
81 #===============================================================================
82
83 libglsl_c_files="\
84 $src_dir/src/compiler/glsl/gl_nir_lower_atomics.c \
85 $src_dir/src/compiler/glsl/gl_nir_lower_images.c \
86 $src_dir/src/compiler/glsl/gl_nir_lower_buffers.c \
87 $src_dir/src/compiler/glsl/gl_nir_lower_samplers.c \
88 $src_dir/src/compiler/glsl/gl_nir_lower_samplers_as_deref.c \
89 $src_dir/src/compiler/glsl/gl_nir_link_atomics.c \
90 $src_dir/src/compiler/glsl/gl_nir_link_uniform_initializers.c \
91 $src_dir/src/compiler/glsl/gl_nir_link_uniform_blocks.c \
92 $src_dir/src/compiler/glsl/gl_nir_link_uniforms.c \
93 $src_dir/src/compiler/glsl/gl_nir_link_xfb.c \
94 $src_dir/src/compiler/glsl/gl_nir_linker.c \
95 $src_dir/src/compiler/glsl/gl_nir_link_varyings.c \
96 $src_dir/src/compiler/glsl/gl_nir_lower_packed_varyings.c \
97 $src_dir/src/compiler/glsl/gl_nir_lower_xfb_varying.c \
98 $src_dir/src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c \
99 "
100
101 # c++ toolchain is Hell (slow/kludgy/insane/etc)
102 libglsl_cxx_files="\
103 $build_dir/src/compiler/glsl/glsl_parser.cpp \
104 $build_dir/src/compiler/glsl/glsl_lexer.cpp \
105 $src_dir/src/compiler/glsl/ast_array_index.cpp \
106 $src_dir/src/compiler/glsl/ast_expr.cpp \
107 $src_dir/src/compiler/glsl/ast_function.cpp \
108 $src_dir/src/compiler/glsl/ast_to_hir.cpp \
109 $src_dir/src/compiler/glsl/ast_type.cpp \
110 $src_dir/src/compiler/glsl/builtin_functions.cpp \
111 $src_dir/src/compiler/glsl/builtin_types.cpp \
112 $src_dir/src/compiler/glsl/builtin_variables.cpp \
113 $src_dir/src/compiler/glsl/generate_ir.cpp \
114 $src_dir/src/compiler/glsl/glsl_parser_extras.cpp \
115 $src_dir/src/compiler/glsl/glsl_symbol_table.cpp \
116 $src_dir/src/compiler/glsl/glsl_to_nir.cpp \
117 $src_dir/src/compiler/glsl/hir_field_selection.cpp \
118 $src_dir/src/compiler/glsl/ir_array_refcount.cpp \
119 $src_dir/src/compiler/glsl/ir_basic_block.cpp \
120 $src_dir/src/compiler/glsl/ir_builder.cpp \
121 $src_dir/src/compiler/glsl/ir_clone.cpp \
122 $src_dir/src/compiler/glsl/ir_constant_expression.cpp \
123 $src_dir/src/compiler/glsl/ir.cpp \
124 $src_dir/src/compiler/glsl/ir_equals.cpp \
125 $src_dir/src/compiler/glsl/ir_expression_flattening.cpp \
126 $src_dir/src/compiler/glsl/ir_function_can_inline.cpp \
127 $src_dir/src/compiler/glsl/ir_function_detect_recursion.cpp \
128 $src_dir/src/compiler/glsl/ir_function.cpp \
129 $src_dir/src/compiler/glsl/ir_hierarchical_visitor.cpp \
130 $src_dir/src/compiler/glsl/ir_hv_accept.cpp \
131 $src_dir/src/compiler/glsl/ir_print_visitor.cpp \
132 $src_dir/src/compiler/glsl/ir_reader.cpp \
133 $src_dir/src/compiler/glsl/ir_rvalue_visitor.cpp \
134 $src_dir/src/compiler/glsl/ir_set_program_inouts.cpp \
135 $src_dir/src/compiler/glsl/ir_validate.cpp \
136 $src_dir/src/compiler/glsl/ir_variable_refcount.cpp \
137 $src_dir/src/compiler/glsl/linker.cpp \
138 $src_dir/src/compiler/glsl/linker_util.cpp \
139 $src_dir/src/compiler/glsl/link_functions.cpp \
140 $src_dir/src/compiler/glsl/link_interface_blocks.cpp \
141 $src_dir/src/compiler/glsl/link_uniforms.cpp \
142 $src_dir/src/compiler/glsl/link_uniform_block_active_visitor.cpp \
143 $src_dir/src/compiler/glsl/link_uniform_blocks.cpp \
144 $src_dir/src/compiler/glsl/link_varyings.cpp \
145 $src_dir/src/compiler/glsl/lower_blend_equation_advanced.cpp \
146 $src_dir/src/compiler/glsl/lower_builtins.cpp \
147 $src_dir/src/compiler/glsl/lower_cs_derived.cpp \
148 $src_dir/src/compiler/glsl/lower_discard.cpp \
149 $src_dir/src/compiler/glsl/lower_discard_flow.cpp \
150 $src_dir/src/compiler/glsl/lower_distance.cpp \
151 $src_dir/src/compiler/glsl/lower_instructions.cpp \
152 $src_dir/src/compiler/glsl/lower_int64.cpp \
153 $src_dir/src/compiler/glsl/lower_jumps.cpp \
154 $src_dir/src/compiler/glsl/lower_mat_op_to_vec.cpp \
155 $src_dir/src/compiler/glsl/lower_precision.cpp \
156 $src_dir/src/compiler/glsl/lower_named_interface_blocks.cpp \
157 $src_dir/src/compiler/glsl/lower_packing_builtins.cpp \
158 $src_dir/src/compiler/glsl/lower_subroutine.cpp \
159 $src_dir/src/compiler/glsl/lower_tess_level.cpp \
160 $src_dir/src/compiler/glsl/lower_vec_index_to_cond_assign.cpp \
161 $src_dir/src/compiler/glsl/lower_vec_index_to_swizzle.cpp \
162 $src_dir/src/compiler/glsl/lower_vector_derefs.cpp \
163 $src_dir/src/compiler/glsl/lower_vector_insert.cpp \
164 $src_dir/src/compiler/glsl/lower_output_reads.cpp \
165 $src_dir/src/compiler/glsl/opt_algebraic.cpp \
166 $src_dir/src/compiler/glsl/opt_array_splitting.cpp \
167 $src_dir/src/compiler/glsl/opt_constant_folding.cpp \
168 $src_dir/src/compiler/glsl/opt_constant_propagation.cpp \
169 $src_dir/src/compiler/glsl/opt_constant_variable.cpp \
170 $src_dir/src/compiler/glsl/opt_copy_propagation_elements.cpp \
171 $src_dir/src/compiler/glsl/opt_dead_builtin_variables.cpp \
172 $src_dir/src/compiler/glsl/opt_dead_code.cpp \
173 $src_dir/src/compiler/glsl/opt_dead_code_local.cpp \
174 $src_dir/src/compiler/glsl/opt_dead_functions.cpp \
175 $src_dir/src/compiler/glsl/opt_flatten_nested_if_blocks.cpp \
176 $src_dir/src/compiler/glsl/opt_flip_matrices.cpp \
177 $src_dir/src/compiler/glsl/opt_function_inlining.cpp \
178 $src_dir/src/compiler/glsl/opt_if_simplification.cpp \
179 $src_dir/src/compiler/glsl/opt_minmax.cpp \
180 $src_dir/src/compiler/glsl/opt_rebalance_tree.cpp \
181 $src_dir/src/compiler/glsl/opt_structure_splitting.cpp \
182 $src_dir/src/compiler/glsl/opt_tree_grafting.cpp \
183 $src_dir/src/compiler/glsl/propagate_invariance.cpp \
184 $src_dir/src/compiler/glsl/s_expression.cpp \
185 $src_dir/src/compiler/glsl/string_to_uint_map.cpp \
186 $src_dir/src/compiler/glsl/serialize.cpp \
187 $src_dir/src/compiler/glsl/shader_cache.cpp \
188 "
189
190 #------------------------------------------------------------------------------
191
192 for f in $libglsl_c_files
193 do
194 libglsl_c_obj_dir=$(dirname $f)
195 libglsl_c_obj_dir=$build_dir/${libglsl_c_obj_dir#*/src/}
196 mkdir -p $libglsl_c_obj_dir
197
198 libglsl_c_obj="$libglsl_c_obj_dir/$(basename $f .c).o"
199 libglsl_a="$libglsl_a $libglsl_c_obj"
200
201 $cco_slib -o $libglsl_c_obj $f \
202 -I$build_dir/src/compiler/nir \
203 -I$src_dir/src/compiler/nir \
204 -I$src_dir/src/compiler \
205 -I$src_dir/src/gallium/include \
206 -I$src_dir/src/mapi \
207 -I$src_dir/src/mesa \
208 -I$src_dir/src \
209 -I$src_dir/include \
210 \
211 $cco_slib_common_trailer &
212 done
213
214 for f in $libglsl_cxx_files
215 do
216 libglsl_cxx_obj_dir=$(dirname $f)
217 libglsl_cxx_obj_dir=$build_dir/${libglsl_cxx_obj_dir#*/src/}
218 mkdir -p $libglsl_cxx_obj_dir
219
220 libglsl_cxx_obj="$libglsl_cxx_obj_dir/$(basename $f .cpp).o"
221 libglsl_a="$libglsl_a $libglsl_cxx_obj"
222
223 $cxxo_slib -o $libglsl_cxx_obj $f \
224 -I$build_dir/src/compiler/glsl \
225 -I$build_dir/src/compiler/nir \
226 -I$build_dir/src/compiler \
227 -I$src_dir/src/compiler/nir \
228 -I$src_dir/src/compiler/glsl \
229 -I$src_dir/src/compiler \
230 -I$src_dir/src/gallium/include \
231 -I$src_dir/src/mapi \
232 -I$src_dir/src/mesa \
233 -I$src_dir/src \
234 -I$src_dir/include \
235 \
236 $cxxo_slib_common_trailer &
237 done
238
239 wait
240
241 $ar $build_dir/libglsl.a $libglsl_a
242 printf "\t<--glsl compiler sub-components built\n"
File builders/mesa-vulkan-amd-sh-8a8fe0594c09e3262b971b95c82b4d6dd1ac541c added (mode: 120000) (index 0000000..59c3481)
1 mesa-vulkan-amd-sh-c93b72d0455f1487fa3fb65a6691ff44a2fbcd35
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/builder.sh deleted (index 7a17e8a..0000000)
1 git_commit=${pkg_name##*-}
2 slot=$git_commit
3 . $nyan_root/builders/mesa-vulkan/builder.sh
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/generators.sh deleted (index 1da1adc..0000000)
1 #===============================================================================
2 # removing the braindamaged qsort class
3 cp -f $src_dir/src/compiler/nir/nir.c $src_dir/src/compiler/nir/nir.BK.c
4 sed -i $src_dir/src/compiler/nir/nir.c \
5 -e '/u_qsort.h/ d' \
6 -e 's/util_qsort_r/qsort_r/' &
7 cp -f $src_dir/src/util/mesa_cache_db.c $src_dir/src/util/mesa_cache_db.BK.c
8 sed -i $src_dir/src/util/mesa_cache_db.c \
9 -e '/u_qsort.h/ d' \
10 -e 's/util_qsort_r/qsort_r/' &
11 #===============================================================================
12 # that compute radix sort implementation ... OMFG! Text book what NOT to do.
13 # blame: Konstantin Seurer
14 mkdir -p $build_dir/src/amd/vulkan
15 cp -f $src_dir/src/amd/vulkan/radv_meta.c $build_dir/src/amd/vulkan
16 cp -f $src_dir/src/amd/vulkan/radv_device.c $build_dir/src/amd/vulkan
17 patch -p 1 -i $src_dir/contrib/rt_was_sabotaged.patch
18 #===============================================================================
19 # vulkan util
20 export PYTHONPATH=$mako
21 $python3 $src_dir/src/vulkan/util/gen_enum_to_str.py \
22 --xml $vulkan_api_xml \
23 --outdir $build_dir
24
25 # our ndebug/release version
26 cp -f $src_dir/contrib/vk_enum_to_str.c $src_dir/contrib/vk_enum_to_str.h \
27 $build_dir
28 mkdir -p $build_dir/vulkan/util
29 mv $build_dir/vk_enum_defines.h $build_dir/vulkan/util &
30
31 $python3 $src_dir/src/vulkan/util/vk_dispatch_table_gen.py \
32 --xml $vulkan_api_xml \
33 --out-c vk_dispatch_table.c \
34 --out-h $build_dir/vulkan/util/vk_dispatch_table.h &
35 $python3 $src_dir/src/vulkan/util/vk_extensions_gen.py \
36 --xml $vulkan_api_xml \
37 --out-c vk_extensions.c \
38 --out-h vk_extensions.h &
39
40 $python3 $src_dir/src/compiler/nir/nir_builder_opcodes_h.py \
41 >$build_dir/nir_builder_opcodes.h &
42
43 $python3 $src_dir/src/compiler/nir/nir_opcodes_h.py \
44 >$build_dir/nir_opcodes.h &
45
46 $python3 $src_dir/src/compiler/nir/nir_intrinsics_h.py \
47 --outdir $build_dir &
48
49 $python3 $src_dir/src/compiler/nir/nir_intrinsics_indices_h.py \
50 --outdir $build_dir &
51 unset PYTHONPATH
52 #===============================================================================
53 # vulkan runtime
54 export PYTHONPATH=$mako
55 $python3 $src_dir/src/vulkan/util/vk_entrypoints_gen.py \
56 --xml $vulkan_api_xml \
57 --proto --weak \
58 --out-h vk_common_entrypoints.h \
59 --out-c vk_common_entrypoints.c \
60 --prefix vk_common &
61 $python3 $src_dir/src/vulkan/util/vk_entrypoints_gen.py \
62 --xml $vulkan_api_xml \
63 --proto --weak \
64 --out-h vk_cmd_enqueue_entrypoints.h \
65 --out-c vk_cmd_enqueue_entrypoints.c \
66 --prefix vk_cmd_enqueue &
67 $python3 $src_dir/src/vulkan/util/vk_cmd_queue_gen.py \
68 --xml $vulkan_api_xml \
69 --out-h vk_cmd_queue.h \
70 --out-c vk_cmd_queue.c &
71 $python3 $src_dir/src/vulkan/util/vk_dispatch_trampolines_gen.py \
72 --xml $vulkan_api_xml \
73 --out-h vk_dispatch_trampolines.h \
74 --out-c vk_dispatch_trampolines.c &
75 $python3 $src_dir/src/vulkan/runtime/vk_physical_device_features.py \
76 --xml $vulkan_api_xml \
77 --out-c vk_physical_device_features.c &
78 unset PYTHONPATH
79 #===============================================================================
80 # wsi x11 (Window System Interface)
81 export PYTHONPATH=$mako
82 $python3 $src_dir/src/vulkan/util/vk_entrypoints_gen.py \
83 --xml $vulkan_api_xml \
84 --proto --weak \
85 --out-h wsi_common_entrypoints.h \
86 --out-c wsi_common_entrypoints.c \
87 --prefix wsi &
88 unset PYTHONPATH
89 #===============================================================================
90 # amd common archive
91 $python3 $src_dir/src/amd/common/sid_tables.py \
92 $src_dir/src/amd/common/sid.h \
93 $src_dir/src/amd/registers/gfx6.json \
94 $src_dir/src/amd/registers/gfx7.json \
95 $src_dir/src/amd/registers/gfx8.json \
96 $src_dir/src/amd/registers/gfx81.json \
97 $src_dir/src/amd/registers/gfx9.json \
98 $src_dir/src/amd/registers/gfx10.json \
99 $src_dir/src/amd/registers/gfx10-rsrc.json \
100 $src_dir/src/amd/registers/gfx103.json \
101 $src_dir/src/amd/registers/gfx11.json \
102 $src_dir/src/amd/registers/gfx11-rsrc.json \
103 $src_dir/src/amd/registers/pkt3.json \
104 $src_dir/src/amd/registers/registers-manually-defined.json \
105 >$build_dir/sid_tables.h &
106 mkdir -p $build_dir/src/amd/common
107 $python3 $src_dir/src/amd/registers/makeregheader.py \
108 $src_dir/src/amd/registers/gfx6.json \
109 $src_dir/src/amd/registers/gfx7.json \
110 $src_dir/src/amd/registers/gfx8.json \
111 $src_dir/src/amd/registers/gfx81.json \
112 $src_dir/src/amd/registers/gfx9.json \
113 $src_dir/src/amd/registers/gfx10.json \
114 $src_dir/src/amd/registers/gfx10-rsrc.json \
115 $src_dir/src/amd/registers/gfx11.json \
116 $src_dir/src/amd/registers/gfx11-rsrc.json \
117 $src_dir/src/amd/registers/gfx103.json \
118 $src_dir/src/amd/registers/pkt3.json \
119 $src_dir/src/amd/registers/registers-manually-defined.json \
120 --sort address \
121 --guard AMDGFXREGS_H \
122 >$build_dir/src/amd/common/amdgfxregs.h &
123 #===============================================================================
124 # libcompiler required by libnir
125 export PYTHONPATH=$mako
126 $python3 $src_dir/src/compiler/glsl/ir_expression_operation.py enum \
127 >$build_dir/ir_expression_operation.h &
128 unset PYTHONPATH
129 #===============================================================================
130 # libnir
131 export PYTHONPATH=$mako
132 $python3 $src_dir/src/compiler/spirv/spirv_info_c.py \
133 $src_dir/src/compiler/spirv/spirv.core.grammar.json \
134 $build_dir/spirv_info.c &
135
136 $python3 $src_dir/src/compiler/spirv/vtn_gather_types_c.py \
137 $src_dir/src/compiler/spirv/spirv.core.grammar.json \
138 $build_dir/vtn_gather_types.c &
139
140 $python3 $src_dir/src/compiler/spirv/vtn_generator_ids_h.py \
141 $src_dir/src/compiler/spirv/spir-v.xml \
142 $build_dir/vtn_generator_ids.h &
143 # nir generated files
144 $python3 $src_dir/src/compiler/nir/nir_constant_expressions.py \
145 >$build_dir/nir_constant_expressions.c &
146
147 $python3 $src_dir/src/compiler/nir/nir_opt_algebraic.py \
148 >$build_dir/nir_opt_algebraic.c &
149
150 $python3 $src_dir/src/compiler/nir/nir_opcodes_c.py \
151 >$build_dir/nir_opcodes.c &
152
153 $python3 $src_dir/src/compiler/nir/nir_intrinsics_c.py \
154 --outdir $build_dir &
155 unset PYTHONPATH
156 #===============================================================================
157 # libaco
158 export PYTHONPATH=$mako
159 $python3 $src_dir/src/amd/compiler/aco_opcodes_h.py \
160 >$build_dir/aco_opcodes.h &
161 $python3 $src_dir/src/amd/compiler/aco_opcodes_cpp.py \
162 >$build_dir/aco_opcodes.cpp &
163 $python3 $src_dir/src/amd/compiler/aco_builder_h.py \
164 >$build_dir/aco_builder.h &
165 unset PYTHONPATH
166 #===============================================================================
167 # libmesautils
168 export PYTHONPATH=$mako
169 $python3 $src_dir/src/util/format_srgb.py \
170 >$build_dir/format_srgb.c
171
172 $python3 $src_dir/src/util/format/u_format_table.py \
173 $src_dir/src/util/format/u_format.csv \
174 >$build_dir/u_format_table.c
175
176 # wow, really?
177 mkdir -p $build_dir/src/util/format
178 $python3 $src_dir/src/util/format/u_format_table.py \
179 --header \
180 $src_dir/src/util/format/u_format.csv \
181 >$build_dir/src/util/format/u_format_pack.h
182 unset PYTHONPATH
183 #$src_dir/src/util/bitset_test.cpp wtf? rotten brain?
184 #===============================================================================
185 # amd vulkan
186 export PYTHONPATH=$mako
187 #------------------------------------------------------------------------------
188 # specific API to work around _still maintained at the time of writing _ game
189 # executable... this is the beginning of the end...
190 $python3 $src_dir/src/vulkan/util/vk_entrypoints_gen.py \
191 --xml $vulkan_api_xml \
192 --proto --weak \
193 --out-h radv_entrypoints.h \
194 --out-c radv_entrypoints.c \
195 --prefix radv \
196 --device-prefix sqtt \
197 --device-prefix metro_exodus &
198 #------------------------------------------------------------------------------
199 #$python3 $src_dir/src/amd/vulkan/radv_extensions.py \
200 # --xml $vulkan_api_xml \
201 # --out-c radv_extensions.c \
202 # --out-h radv_extensions.h &
203 #------------------------------------------------------------------------------
204 #$python3 $src_dir/src/amd/vulkan/vk_format_table.py \
205 # $src_dir/src/amd/vulkan/vk_format_layout.csv \
206 # >$build_dir/vk_format_table.c &
207 #------------------------------------------------------------------------------
208 $python3 $src_dir/src/amd/common/gfx10_format_table.py \
209 $src_dir/src/util/format/u_format.csv \
210 $src_dir/src/amd/registers/gfx10-rsrc.json \
211 $src_dir/src/amd/registers/gfx11-rsrc.json \
212 >$build_dir/gfx10_format_table.c &
213 #------------------------------------------------------------------------------
214 git_sha1=no_git_sha1_available
215 if test -d $src_dir/.git; then
216 git_sha1=$(git --git-dir=$src_dir/.git rev-parse HEAD)
217 fi
218 echo git_sha1=$git_sha1
219 echo "#define MESA_GIT_SHA1 \"$git_sha1\"" >$build_dir/git_sha1.h &
220 unset PYTHONPATH
221 #===============================================================================
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/rt_was_sabotaged.patch deleted (index 0e6cc3b..0000000)
1 diff --git a/src/amd/vulkan/radv_meta.c b/src/amd/vulkan/radv_meta.c
2 index e98d3d7463c..6111a876cbf 100644
3 --- a/src/amd/vulkan/radv_meta.c
4 +++ b/src/amd/vulkan/radv_meta.c
5 @@ -617,8 +617,11 @@ radv_device_init_meta(struct radv_device *device)
6 goto fail_fmask_expand;
7
8 if (radv_enable_rt(device->physical_device, false)) {
9 + /* XXX: insanely toxic compute based radix implementation for RT
10 + blame: Konstantin Seurer
11 + should be independent of glslang and in simple C
12 result = radv_device_init_accel_struct_build_state(device);
13 - if (result != VK_SUCCESS)
14 + if (result != VK_SUCCESS) */
15 goto fail_accel_struct_build;
16 }
17
18 @@ -647,7 +650,10 @@ fail_etc_decode:
19 fail_fmask_copy:
20 radv_device_finish_meta_fmask_copy_state(device);
21 fail_accel_struct_build:
22 - radv_device_finish_accel_struct_build_state(device);
23 + /* XXX: insanely toxic compute based radix implementation for RT
24 + blame: Konstantin Seurer
25 + should be independent of glslang and in simple C
26 + radv_device_finish_accel_struct_build_state(device); */
27 fail_fmask_expand:
28 radv_device_finish_meta_fmask_expand_state(device);
29 fail_resolve_fragment:
30 @@ -683,7 +689,10 @@ radv_device_finish_meta(struct radv_device *device)
31 {
32 radv_device_finish_dgc_prepare_state(device);
33 radv_device_finish_meta_etc_decode_state(device);
34 - radv_device_finish_accel_struct_build_state(device);
35 + /* XXX: insanely toxic compute based radix implementation for RT
36 + blame: Konstantin Seurer
37 + should be independent of glslang and in simple C
38 + radv_device_finish_accel_struct_build_state(device); */
39 radv_device_finish_meta_clear_state(device);
40 radv_device_finish_meta_resolve_state(device);
41 radv_device_finish_meta_blit_state(device);
42
43 diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
44 index d4c7db6ca1e..8a57b77ed0b 100644
45 --- a/src/amd/vulkan/radv_device.c
46 +++ b/src/amd/vulkan/radv_device.c
47 @@ -3410,9 +3410,6 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
48 } else if (radv_thread_trace_enabled()) {
49 vk_device_dispatch_table_from_entrypoints(&dispatch_table, &sqtt_device_entrypoints, true);
50 vk_device_dispatch_table_from_entrypoints(&dispatch_table, &radv_device_entrypoints, false);
51 - } else if (radv_rra_trace_enabled() && radv_enable_rt(physical_device, false)) {
52 - vk_device_dispatch_table_from_entrypoints(&dispatch_table, &rra_device_entrypoints, true);
53 - vk_device_dispatch_table_from_entrypoints(&dispatch_table, &radv_device_entrypoints, false);
54 } else {
55 vk_device_dispatch_table_from_entrypoints(&dispatch_table, &radv_device_entrypoints, true);
56 }
57 @@ -3696,10 +3693,6 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
58 }
59 }
60
61 - if (radv_rra_trace_enabled() && radv_enable_rt(physical_device, false)) {
62 - radv_rra_trace_init(device);
63 - }
64 -
65 *pDevice = radv_device_to_handle(device);
66 return VK_SUCCESS;
67
68 @@ -3798,8 +3791,6 @@ radv_DestroyDevice(VkDevice _device, const VkAllocationCallbacks *pAllocator)
69
70 radv_thread_trace_finish(device);
71
72 - radv_rra_trace_finish(_device, &device->rra_trace);
73 -
74 radv_spm_finish(device);
75
76 vk_device_finish(&device->vk);
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vk_enum_to_str.c deleted (index d764859..0000000)
1 #include <stdio.h>
2 #include <vulkan/vulkan_core.h>
3
4 const char * vk_Result_to_str(VkResult input)
5 {
6 static char buf[64];
7 sprintf(buf, "%ld", input);
8 return buf;
9 }
10 const char *vk_ObjectType_to_ObjectName(VkObjectType type)
11 {
12 static char buf[64];
13 sprintf(buf, "0x%lx", type);
14 return buf;
15 }
16 const char *vk_ObjectType_to_str(VkObjectType type)
17 {
18 static char buf[64];
19 sprintf(buf, "0x%lx", type);
20 return buf;
21 }
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vk_enum_to_str.h deleted (index 85e5bec..0000000)
1 #ifndef MESA_VK_ENUM_TO_STR_H
2 #define MESA_VK_ENUM_TO_STR_H
3 #include <vulkan/vulkan_core.h>
4 const char * vk_Result_to_str(VkResult input);
5 const char *vk_ObjectType_to_ObjectName(VkObjectType type);
6 const char *vk_ObjectType_to_str(VkObjectType type);
7 #endif
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/vtn_opencl.c deleted (index 68cb582..0000000)
1 /* removal of some bits of redhat/ibm/khronosGL crap */
2 #include "math.h"
3 #include "nir/nir_builtin_builder.h"
4 #include "vtn_private.h"
5 bool
6 vtn_handle_opencl_instruction(struct vtn_builder *b, SpvOp ext_opcode,
7 const uint32_t *w, unsigned count)
8 {
9 return false;
10 }
11 bool
12 vtn_handle_opencl_core_instruction(struct vtn_builder *b, SpvOp opcode,
13 const uint32_t *w, unsigned count)
14 {
15 return false;
16 }
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/contrib/x86_64_amdgpu_linux_gnu_vulkan_x11_drm_gcc.sh deleted (index 76f3410..0000000)
1 #!/bin/sh
2
3 # Canonical specialized build scripts for AMD hardware on gnu/linux distros.
4 # Look for "unset", you'll find the values you can override in $1 or
5 # $build_dir/local_conf.sh file, that in order to tune the script for your
6 # specific distro/needs.
7
8 # Usage, drop the script at the top of mesa source tree, create somewhere else
9 # a build directory, cd into it, and call from there this script.
10 #===============================================================================
11 # build dir and src dir
12 build_dir=$(readlink -f .)
13 echo "build_dir=$build_dir"
14 # we are in contrib
15 src_dir=$(readlink -f $(dirname $0)/..)
16 echo "src_dir=$src_dir"
17 #===============================================================================
18 # the current configur-able variables may be individually overridden with the
19 # content of the file in $1 or $build_dir/local_conf.sh. Look for "unset"
20 # in those scripts to find what you can override to tune the build.
21 if test -f "$1"; then
22 . "$1"
23 else
24 if test -f $build_dir/local_conf.sh; then
25 . $build_dir/local_conf.sh
26 fi
27 fi
28 #===============================================================================
29 if test "${sysconfdir-unset}" = unset; then
30 sysconfdir='/nyan/mesa-vulkan/x86_64_linux_glibc_amdgpu/etc'
31 fi
32
33 if test "${datadir-unset}" = unset; then
34 datadir='/nyan/mesa-vulkanax86_64_linux_glibc_amdgpu/share'
35 fi
36 #===============================================================================
37 # when we perform tasks in //, use "roughly" this maximum value
38 if test "${tasks_n_max-unset}" = unset; then
39 tasks_n_max=8
40 fi
41 #===============================================================================
42 if test "${version-unset}" = unset; then
43 if test -f $src_dir/VERSION; then
44 version=$(cat $src_dir/VERSION)
45 else
46 version=99.99.99-devel
47 fi
48 fi
49 #===============================================================================
50 # python/perl/ruby/javascript/lua/etc whatever...
51 if test "${python3-unset}" = unset; then
52 python3=/nyan/python3/current/bin/python3
53 fi
54
55 if test "${mako-unset}" = unset; then
56 mako=/nyan/mako/current
57 fi
58 #===============================================================================
59 # all symbols are tagged hidden by default, then only the public symbol
60 # will be tagged public explicitely in the code (with extensions to C)
61 # (for the gl gallium dri driver, it's a gnu ld version script)
62 if test "${cc-unset}" = unset; then
63 cc="gcc -std=c99 -pipe -fPIC -O2 -c -static-libgcc -fvisibility=hidden \
64 -fno-math-errno -fno-trapping-math \
65 -idirafter /nyan/glibc/current/include -idirafter /nyan/linux-headers/current/include"
66 fi
67
68 if test "${cxx-unset}" = unset; then
69 cxx="g++ -pipe -fPIC -O2 -c -static-libgcc -static-libstdc++ \
70 -fno-math-errno -fno-trapping-math \
71 -fno-rtti -fvisibility=hidden -idirafter /nyan/glibc/current/include -idirafter /nyan/linux-headers/current/include"
72 fi
73
74 if test "${ar-unset}" = unset; then
75 ar='ar rcs'
76 fi
77
78 # XXX:All definitions are mesa specific, except when explicitely defined
79 # otherwise
80 # _GNU_SOURCE:
81 # glibc specific to enable all glibc extension:
82 # - HAVE_DL_ITERATE_PHDR is a GNU extension
83 # NDEBUG:
84 # turn off the debug code paths
85 # HAVE_NO_AUTOCONF:
86 # enable some definitions which were generated only by the GNU autotools
87 # in include/c99_compat.h, many gcc builtins and posix.
88 # that some macros defined there are used without the inclusion of
89 # c99_compat.h, hence must be manually provided
90 # USE_GCC_ATOMIC_BUILTINS
91 # enable the use of gcc built-ins for atomic operations in
92 # src/util/u_atomic.h
93 # HAVE_DLADDR:
94 # glibc dladdr mandatory for disk cache in utils
95 # HAVE_STRTOF:
96 # glibc provides strtof function, used in src/util/strtod.c
97 # HAVE_TIMESPEC_GET:
98 # glibc provides the timespec get function, used in threading
99 # HAVE_STRTOD_L:
100 # glibc provides strtod_l function, used in src/util/strtod.c
101 # HAVE_DL_ITERATE_PHDR:
102 # glibc provides the GNU extension dl_interate_phdr support with the
103 # _GNU_SOURCE feature test macro, used only in src/util/build_id.[hc]
104 # HAVE_DLFCN_H:
105 # autoconf macro switch for dlfcn.h, used for shader disk cache
106 # timestamp
107 # MAJOR_IN_SYSMACROS=1, is now used in vulkan
108 # HAVE_LINUX_FUTEX_H:
109 # enable the linux futex syscall support code (using the glibc syscall
110 # function in many src/util headers
111 # HAVE_DRI3_MODIFIERS:
112 # mesa vulkan on x11 depends on dri3, this enable latest dri3 features
113 # ENABLE_SHADER_CACHE:
114 # do enable the shader cache in the src/util/disk_cache.[hc]
115 # HAVE_FUNC_ATTRIBUTE_CONST=1:
116 # enable gcc attribute in src/util/macros.h
117 # HAVE_FUNC_ATTRIBUTE_MALLOC=1:
118 # enable gcc attribute in src/util/macros.h
119 # HAVE_FUNC_ATTRIBUTE_PURE=1:
120 # enable gcc attribute in src/util/macros.h (and intel compiler)
121 # HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1:
122 # enable gcc attribute in src/util/macros.h
123 # HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1:
124 # enable gcc attribute in src/util/macros.h
125 # HAVE_FUNC_ATTRIBUTE_WEAK=1:
126 # enable gcc attribute for atomic in src/util.c and thread emulation
127 # HAVE_ENDIAN_H=1:
128 # autoconf macro for the endian.h header used in src/util/u_endian.h
129 # HAVE_FLOCK=1:
130 # autoconf macro for src/util/disk_cache_os.c
131 # VK_USE_PLATFORM_XCB_KHR:
132 # vulkan macro enabling x11/xcb platform support, linked to
133 # VK_USE_PLATFORM_XLIB_KHR in the code
134 # VK_USE_PLATFORM_XLIB_KHR:
135 # vulkan macro enabling x11/xlib platform support, linked to
136 # VK_USE_PLATFORM_XCB_KHR in the code
137 # VK_USE_PLATFORM_XLIB_XRANDR_EXT:
138 # xrandr stuff for vulkan
139 #
140 # XXX: removed macros which seem not to be related
141 # - HAVE_X11_PLATFORM: gallium video layer (vl), and egl
142 # - HAVE_SURFACELESS_PLATFORM: egl, egl dri2
143 # - HAVE_DRM_PLATFORM: egl, egl dri2
144 # - HAVE_DRI3: egl dri2, glx, gallium video layer
145 # - STDC_HEADERS=1 autoconf macro switch for standard C headers, used nowhere
146 # - HAVE_SYS_TYPES_H=1 autoconf macro switch for sys/types.h header, used
147 # nowhere
148 # - HAVE_SYS_STAT_H=1 autoconf macro switch for sys/stat.h, used nowhere
149 # - HAVE_STDLIB_H=1 autoconf macro switch for stdlib.h, used nowhere
150 # - HAVE_STRING_H=1 autoconf macro switch for string.h, used nowhere
151 # - HAVE_MEMORY_H=1 autoconf macro switch for memory.h, used nowhere
152 # - HAVE_STRINGS_H=1 autoconf macro switch for strings.h, used nowhere
153 # - HAVE_INTTYPES_H=1 autoconf macro switch for inttypes.h, used nowhere
154 # - HAVE_STDINT_H=1 autoconf macro switch for stdint.h, used in the
155 # old svga gallium driver
156 # - HAVE_UNISTD_H=1 autoconf macro switch for unistd.h, used in the intel
157 # program lexer
158 # - HAVE_FUNC_ATTRIBUTE_ALIAS=1, usually enable with the HAVE_NO_AUTOCONF
159 # but seems to be used directly in glx and glapi
160 # - HAVE_FUNC_ATTRIBUTE_VISIBILITY=1, enable the gcc visibilty attribute
161 # only in mapi entry headers
162 # - HAVE_CLOCK_GETTIME=1, autoconf macro switch, used nowhere
163 # - HAVE_PTHREAD_PRIO_INHERIT=1, m4 defined macro, used nowhere
164 # - USE_SSE41, enable ssee41 code paths in dri intel 965, and mesa vbo
165 # - USE_X86_64_ASM, enable x86_64 code paths in varios mesa parts, no vulkan
166 # parts
167 # - HAVE_SYS_SYSCTL_H autoconf macro for sys/sysctl.h header, used in the dri
168 # software rasterizer
169 # - HAVE_MKOSTEMP autoconf macro, used only in egl dri2 wayland platform
170 # - HAVE_MEMFD_CREATE: enable the linux memfd syscall support code (intel vulkan
171 # only) usingt the glibc syscall function
172
173 gcc_builtins_cppflags="\
174 -DHAVE___BUILTIN_BSWAP32=1 \
175 -DHAVE___BUILTIN_BSWAP64=1 \
176 -DHAVE___BUILTIN_CLZ=1 \
177 -DHAVE___BUILTIN_CLZLL=1 \
178 -DHAVE___BUILTIN_CTZ=1 \
179 -DHAVE___BUILTIN_EXPECT=1 \
180 -DHAVE___BUILTIN_FFS=1 \
181 -DHAVE___BUILTIN_FFSLL=1 \
182 -DHAVE___BUILTIN_POPCOUNT=1 \
183 -DHAVE___BUILTIN_POPCOUNTLL=1 \
184 -DHAVE___BUILTIN_UNREACHABLE=1 \
185 -DUSE_GCC_ATOMIC_BUILTINS=1 \
186 "
187
188 gcc_attributes_cppflags="\
189 -DHAVE_FUNC_ATTRIBUTE_CONST=1 \
190 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 \
191 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 \
192 -DHAVE_FUNC_ATTRIBUTE_PURE=1 \
193 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 \
194 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 \
195 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 \
196 \
197 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 \
198 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 \
199 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 \
200 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 \
201 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 \
202 -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 \
203 -DHAVE_FUNC_ATTRIBUTE_UINT128=1 \
204 "
205
206 linux_glibc_cppflags="\
207 -D_GNU_SOURCE=1 \
208 -DHAVE_PTHREAD \
209 -DHAVE_PTHREAD_SETAFFINITY \
210 -DHAVE_POSIX_MEMALIGN \
211 -DHAVE_STRTOF \
212 -DHAVE_TIMESPEC_GET \
213 -DHAVE_STRTOD_L \
214 -DHAVE_DLFCN_H \
215 -DHAVE_DL_ITERATE_PHDR \
216 -DHAVE_LINUX_FUTEX_H \
217 -DHAVE_ENDIAN_H=1 \
218 -DHAVE_PROGRAM_INVOCATION_NAME=1 \
219 -DHAVE_DLADDR=1 \
220 -DHAVE_FLOCK=1 \
221 -DMAJOR_IN_SYSMACROS=1 \
222 -DHAVE_TIMESPEC_GET=1 \
223 -DHAVE_STRUCT_TIMESPEC=1 \
224 "
225 mesa_cppflags="\
226 -DNDEBUG \
227 -DHAVE_DRI3_MODIFIERS \
228 -DENABLE_SHADER_CACHE \
229 -DHAVE_COMPRESSION \
230 "
231
232 mesa_vulkan_cppflags="\
233 -DVK_USE_PLATFORM_DISPLAY_KHR \
234 -DVK_USE_PLATFORM_XCB_KHR \
235 -DVK_USE_PLATFORM_XLIB_KHR \
236 -DVK_USE_PLATFORM_XLIB_XRANDR_EXT \
237 "
238
239 cppflags_common="\
240 $gcc_builtins_cppflags \
241 $gcc_attributes_cppflags \
242 $linux_glibc_cppflags \
243 $mesa_cppflags \
244 $mesa_vulkan_cppflags \
245 "
246 #===============================================================================
247 # expat
248 if test "${expat_cppflags-unset}" = unset; then
249 expat_cppflags='-I/nyan/expat/current/include'
250 fi
251 if test "${expat_archives-unset}" = unset; then
252 expat_archives=libexpat.a
253 fi
254 if test "${expat_ldflags-unset}" = unset; then
255 expat_ldflags="/nyan/expat/current/lib/$expat_archives"
256 fi
257 #===============================================================================
258 if test "${libxau_cppflags-unset}" = unset; then
259 libxau_cppflags='-I/nyan/libXau/current/include'
260 fi
261 #===============================================================================
262 if test "${libxcb_cppflags-unset}" = unset; then
263 libxcb_cppflags='-I/nyan/libxcb/current/include'
264 fi
265
266 if test "${libxcb_ldflags-unset}" = unset; then
267 libxcb_ldflags="\
268 /nyan/libxcb/current/lib/libxcb-xtest.so \
269 /nyan/libxcb/current/lib/libxcb-damage.so \
270 /nyan/libxcb/current/lib/libxcb-xfixes.so \
271 /nyan/libxcb/current/lib/libxcb-xvmc.so \
272 /nyan/libxcb/current/lib/libxcb-xinerama.so \
273 /nyan/libxcb/current/lib/libxcb-dri2.so \
274 /nyan/libxcb/current/lib/libxcb-composite.so \
275 /nyan/libxcb/current/lib/libxcb-dpms.so \
276 /nyan/libxcb/current/lib/libxcb-sync.so \
277 /nyan/libxcb/current/lib/libxcb-randr.so \
278 /nyan/libxcb/current/lib/libxcb-res.so \
279 /nyan/libxcb/current/lib/libxcb.so \
280 /nyan/libxcb/current/lib/libxcb-screensaver.so \
281 /nyan/libxcb/current/lib/libxcb-xkb.so \
282 /nyan/libxcb/current/lib/libxcb-xv.so \
283 /nyan/libxcb/current/lib/libxcb-render.so \
284 /nyan/libxcb/current/lib/libxcb-shm.so \
285 /nyan/libxcb/current/lib/libxcb-dri3.so \
286 /nyan/libxcb/current/lib/libxcb-record.so \
287 /nyan/libxcb/current/lib/libxcb-xinput.so \
288 /nyan/libxcb/current/lib/libxcb-present.so \
289 /nyan/libxcb/current/lib/libxcb-glx.so \
290 /nyan/libxcb/current/lib/libxcb-shape.so \
291 /nyan/libxcb/current/lib/libxcb-xf86dri.so \
292 "
293 fi
294 #===============================================================================
295 if test "${libxrender_cppflags-unset}" = unset; then
296 libxrender_cppflags='-I/nyan/libXrender/current/include'
297 fi
298
299 if test "${libxrender_ldflags-unset}" = unset; then
300 libxrender_ldflags="/nyan/libXrender/current/lib/libXrender.so"
301 fi
302 #===============================================================================
303 if test "${libxrandr_cppflags-unset}" = unset; then
304 libxrandr_cppflags='-I/nyan/libXrandr/current/include'
305 fi
306
307 if test "${libxrandr_ldflags-unset}" = unset; then
308 libxrandr_ldflags="/nyan/libXrandr/current/lib/libXrandr.so"
309 fi
310 #===============================================================================
311 if test "${libx11_cppflags-unset}" = unset; then
312 libx11_cppflags='-I/nyan/libX11/current/include'
313 fi
314
315 if test "${libx11_ldflags-unset}" = unset; then
316 libx11_ldflags="\
317 /nyan/libX11/current/lib/libX11.so \
318 /nyan/libX11/current/lib/libX11-xcb.so \
319 "
320 fi
321 #===============================================================================
322 if test "${libxshmfence_cppflags-unset}" = unset; then
323 libxshmfence_cppflags='-I/nyan/libxshmfence/current/include'
324 fi
325
326 if test "${libxshmfence_ldflags-unset}" = unset; then
327 libxshmfence_ldflags='/nyan/libxshmfence/current/lib/libxshmfence.so'
328 fi
329 #===============================================================================
330 if test "${xorgproto_cppflags-unset}" = unset; then
331 xorgproto_cppflags='-I/nyan/xorgproto/current/include'
332 fi
333 #===============================================================================
334 if test "${libdrm_cppflags-unset}" = unset; then
335 libdrm_cppflags='-I/nyan/drm/current/include/libdrm -I/nyan/drm/current/include -DHAVE_LIBDRM'
336 fi
337
338 if test "${libdrm_ldflags-unset}" = unset; then
339 libdrm_ldflags='/nyan/drm/current/lib/libdrm.so'
340 fi
341 #===============================================================================
342 if test "${libdrm_amdgpu_cppflags-unset}" = unset; then
343 libdrm_amdgpu_cppflags='-I/nyan/drm/current/include/libdrm'
344 fi
345
346 if test "${libdrm_amdgpu_ldflags-unset}" = unset; then
347 libdrm_amdgpu_ldflags='/nyan/drm/current/lib/libdrm_amdgpu.so'
348 fi
349 #===============================================================================
350 if test "${linux_drm_cppflags-unset}" = unset; then
351 linux_drm_cppflags='-I/nyan/glibc/current/include-linux/drm'
352 fi
353 #===============================================================================
354 if test "${libelf_cppflags-unset}" = unset; then
355 libelf_cppflags="-I/nyan/libelf/current/include/libelf \
356 -I/nyan/libelf/current/include"
357 fi
358
359 if test "${libelf_archives-unset}" = unset; then
360 libelf_archives=libelf.a
361 fi
362
363 if test "${libelf_ldflags-unset}" = unset; then
364 libelf_ldflags="/nyan/libelf/current/lib/$libelf_archives"
365 fi
366 #===============================================================================
367 if test "${zlib_cppflags-unset}" = unset; then
368 zlib_cppflags='-I/nyan/zlib/current/include -DHAVE_ZLIB'
369 fi
370
371 if test "${zlib_archives-unset}" = unset; then
372 zlib_archives=libz.a
373 fi
374
375 if test "${zlib_ldflags-unset}" = unset; then
376 zlib_ldflags="/nyan/zlib/current/lib/$zlib_archives"
377 fi
378 #===============================================================================
379 # build system compiler (the one used to compile the build system python), _not_
380 # the target compiler if you cross compile
381 if test "${build_cc-unset}" = unset; then
382 build_cc="gcc -pipe -O2 -c -I/nyan/glibc/current/include-linux"
383 fi
384 if test "${build_ccld-unset}" = unset; then
385 build_ccld="gcc -pipe -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib"
386 fi
387 #===============================================================================
388 # the kronos registry
389 vulkan_api_xml=$src_dir/src/vulkan/registry/vk.xml
390 #===============================================================================
391 # all code generation should happen here (no weird interlocked deps)
392 . $src_dir/contrib/generators.sh
393 wait
394 #===============================================================================
395 # object put in libvulkan_amd_common
396 $cc -o $build_dir/xmlconfig.o $src_dir/src/util/xmlconfig.c \
397 -DSYSCONFDIR=\"$sysconfdir\" \
398 -DDATADIR=\"$datadir\" \
399 \
400 -I$src_dir/src \
401 -I$src_dir/include \
402 $cppflags_common \
403 $expat_cppflags &
404 #===============================================================================
405 # vulkan util
406 cppflags="\
407 $cppflags_common \
408 -DPACKAGE_VERSION=\"$version\" \
409 -DVERSION=\"$version\" \
410 -I$build_dir/vulkan/util \
411 -I$build_dir \
412 -I$src_dir/src/vulkan/util \
413 -I$src_dir/src/vulkan/runtime \
414 -I$src_dir/src/gallium/include \
415 -I$src_dir/src/util \
416 -I$src_dir/src \
417 -I$src_dir/include \
418 $libxcb_cppflags \
419 $libx11_cppflags \
420 $libxrandr_cppflags \
421 $libxrender_cppflags \
422 $xorgproto_cppflags \
423 "
424 libvulkan_util_files="\
425 $src_dir/src/vulkan/util/vk_alloc.c \
426 $build_dir/vk_dispatch_table.c \
427 $build_dir/vk_enum_to_str.c \
428 $build_dir/vk_extensions.c \
429 $src_dir/src/vulkan/util/vk_format.c \
430 $src_dir/src/vulkan/util/vk_util.c \
431 "
432 for f in $libvulkan_util_files
433 do
434 libvulkan_util_obj=$build_dir/$(basename $f .c).o
435 libvulkan_util_a="$libvulkan_util_a $libvulkan_util_obj"
436
437 $cc $cppflags $f -o $libvulkan_util_obj &
438 done
439 #===============================================================================
440 # vulkan runtime
441 cppflags="\
442 $cppflags_common \
443 -DPACKAGE_VERSION=\"$version\" \
444 -DVERSION=\"$version\" \
445 -I$build_dir/vulkan/util \
446 -I$build_dir \
447 -I$src_dir/src/vulkan/util \
448 -I$src_dir/src/vulkan/runtime \
449 -I$src_dir/src/gallium/include \
450 -I$src_dir/src/compiler/nir \
451 -I$src_dir/src/util \
452 -I$src_dir/src \
453 -I$src_dir/include \
454 $libdrm_cppflags \
455 $libxcb_cppflags \
456 $libx11_cppflags \
457 $libxrandr_cppflags \
458 $libxrender_cppflags \
459 $xorgproto_cppflags \
460 "
461 libvulkan_runtime_files="\
462 $src_dir/src/vulkan/runtime/vk_buffer.c \
463 $src_dir/src/vulkan/runtime/vk_cmd_copy.c \
464 $src_dir/src/vulkan/runtime/vk_cmd_enqueue.c \
465 $build_dir/vk_cmd_enqueue_entrypoints.c \
466 $build_dir/vk_cmd_queue.c \
467 $src_dir/src/vulkan/runtime/vk_command_buffer.c \
468 $src_dir/src/vulkan/runtime/vk_command_pool.c \
469 $build_dir/vk_common_entrypoints.c \
470 $src_dir/src/vulkan/runtime/vk_debug_report.c \
471 $src_dir/src/vulkan/runtime/vk_debug_utils.c \
472 $src_dir/src/vulkan/runtime/vk_deferred_operation.c \
473 $src_dir/src/vulkan/runtime/vk_descriptor_set_layout.c \
474 $src_dir/src/vulkan/runtime/vk_descriptors.c \
475 $src_dir/src/vulkan/runtime/vk_device.c \
476 $src_dir/src/vulkan/runtime/vk_drm_syncobj.c \
477 $build_dir/vk_dispatch_trampolines.c \
478 $src_dir/src/vulkan/runtime/vk_fence.c \
479 $src_dir/src/vulkan/runtime/vk_framebuffer.c \
480 $src_dir/src/vulkan/runtime/vk_graphics_state.c \
481 $src_dir/src/vulkan/runtime/vk_image.c \
482 $src_dir/src/vulkan/runtime/vk_instance.c \
483 $src_dir/src/vulkan/runtime/vk_log.c \
484 $src_dir/src/vulkan/runtime/vk_nir.c \
485 $src_dir/src/vulkan/runtime/vk_object.c \
486 $src_dir/src/vulkan/runtime/vk_pipeline.c \
487 $src_dir/src/vulkan/runtime/vk_pipeline_layout.c \
488 $src_dir/src/vulkan/runtime/vk_pipeline_cache.c \
489 $src_dir/src/vulkan/runtime/vk_physical_device.c \
490 $build_dir/vk_physical_device_features.c \
491 $src_dir/src/vulkan/runtime/vk_queue.c \
492 $src_dir/src/vulkan/runtime/vk_render_pass.c \
493 $src_dir/src/vulkan/runtime/vk_sampler.c \
494 $src_dir/src/vulkan/runtime/vk_semaphore.c \
495 $src_dir/src/vulkan/runtime/vk_shader_module.c \
496 $src_dir/src/vulkan/runtime/vk_standard_sample_locations.c \
497 $src_dir/src/vulkan/runtime/vk_sync.c \
498 $src_dir/src/vulkan/runtime/vk_sync_binary.c \
499 $src_dir/src/vulkan/runtime/vk_sync_dummy.c \
500 $src_dir/src/vulkan/runtime/vk_sync_timeline.c \
501 $src_dir/src/vulkan/runtime/vk_synchronization2.c \
502 "
503 for f in $libvulkan_runtime_files
504 do
505 libvulkan_runtime_obj=$build_dir/$(basename $f .c).o
506 libvulkan_runtime_a="$libvulkan_runtime_a $libvulkan_runtime_obj"
507
508 $cc $cppflags $f -o $libvulkan_runtime_obj &
509 done
510 #===============================================================================
511 # wsi x11 (Window System Interface)
512 cppflags="\
513 $cppflags_common \
514 -I$build_dir/vulkan/util \
515 -I$build_dir \
516 -I$src_dir/src \
517 -I$src_dir/src/vulkan/util \
518 -I$src_dir/src/vulkan/runtime \
519 -I$src_dir/src/gallium/include \
520 -I$src_dir/include \
521 -I$src_dir/include/drm-uapi \
522 $libxcb_cppflags \
523 $libx11_cppflags \
524 $libxrandr_cppflags \
525 $libxrender_cppflags \
526 $xorgproto_cppflags \
527 $libxshmfence_cppflags \
528 $libdrm_cppflags \
529 "
530 $cc $cppflags $src_dir/src/vulkan/wsi/wsi_common.c \
531 -o $build_dir/wsi_common.o &
532 $cc $cppflags $src_dir/src/vulkan/wsi/wsi_common_drm.c \
533 -o $build_dir/wsi_common_drm.o &
534 $cc $cppflags $src_dir/src/vulkan/wsi/wsi_common_x11.c \
535 -o $build_dir/wsi_common_x11.o &
536 $cc $cppflags $src_dir/src/vulkan/wsi/wsi_common_display.c \
537 -o $build_dir/wsi_common_display.o &
538 $cc $cppflags $build_dir/wsi_common_entrypoints.c \
539 -o $build_dir/wsi_common_entrypoints.o &
540 libvulkan_wsi_a="\
541 $build_dir/wsi_common.o \
542 $build_dir/wsi_common_drm.o \
543 $build_dir/wsi_common_x11.o \
544 $build_dir/wsi_common_display.o \
545 $build_dir/wsi_common_entrypoints.o \
546 "
547 #===============================================================================
548 # amd common archive
549 cppflags="\
550 $cppflags_common \
551 -I$build_dir \
552 -I$src_dir/src/gallium/auxiliary \
553 -I$src_dir/src/gallium/include \
554 -I$build_dir/src/amd/common \
555 -I$src_dir/src/amd/common \
556 -I$src_dir/src/util \
557 -I$build_dir/src/amd \
558 -I$src_dir/src/amd \
559 -I$src_dir/src/compiler/nir \
560 -I$src_dir/src/compiler \
561 -I$src_dir/src/mesa \
562 -I$src_dir/src \
563 -I$src_dir/include \
564 -I$src_dir/include/drm-uapi \
565 $libdrm_cppflags \
566 $libdrm_amdgpu_cppflags \
567 $linux_drm_cppflags \
568 $libelf_cppflags \
569 "
570 #$src_dir/src/amd/common/ac_surface_meta_address_test.c \
571 #$src_dir/src/amd/common/ac_surface_modifier_test.c \
572 libamd_common_c_files="\
573 $src_dir/src/amd/common/ac_surface.c \
574 $src_dir/src/amd/common/ac_binary.c \
575 $src_dir/src/amd/common/ac_debug.c \
576 $src_dir/src/amd/common/amd_family.c \
577 $src_dir/src/amd/common/ac_gpu_info.c \
578 $src_dir/src/amd/common/ac_msgpack.c \
579 $src_dir/src/amd/common/ac_nir.c \
580 $src_dir/src/amd/common/ac_nir_cull.c \
581 $src_dir/src/amd/common/ac_nir_lower_esgs_io_to_mem.c \
582 $src_dir/src/amd/common/ac_nir_lower_global_access.c \
583 $src_dir/src/amd/common/ac_nir_lower_ngg.c \
584 $src_dir/src/amd/common/ac_nir_lower_resinfo.c \
585 $src_dir/src/amd/common/ac_nir_lower_taskmesh_io_to_mem.c \
586 $src_dir/src/amd/common/ac_nir_lower_tess_io_to_mem.c \
587 $src_dir/src/amd/common/ac_nir_opt_outputs.c \
588 $src_dir/src/amd/common/ac_perfcounter.c \
589 $src_dir/src/amd/common/ac_shader_args.c \
590 $src_dir/src/amd/common/ac_shader_util.c \
591 $src_dir/src/amd/common/ac_shadowed_regs.c \
592 $src_dir/src/amd/common/ac_rgp.c \
593 $src_dir/src/amd/common/ac_rgp_elf_object_pack.c \
594 $src_dir/src/amd/common/ac_rtld.c \
595 $src_dir/src/amd/common/ac_spm.c \
596 $src_dir/src/amd/common/ac_sqtt.c \
597 "
598 for f in $libamd_common_c_files
599 do
600 libamd_common_c_obj=$build_dir/$(basename $f .c).o
601 libamd_common_a="$libamd_common_a $libamd_common_c_obj"
602
603 $cc $cppflags $f -o $libamd_common_c_obj &
604 done
605 #===============================================================================
606 # addrlib (similar c++ pile of cr*p than llvm, everything c++ is anyway)
607 cppflags="\
608 $cppflags_common \
609 -DLITTLEENDIAN_CPU \
610 -I$src_dir/src/amd/addrlib/inc/chip/gfx11 \
611 -I$src_dir/src/amd/addrlib/inc/chip/gfx10 \
612 -I$src_dir/src/amd/addrlib/inc/chip/gfx9 \
613 -I$src_dir/src/amd/addrlib/inc/chip/r800 \
614 -I$src_dir/src/amd/addrlib/inc \
615 -I$src_dir/src/amd/addrlib/src/core \
616 -I$src_dir/src/amd/addrlib/src/chip/gfx11 \
617 -I$src_dir/src/amd/addrlib/src/chip/gfx10 \
618 -I$src_dir/src/amd/addrlib/src/chip/gfx9 \
619 -I$src_dir/src/amd/addrlib/src/chip/r800 \
620 -I$src_dir/src/amd/addrlib/src \
621 -I$src_dir/src \
622 -I$src_dir/include \
623 "
624 libamdgpu_addrlib_files="\
625 $src_dir/src/amd/addrlib/src/addrinterface.cpp \
626 $src_dir/src/amd/addrlib/src/core/addrelemlib.cpp \
627 $src_dir/src/amd/addrlib/src/core/addrlib.cpp \
628 $src_dir/src/amd/addrlib/src/core/addrlib1.cpp \
629 $src_dir/src/amd/addrlib/src/core/addrlib2.cpp \
630 $src_dir/src/amd/addrlib/src/core/addrobject.cpp \
631 $src_dir/src/amd/addrlib/src/core/coord.cpp \
632 $src_dir/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp \
633 $src_dir/src/amd/addrlib/src/gfx11/gfx11addrlib.cpp \
634 $src_dir/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp \
635 $src_dir/src/amd/addrlib/src/r800/ciaddrlib.cpp \
636 $src_dir/src/amd/addrlib/src/r800/egbaddrlib.cpp \
637 $src_dir/src/amd/addrlib/src/r800/siaddrlib.cpp \
638 "
639 for f in $libamdgpu_addrlib_files
640 do
641 libamdgpu_addrlib_obj=$build_dir/$(basename $f .c).o
642 libamdgpu_addrlib_a="$libamdgpu_addrlib_a $libamdgpu_addrlib_obj"
643
644 $cxx $cppflags $f -o $libamdgpu_addrlib_obj &
645 done
646 #===============================================================================
647 # libcompiler required by libnir
648 cppflags="\
649 $cppflags_common \
650 -I$build_dir \
651 -I$src_dir/src/gallium/auxiliary \
652 -I$src_dir/src/gallium/include \
653 -I$src_dir/src/mesa \
654 -I$src_dir/src \
655 -I$src_dir/include \
656 "
657 $cxx $cppflags $src_dir/src/compiler/glsl_types.cpp \
658 -o $build_dir/glsl_types.o &
659 $cxx $cppflags $src_dir/src/compiler/nir_types.cpp \
660 -o $build_dir/nir_types.o &
661 $cc $cppflags $src_dir/src/compiler/shader_enums.c \
662 -o $build_dir/shader_enums.o &
663 libcompiler_a="\
664 $build_dir/glsl_types.o \
665 $build_dir/nir_types.o \
666 $build_dir/shader_enums.o \
667 "
668 #===============================================================================
669 # libnir
670 cppflags="\
671 $cppflags_common \
672 -I$build_dir \
673 -I$src_dir/src/compiler/spirv \
674 -I$src_dir/src/compiler/nir \
675 -I$src_dir/src/compiler \
676 -I$src_dir/src/gallium/include \
677 -I$src_dir/src/mesa \
678 -I$src_dir/src \
679 -I$src_dir/include \
680 "
681 libnir_files="\
682 $build_dir/spirv_info.c \
683 $build_dir/vtn_gather_types.c \
684 $build_dir/nir_intrinsics.c \
685 $build_dir/nir_opcodes.c \
686 $build_dir/nir_opt_algebraic.c \
687 $build_dir/nir_constant_expressions.c \
688 \
689 $src_dir/src/compiler/spirv/gl_spirv.c \
690 $src_dir/src/compiler/spirv/spirv_to_nir.c \
691 $src_dir/src/compiler/spirv/vtn_alu.c \
692 $src_dir/src/compiler/spirv/vtn_amd.c \
693 $src_dir/src/compiler/spirv/vtn_cfg.c \
694 $src_dir/src/compiler/spirv/vtn_glsl450.c \
695 $src_dir/contrib/vtn_opencl.c \
696 $src_dir/src/compiler/spirv/vtn_subgroup.c \
697 $src_dir/src/compiler/spirv/vtn_variables.c \
698 \
699 $src_dir/src/compiler/nir/nir.c \
700 $src_dir/src/compiler/nir/nir_builder.c \
701 $src_dir/src/compiler/nir/nir_builtin_builder.c \
702 $src_dir/src/compiler/nir/nir_clone.c \
703 $src_dir/src/compiler/nir/nir_control_flow.c \
704 $src_dir/src/compiler/nir/nir_convert_ycbcr.c \
705 $src_dir/src/compiler/nir/nir_deref.c \
706 $src_dir/src/compiler/nir/nir_divergence_analysis.c \
707 $src_dir/src/compiler/nir/nir_dominance.c \
708 $src_dir/src/compiler/nir/nir_from_ssa.c \
709 $src_dir/src/compiler/nir/nir_gather_info.c \
710 $src_dir/src/compiler/nir/nir_gather_ssa_types.c \
711 $src_dir/src/compiler/nir/nir_gather_xfb_info.c \
712 $src_dir/src/compiler/nir/nir_group_loads.c \
713 $src_dir/src/compiler/nir/nir_gs_count_vertices.c \
714 $src_dir/src/compiler/nir/nir_inline_functions.c \
715 $src_dir/src/compiler/nir/nir_inline_uniforms.c \
716 $src_dir/src/compiler/nir/nir_instr_set.c \
717 $src_dir/src/compiler/nir/nir_linking_helpers.c \
718 $src_dir/src/compiler/nir/nir_liveness.c \
719 $src_dir/src/compiler/nir/nir_loop_analyze.c \
720 $src_dir/src/compiler/nir/nir_lower_alpha_test.c \
721 $src_dir/src/compiler/nir/nir_lower_alu.c \
722 $src_dir/src/compiler/nir/nir_lower_alu_width.c \
723 $src_dir/src/compiler/nir/nir_lower_amul.c \
724 $src_dir/src/compiler/nir/nir_lower_atomics_to_ssbo.c \
725 $src_dir/src/compiler/nir/nir_lower_bitmap.c \
726 $src_dir/src/compiler/nir/nir_lower_bit_size.c \
727 $src_dir/src/compiler/nir/nir_lower_blend.c \
728 $src_dir/src/compiler/nir/nir_lower_bool_to_int32.c \
729 $src_dir/src/compiler/nir/nir_lower_bool_to_bitsize.c \
730 $src_dir/src/compiler/nir/nir_lower_clamp_color_outputs.c \
731 $src_dir/src/compiler/nir/nir_lower_cl_images.c \
732 $src_dir/src/compiler/nir/nir_lower_clip.c \
733 $src_dir/src/compiler/nir/nir_lower_clip_cull_distance_arrays.c \
734 $src_dir/src/compiler/nir/nir_lower_clip_disable.c \
735 $src_dir/src/compiler/nir/nir_lower_convert_alu_types.c \
736 $src_dir/src/compiler/nir/nir_lower_const_arrays_to_uniforms.c \
737 $src_dir/src/compiler/nir/nir_lower_discard_if.c \
738 $src_dir/src/compiler/nir/nir_lower_discard_or_demote.c \
739 $src_dir/src/compiler/nir/nir_lower_double_ops.c \
740 $src_dir/src/compiler/nir/nir_lower_drawpixels.c \
741 $src_dir/src/compiler/nir/nir_lower_fb_read.c \
742 $src_dir/src/compiler/nir/nir_lower_flatshade.c \
743 $src_dir/src/compiler/nir/nir_lower_flrp.c \
744 $src_dir/src/compiler/nir/nir_lower_fp16_conv.c \
745 $src_dir/src/compiler/nir/nir_lower_fragcolor.c \
746 $src_dir/src/compiler/nir/nir_lower_fragcoord_wtrans.c \
747 $src_dir/src/compiler/nir/nir_lower_frexp.c \
748 $src_dir/src/compiler/nir/nir_lower_global_vars_to_local.c \
749 $src_dir/src/compiler/nir/nir_lower_gs_intrinsics.c \
750 $src_dir/src/compiler/nir/nir_lower_goto_ifs.c \
751 $src_dir/src/compiler/nir/nir_lower_idiv.c \
752 $src_dir/src/compiler/nir/nir_lower_image.c \
753 $src_dir/src/compiler/nir/nir_lower_indirect_derefs.c \
754 $src_dir/src/compiler/nir/nir_lower_input_attachments.c \
755 $src_dir/src/compiler/nir/nir_lower_int64.c \
756 $src_dir/src/compiler/nir/nir_lower_int_to_float.c \
757 $src_dir/src/compiler/nir/nir_lower_interpolation.c \
758 $src_dir/src/compiler/nir/nir_lower_io.c \
759 $src_dir/src/compiler/nir/nir_lower_io_arrays_to_elements.c \
760 $src_dir/src/compiler/nir/nir_lower_io_to_temporaries.c \
761 $src_dir/src/compiler/nir/nir_lower_io_to_scalar.c \
762 $src_dir/src/compiler/nir/nir_lower_io_to_vector.c \
763 $src_dir/src/compiler/nir/nir_lower_is_helper_invocation.c \
764 $src_dir/src/compiler/nir/nir_lower_load_const_to_scalar.c \
765 $src_dir/src/compiler/nir/nir_lower_locals_to_regs.c \
766 $src_dir/src/compiler/nir/nir_lower_mediump.c \
767 $src_dir/src/compiler/nir/nir_lower_memcpy.c \
768 $src_dir/src/compiler/nir/nir_lower_memory_model.c \
769 $src_dir/src/compiler/nir/nir_lower_multiview.c \
770 $src_dir/src/compiler/nir/nir_lower_non_uniform_access.c \
771 $src_dir/src/compiler/nir/nir_lower_packing.c \
772 $src_dir/src/compiler/nir/nir_lower_passthrough_edgeflags.c \
773 $src_dir/src/compiler/nir/nir_lower_patch_vertices.c \
774 $src_dir/src/compiler/nir/nir_lower_phis_to_scalar.c \
775 $src_dir/src/compiler/nir/nir_lower_point_size.c \
776 $src_dir/src/compiler/nir/nir_lower_point_size_mov.c \
777 $src_dir/src/compiler/nir/nir_lower_point_smooth.c \
778 $src_dir/src/compiler/nir/nir_lower_poly_line_smooth.c \
779 $src_dir/src/compiler/nir/nir_lower_pntc_ytransform.c \
780 $src_dir/src/compiler/nir/nir_lower_readonly_images_to_tex.c \
781 $src_dir/src/compiler/nir/nir_lower_regs_to_ssa.c \
782 $src_dir/src/compiler/nir/nir_lower_returns.c \
783 $src_dir/src/compiler/nir/nir_lower_samplers.c \
784 $src_dir/src/compiler/nir/nir_lower_scratch.c \
785 $src_dir/src/compiler/nir/nir_lower_shader_calls.c \
786 $src_dir/src/compiler/nir/nir_lower_single_sampled.c \
787 $src_dir/src/compiler/nir/nir_lower_subgroups.c \
788 $src_dir/src/compiler/nir/nir_lower_sysvals_to_varyings.c \
789 $src_dir/src/compiler/nir/nir_lower_system_values.c \
790 $src_dir/src/compiler/nir/nir_lower_task_shader.c \
791 $src_dir/src/compiler/nir/nir_lower_tex.c \
792 $src_dir/src/compiler/nir/nir_lower_tex_shadow.c \
793 $src_dir/src/compiler/nir/nir_lower_texcoord_replace.c \
794 $src_dir/src/compiler/nir/nir_lower_to_source_mods.c \
795 $src_dir/src/compiler/nir/nir_lower_two_sided_color.c \
796 $src_dir/src/compiler/nir/nir_lower_ubo_vec4.c \
797 $src_dir/src/compiler/nir/nir_lower_undef_to_zero.c \
798 $src_dir/src/compiler/nir/nir_lower_vars_to_ssa.c \
799 $src_dir/src/compiler/nir/nir_lower_var_copies.c \
800 $src_dir/src/compiler/nir/nir_lower_variable_initializers.c \
801 $src_dir/src/compiler/nir/nir_lower_vec_to_movs.c \
802 $src_dir/src/compiler/nir/nir_lower_vec3_to_vec4.c \
803 $src_dir/src/compiler/nir/nir_lower_viewport_transform.c \
804 $src_dir/src/compiler/nir/nir_lower_wpos_center.c \
805 $src_dir/src/compiler/nir/nir_lower_wpos_ytransform.c \
806 $src_dir/src/compiler/nir/nir_lower_wrmasks.c \
807 $src_dir/src/compiler/nir/nir_metadata.c \
808 $src_dir/src/compiler/nir/nir_move_vec_src_uses_to_dest.c \
809 $src_dir/src/compiler/nir/nir_normalize_cubemap_coords.c \
810 $src_dir/src/compiler/nir/nir_opt_access.c \
811 $src_dir/src/compiler/nir/nir_opt_barriers.c \
812 $src_dir/src/compiler/nir/nir_opt_combine_stores.c \
813 $src_dir/src/compiler/nir/nir_opt_comparison_pre.c \
814 $src_dir/src/compiler/nir/nir_opt_conditional_discard.c \
815 $src_dir/src/compiler/nir/nir_opt_constant_folding.c \
816 $src_dir/src/compiler/nir/nir_opt_copy_prop_vars.c \
817 $src_dir/src/compiler/nir/nir_opt_copy_propagate.c \
818 $src_dir/src/compiler/nir/nir_opt_cse.c \
819 $src_dir/src/compiler/nir/nir_opt_dce.c \
820 $src_dir/src/compiler/nir/nir_opt_dead_cf.c \
821 $src_dir/src/compiler/nir/nir_opt_dead_write_vars.c \
822 $src_dir/src/compiler/nir/nir_opt_find_array_copies.c \
823 $src_dir/src/compiler/nir/nir_opt_fragdepth.c \
824 $src_dir/src/compiler/nir/nir_opt_gcm.c \
825 $src_dir/src/compiler/nir/nir_opt_idiv_const.c \
826 $src_dir/src/compiler/nir/nir_opt_if.c \
827 $src_dir/src/compiler/nir/nir_opt_intrinsics.c \
828 $src_dir/src/compiler/nir/nir_opt_large_constants.c \
829 $src_dir/src/compiler/nir/nir_opt_load_store_vectorize.c \
830 $src_dir/src/compiler/nir/nir_opt_loop_unroll.c \
831 $src_dir/src/compiler/nir/nir_opt_memcpy.c \
832 $src_dir/src/compiler/nir/nir_opt_move.c \
833 $src_dir/src/compiler/nir/nir_opt_move_discards_to_top.c \
834 $src_dir/src/compiler/nir/nir_opt_non_uniform_access.c \
835 $src_dir/src/compiler/nir/nir_opt_offsets.c \
836 $src_dir/src/compiler/nir/nir_opt_phi_precision.c \
837 $src_dir/src/compiler/nir/nir_opt_peephole_select.c \
838 $src_dir/src/compiler/nir/nir_opt_preamble.c \
839 $src_dir/src/compiler/nir/nir_opt_ray_queries.c \
840 $src_dir/src/compiler/nir/nir_opt_remove_phis.c \
841 $src_dir/src/compiler/nir/nir_opt_shrink_stores.c \
842 $src_dir/src/compiler/nir/nir_opt_shrink_vectors.c \
843 $src_dir/src/compiler/nir/nir_opt_sink.c \
844 $src_dir/src/compiler/nir/nir_opt_trivial_continues.c \
845 $src_dir/src/compiler/nir/nir_opt_undef.c \
846 $src_dir/src/compiler/nir/nir_opt_uniform_atomics.c \
847 $src_dir/src/compiler/nir/nir_opt_vectorize.c \
848 $src_dir/src/compiler/nir/nir_phi_builder.c \
849 $src_dir/src/compiler/nir/nir_print.c \
850 $src_dir/src/compiler/nir/nir_propagate_invariant.c \
851 $src_dir/src/compiler/nir/nir_range_analysis.c \
852 $src_dir/src/compiler/nir/nir_remove_dead_variables.c \
853 $src_dir/src/compiler/nir/nir_repair_ssa.c \
854 $src_dir/src/compiler/nir/nir_scale_fdiv.c \
855 $src_dir/src/compiler/nir/nir_schedule.c \
856 $src_dir/src/compiler/nir/nir_search.c \
857 $src_dir/src/compiler/nir/nir_serialize.c \
858 $src_dir/src/compiler/nir/nir_split_64bit_vec3_and_vec4.c \
859 $src_dir/src/compiler/nir/nir_split_per_member_structs.c \
860 $src_dir/src/compiler/nir/nir_split_var_copies.c \
861 $src_dir/src/compiler/nir/nir_split_vars.c \
862 $src_dir/src/compiler/nir/nir_sweep.c \
863 $src_dir/src/compiler/nir/nir_to_lcssa.c \
864 $src_dir/src/compiler/nir/nir_validate.c \
865 $src_dir/src/compiler/nir/nir_worklist.c \
866 "
867 for f in $libnir_files
868 do
869 libnir_obj=$build_dir/$(basename $f .c).o
870 libnir_a="$libnir_a $libnir_obj"
871
872 $cc $cppflags $f -o $libnir_obj &
873 done
874 #===============================================================================
875 # libaco
876 # we don't use cppflags_common for aco because the code is not yet
877 # compatible
878 cppflags="\
879 $gcc_builtins_cppflags \
880 $gcc_attributes_cppflags \
881 $linux_glibc_cppflags \
882 $mesa_cppflags \
883 -I$build_dir \
884 -I$src_dir/src/amd/compiler \
885 -I$src_dir/src/amd/vulkan \
886 -I$build_dir/src/amd/common \
887 -I$src_dir/src/amd/common \
888 -I$build_dir/src/amd \
889 -I$src_dir/src/amd \
890 -I$src_dir/src/compiler/nir \
891 -I$src_dir/src/compiler \
892 -I$src_dir/src/mesa \
893 -I$src_dir/src/gallium/include \
894 -I$src_dir/src \
895 -I$src_dir/include \
896 "
897 libaco_files="\
898 $src_dir/src/amd/compiler/aco_form_hard_clauses.cpp \
899 $src_dir/src/amd/compiler/aco_dead_code_analysis.cpp \
900 $src_dir/src/amd/compiler/aco_dominance.cpp \
901 $src_dir/src/amd/compiler/aco_instruction_selection.cpp \
902 $src_dir/src/amd/compiler/aco_instruction_selection_setup.cpp \
903 $src_dir/src/amd/compiler/aco_interface.cpp \
904 $src_dir/src/amd/compiler/aco_assembler.cpp \
905 $src_dir/src/amd/compiler/aco_insert_exec_mask.cpp \
906 $src_dir/src/amd/compiler/aco_insert_NOPs.cpp \
907 $src_dir/src/amd/compiler/aco_insert_waitcnt.cpp \
908 $src_dir/src/amd/compiler/aco_ir.cpp \
909 $src_dir/src/amd/compiler/aco_reduce_assign.cpp \
910 $src_dir/src/amd/compiler/aco_reindex_ssa.cpp \
911 $src_dir/src/amd/compiler/aco_register_allocation.cpp \
912 $src_dir/src/amd/compiler/aco_live_var_analysis.cpp \
913 $src_dir/src/amd/compiler/aco_lower_phis.cpp \
914 $src_dir/src/amd/compiler/aco_lower_to_cssa.cpp \
915 $src_dir/src/amd/compiler/aco_lower_to_hw_instr.cpp \
916 $build_dir/aco_opcodes.cpp \
917 $src_dir/src/amd/compiler/aco_optimizer.cpp \
918 $src_dir/src/amd/compiler/aco_optimizer_postRA.cpp \
919 $src_dir/src/amd/compiler/aco_opt_value_numbering.cpp \
920 $src_dir/src/amd/compiler/aco_print_asm.cpp \
921 $src_dir/src/amd/compiler/aco_print_ir.cpp \
922 $src_dir/src/amd/compiler/aco_scheduler.cpp \
923 $src_dir/src/amd/compiler/aco_ssa_elimination.cpp \
924 $src_dir/src/amd/compiler/aco_spill.cpp \
925 $src_dir/src/amd/compiler/aco_statistics.cpp \
926 $src_dir/src/amd/compiler/aco_validate.cpp \
927 "
928 for f in $libaco_files
929 do
930 libaco_obj=$build_dir/$(basename $f .c).o
931 libaco_a="$libaco_a $libaco_obj"
932
933 $cxx $cppflags $f -o $libaco_obj &
934 done
935 #===============================================================================
936 # libmesautils
937 cppflags="\
938 $cppflags_common \
939 -I$build_dir/src/util/format \
940 -I$build_dir/src \
941 -I$build_dir \
942 -I$src_dir/src/gallium/auxiliary \
943 -I$src_dir/src/gallium/include \
944 -I$src_dir/src/mesa \
945 -I$src_dir/src/util/format \
946 -I$src_dir/src/util \
947 -I$src_dir/src \
948 -I$src_dir/include \
949 $zlib_cppflags \
950 "
951 libmesautil_files="\
952 $build_dir/format_srgb.c \
953 $build_dir/u_format_table.c \
954 $src_dir/src/util/anon_file.c \
955 $src_dir/src/util/bitscan.c \
956 $src_dir/src/util/blob.c \
957 $src_dir/src/util/build_id.c \
958 $src_dir/src/util/compress.c \
959 $src_dir/src/util/crc32.c \
960 $src_dir/src/util/dag.c \
961 $src_dir/src/util/debug.c \
962 $src_dir/src/util/disk_cache.c \
963 $src_dir/src/util/disk_cache_os.c \
964 $src_dir/src/util/double.c \
965 $src_dir/src/util/fast_idiv_by_const.c \
966 $src_dir/src/util/fossilize_db.c \
967 $src_dir/src/util/half_float.c \
968 $src_dir/src/util/hash_table.c \
969 $src_dir/src/util/log.c \
970 $src_dir/src/util/mesa-sha1.c \
971 $src_dir/src/util/mesa_cache_db.c \
972 $src_dir/src/util/memstream.c \
973 $src_dir/src/util/os_file.c \
974 $src_dir/src/util/os_memory_fd.c \
975 $src_dir/src/util/os_misc.c \
976 $src_dir/src/util/os_socket.c \
977 $src_dir/src/util/os_time.c \
978 $src_dir/src/util/sha1/sha1.c \
979 $src_dir/src/util/ralloc.c \
980 $src_dir/src/util/rand_xor.c \
981 $src_dir/src/util/rb_tree.c \
982 $src_dir/src/util/register_allocate.c \
983 $src_dir/src/util/rgtc.c \
984 $src_dir/src/util/set.c \
985 $src_dir/src/util/simple_mtx.c \
986 $src_dir/src/util/slab.c \
987 $src_dir/src/util/softfloat.c \
988 $src_dir/src/util/sparse_array.c \
989 $src_dir/src/util/string_buffer.c \
990 $src_dir/src/util/strtod.c \
991 $src_dir/src/util/u_atomic.c \
992 $src_dir/src/util/u_call_once.c \
993 $src_dir/src/util/u_cpu_detect.c \
994 $src_dir/src/util/u_debug.c \
995 $src_dir/src/util/u_debug_describe.c \
996 $src_dir/src/util/u_debug_refcnt.c \
997 $src_dir/src/util/u_debug_stack.c \
998 $src_dir/src/util/u_debug_symbol.c \
999 $src_dir/src/util/u_dl.c \
1000 $src_dir/src/util/u_hash_table.c \
1001 $src_dir/src/util/u_printf.c \
1002 $src_dir/src/util/format/u_format.c \
1003 $src_dir/src/util/format/u_format_bptc.c \
1004 $src_dir/src/util/format/u_format_etc.c \
1005 $src_dir/src/util/format/u_format_fxt1.c \
1006 $src_dir/src/util/format/u_format_latc.c \
1007 $src_dir/src/util/format/u_format_other.c \
1008 $src_dir/src/util/format/u_format_rgtc.c \
1009 $src_dir/src/util/format/u_format_s3tc.c \
1010 $src_dir/src/util/format/u_format_tests.c \
1011 $src_dir/src/util/format/u_format_yuv.c \
1012 $src_dir/src/util/format/u_format_zs.c \
1013 $src_dir/src/util/u_idalloc.c \
1014 $src_dir/src/util/u_math.c \
1015 $src_dir/src/util/u_mm.c \
1016 $src_dir/src/util/u_process.c \
1017 $src_dir/src/util/u_queue.c \
1018 $src_dir/src/util/u_vector.c \
1019 $src_dir/src/util/u_worklist.c \
1020 $src_dir/src/util/vma.c \
1021 \
1022 $src_dir/src/c11/impl/time.c \
1023 $src_dir/src/c11/impl/threads_posix.c \
1024 "
1025 for f in $libmesautil_files
1026 do
1027 libmesautil_obj=$build_dir/$(basename $f .c).o
1028 libmesautil_a="$libmesautil_a $libmesautil_obj"
1029
1030 $cc $cppflags $f -o $libmesautil_obj &
1031 done
1032 #===============================================================================
1033 # amd vulkan
1034 cppflags="\
1035 $cppflags_common \
1036 -DPACKAGE_VERSION=\"$version\" \
1037 -I$build_dir/vulkan/util \
1038 -I$build_dir/src/util \
1039 -I$build_dir \
1040 -I$src_dir/src/amd/compiler \
1041 -I$build_dir/src/amd/common \
1042 -I$src_dir/src/amd/common \
1043 -I$src_dir/src/amd/vulkan \
1044 -I$src_dir/src/amd \
1045 -I$src_dir/src/gallium/auxiliary \
1046 -I$src_dir/src/gallium/include \
1047 -I$src_dir/src/vulkan/util \
1048 -I$src_dir/src/vulkan/runtime \
1049 -I$src_dir/src/vulkan/wsi \
1050 -I$src_dir/src/util \
1051 -I$src_dir/src/mesa \
1052 -I$src_dir/src/compiler/nir \
1053 -I$src_dir/src/compiler \
1054 -I$src_dir/src \
1055 -I$src_dir/include \
1056 $libdrm_cppflags \
1057 $libdrm_amdgpu_cppflags \
1058 $libx11_cppflags \
1059 $libxrandr_cppflags \
1060 $libxrender_cppflags \
1061 $libxcb_cppflags \
1062 $xorgproto_cppflags \
1063 $libxshmfence_cppflags \
1064 "
1065 #$build_dir/radv_extensions.c
1066 #$build_dir/vk_format_table.c
1067 # XXX: remove rt for now
1068 #$src_dir/src/amd/vulkan/radv_acceleration_structure.c
1069 libvulkan_amd_common_files="\
1070 $src_dir/src/amd/vulkan/radv_android.c \
1071 $src_dir/src/amd/vulkan/radv_cmd_buffer.c \
1072 $src_dir/src/amd/vulkan/radv_debug.c \
1073 $build_dir/src/amd/vulkan/radv_device.c \
1074 $src_dir/src/amd/vulkan/radv_device_generated_commands.c \
1075 $src_dir/src/amd/vulkan/radv_descriptor_set.c \
1076 $src_dir/src/amd/vulkan/radv_formats.c \
1077 $src_dir/src/amd/vulkan/radv_image.c \
1078 $build_dir/src/amd/vulkan/radv_meta.c \
1079 $src_dir/src/amd/vulkan/radv_meta_blit.c \
1080 $src_dir/src/amd/vulkan/radv_meta_blit2d.c \
1081 $src_dir/src/amd/vulkan/radv_meta_buffer.c \
1082 $src_dir/src/amd/vulkan/radv_meta_bufimage.c \
1083 $src_dir/src/amd/vulkan/radv_meta_clear.c \
1084 $src_dir/src/amd/vulkan/radv_meta_dcc_retile.c \
1085 $src_dir/src/amd/vulkan/radv_meta_copy.c \
1086 $src_dir/src/amd/vulkan/radv_meta_copy_vrs_htile.c \
1087 $src_dir/src/amd/vulkan/radv_meta_decompress.c \
1088 $src_dir/src/amd/vulkan/radv_meta_etc_decode.c \
1089 $src_dir/src/amd/vulkan/radv_meta_fast_clear.c \
1090 $src_dir/src/amd/vulkan/radv_meta_fmask_copy.c \
1091 $src_dir/src/amd/vulkan/radv_meta_fmask_expand.c \
1092 $src_dir/src/amd/vulkan/radv_meta_resolve.c \
1093 $src_dir/src/amd/vulkan/radv_meta_resolve_cs.c \
1094 $src_dir/src/amd/vulkan/radv_meta_resolve_fs.c \
1095 $src_dir/src/amd/vulkan/radv_nir_apply_pipeline_layout.c \
1096 $src_dir/src/amd/vulkan/radv_nir_lower_abi.c \
1097 $src_dir/src/amd/vulkan/radv_nir_lower_ycbcr_textures.c \
1098 $src_dir/src/amd/vulkan/radv_nir_lower_ray_queries.c \
1099 $src_dir/src/amd/vulkan/radv_pass.c \
1100 $src_dir/src/amd/vulkan/radv_perfcounter.c \
1101 $src_dir/src/amd/vulkan/radv_pipeline.c \
1102 $src_dir/src/amd/vulkan/radv_pipeline_cache.c \
1103 $src_dir/src/amd/vulkan/radv_pipeline_rt.c \
1104 $src_dir/src/amd/vulkan/radv_rt_common.c \
1105 $src_dir/src/amd/vulkan/radv_sdma_copy_image.c \
1106 $src_dir/src/amd/vulkan/radv_sqtt.c \
1107 $src_dir/src/amd/vulkan/radv_shader.c \
1108 $src_dir/src/amd/vulkan/radv_shader_args.c \
1109 $src_dir/src/amd/vulkan/radv_shader_info.c \
1110 $src_dir/src/amd/vulkan/radv_spm.c \
1111 $src_dir/src/amd/vulkan/radv_query.c \
1112 $src_dir/src/amd/vulkan/radv_wsi.c \
1113 $src_dir/src/amd/vulkan/si_cmd_buffer.c \
1114 \
1115 $build_dir/gfx10_format_table.c \
1116 \
1117 $build_dir/radv_entrypoints.c \
1118 \
1119 $src_dir/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c \
1120 $src_dir/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c \
1121 $src_dir/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c \
1122 $src_dir/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c \
1123 \
1124 $src_dir/src/amd/vulkan/winsys/null/radv_null_bo.c \
1125 $src_dir/src/amd/vulkan/winsys/null/radv_null_cs.c \
1126 $src_dir/src/amd/vulkan/winsys/null/radv_null_winsys.c \
1127 \
1128 $src_dir/src/amd/vulkan/layers/radv_sqtt_layer.c \
1129 $src_dir/src/amd/vulkan/layers/radv_metro_exodus.c \
1130 "
1131 for f in $libvulkan_amd_common_files
1132 do
1133 libvulkan_amd_common_obj=$build_dir/$(basename $f .c).o
1134 libvulkan_amd_common_a="$libvulkan_amd_common_a $libvulkan_amd_common_obj"
1135
1136 $cc $cppflags $f -o $libvulkan_amd_common_obj &
1137 done
1138 libvulkan_amd_common_a="\
1139 $libvulkan_amd_common_a \
1140 $build_dir/xmlconfig.o"
1141 #===============================================================================
1142 # create the radeon vulkan driver
1143 soname=libvulkan_radeon.so
1144
1145 # XXX:the attempt to generalize without kludge the link stage of real programs
1146 # build is near a total and complete failure
1147 if test "${driver_link_cmd-unset}" = unset ; then
1148 driver_link_cmd="g++ -o $soname -Wl,-soname=$soname \
1149 -shared -static-libgcc -static-libstdc++ \
1150 -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib -Wl,-rpath-link,/nyan/glibc/current/lib \
1151 -Wl,--no-undefined,--gc-sections,-Bsymbolic \
1152 -Wl,--whole-archive -Wl,--start-group \
1153 $libaco_a \
1154 $libvulkan_amd_common_a \
1155 $libvulkan_util_a \
1156 $libvulkan_runtime_a \
1157 $libvulkan_wsi_a \
1158 $libamd_common_a \
1159 $libamdgpu_addrlib_a \
1160 $libcompiler_a \
1161 $libnir_a \
1162 $libmesautil_a \
1163 -Wl,--end-group -Wl,--no-whole-archive \
1164 -Wl,--exclude-libs,$zlib_archives:$libelf_archives:libstdc++.a \
1165 $zlib_ldflags \
1166 $expat_ldflags \
1167 $libelf_ldflags \
1168 -Wl,--as-needed \
1169 $libdrm_ldflags \
1170 $libdrm_amdgpu_ldflags \
1171 $libx11_ldflags \
1172 $libxrandr_ldflags \
1173 $libxrender_ldflags \
1174 $libxcb_ldflags \
1175 $libxshmfence_ldflags \
1176 -lpthread \
1177 -ldl \
1178 -Wl,--no-as-needed"
1179 fi
1180 wait
1181 eval $driver_link_cmd
1182 #===============================================================================
File builders/mesa-vulkan-amd-sh-a03ce740bbbd2364e37bdd358d634b352ff515c7/radeon_icd.x86_64.json deleted (index 9bdd2e7..0000000)
1 {
2 "ICD": {
3 "api_version": "MAX_API_VERSION",
4 "library_path": "LIB_INSTALL_DIR/libvulkan_radeon.so"
5 },
6 "file_format_version": "1.0.0"
7 }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/nyanlinux

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanlinux

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanlinux

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main