diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/line_count.sh | 4 | ||||
| -rwxr-xr-x | scripts/shaderc_deps.sh | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/scripts/line_count.sh b/scripts/line_count.sh index 215c7d0..83b89bb 100755 --- a/scripts/line_count.sh +++ b/scripts/line_count.sh @@ -2,15 +2,15 @@ export LC_ALL="C" find ./src ./scripts ./env -type f \ -not -path "*__pycache__*" \ - -not -path "./env/msvc-root/*" \ -not -path "./env/nixpkgs-patches/*" \ + -not -path "./src/fruits/cmv/icon.*" \ -not -path "./src/fruits/droid/*" \ -not -path "./src/portal/cpy/portal.c" \ -not -path "./src/portal/cpy/portal.h" \ -not -path "./src/portal/patches/*" \ - -not -path "./src/portal/py/.mypy_cache/*" \ -not -path "./src/portal/py/tests/*" \ -not -path "./src/portal/vendor/*" \ + -not -path "./src/render/shaders/*.glsl" \ -exec sloccount {} + #-exec sed -i 's///g' {} + diff --git a/scripts/shaderc_deps.sh b/scripts/shaderc_deps.sh index c9c793f..fb3991a 100755 --- a/scripts/shaderc_deps.sh +++ b/scripts/shaderc_deps.sh @@ -4,17 +4,18 @@ # https://github.com/google/shaderc/blob/known-good/known_good.json +git clone https://github.com/KhronosGroup/glslang.git glslang +cd glslang +git checkout 168d452a4f460d24b588fed08477a81c44ee27a1 +cd ../ + git clone https://github.com/KhronosGroup/SPIRV-Tools.git spirv-tools cd spirv-tools -git checkout c1cb30bb04e2bf911755a40df1242cc6e3d83e26 +git checkout b707790a898e44038547df54580022fc1cf89c3d +git apply ../../../packagefiles/shaderc/spirv_tools_build_version.diff cd ../ git clone https://github.com/KhronosGroup/SPIRV-Headers.git spirv-headers cd spirv-headers -git checkout ad9184e76a66b1001c29db9b0a3e87f646c64de0 -cd ../ - -git clone https://github.com/KhronosGroup/glslang.git glslang -cd glslang -git checkout 5ed4003a18a10a9d1bd7e43aaf1664499abffa83 +git checkout 29981f65241605e08b0ede4cfeb999fe3b723c6a cd ../ |