From 0f4d3fe538a58bb65def97c88bd05016659d2745 Mon Sep 17 00:00:00 2001 From: qiaojbao Date: Fri, 22 Mar 2024 11:09:52 +0800 Subject: [PATCH] Fix llpc update error --- docker/update-llpc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/update-llpc.sh b/docker/update-llpc.sh index 4d58a5891e..a21067743d 100755 --- a/docker/update-llpc.sh +++ b/docker/update-llpc.sh @@ -5,7 +5,7 @@ set -euxo pipefail # Sync the repos. Replace the base LLPC with a freshly checked-out one. cat /vulkandriver/build_info.txt -(cd /vulkandriver/drivers/third_party/glslang && git checkout .) +(rm /vulkandriver/drivers/third_party/glslang -rf) (cd /vulkandriver && repo sync -c --no-clone-bundle -j$(nproc)) sed -i -e 's/enum MemoryAccessMask {/enum MemoryAccessMask : unsigned int {/g' /vulkandriver/drivers/third_party/glslang/SPIRV/spirv.hpp sed -i -e 's/enum ImageOperandsMask {/enum ImageOperandsMask : unsigned int {/g' /vulkandriver/drivers/third_party/glslang/SPIRV/spirv.hpp