From 3687916e777ce40ede9c22a8255046163e8c1683 Mon Sep 17 00:00:00 2001 From: Ludovico de Nittis <ludovico.denittis@collabora.com> Date: Thu, 4 Mar 2021 14:16:58 +0100 Subject: [PATCH] build-relocatable-install: Include Vulkan shaders Previously we were missing to include the Vulkan shaders in the relocatable pressure-vessel tarball. This leaded to `check-vulkan` to fail because it didn't find the required shaders. Fixes: #62 Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com> --- pressure-vessel/build-relocatable-install.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pressure-vessel/build-relocatable-install.py b/pressure-vessel/build-relocatable-install.py index c51e62c71..519264516 100755 --- a/pressure-vessel/build-relocatable-install.py +++ b/pressure-vessel/build-relocatable-install.py @@ -364,6 +364,15 @@ def main(): ), ) + for shader in glob.glob(os.path.join(path, 'shaders', '*.spv')): + install( + shader, + os.path.join( + installation, 'libexec', 'steam-runtime-tools-0', + 'shaders', os.path.basename(shader), + ) + ) + primary_architecture = subprocess.check_output([ 'dpkg', '--print-architecture', ]).decode('utf-8').strip() -- GitLab