mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-12 11:44:53 +08:00
64ffe0ad25
https://github.com/LunarG/gfxreconstruct/issues/328 and https://github.com/LunarG/gfxreconstruct/issues/402 are already fixed in the "master" branch. Updated the piglit version so it supports this version. Additionally, LunarG's VulkanTools are not built any more since GFXReconstruct is now able to generate screenshots on its own without using the VK_LAYER_LUNARG_screenshot layer. v2: - Explain the VulkanTools removal in the commit log (Martin). Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9032>
20 lines
616 B
Bash
20 lines
616 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
GFXRECONSTRUCT_VERSION=3738decc2f4f9ff183818e5ab213a75a79fb7ab1
|
|
|
|
git clone https://github.com/LunarG/gfxreconstruct.git --single-branch -b master --no-checkout /gfxreconstruct
|
|
pushd /gfxreconstruct
|
|
git checkout "$GFXRECONSTRUCT_VERSION"
|
|
git submodule update --init
|
|
git submodule update
|
|
cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
|
ninja -C _build gfxrecon-replay gfxrecon-info
|
|
mkdir -p build/bin
|
|
install _build/tools/replay/gfxrecon-replay build/bin
|
|
install _build/tools/info/gfxrecon-info build/bin
|
|
strip build/bin/*
|
|
find . -not -path './build' -not -path './build/*' -delete
|
|
popd
|