Files
rive-cpp/renderer/make_dawn.sh
csmartdalton 1d97f0dd2f Fix bit rotting in WebGPU
Update Dawn integration and peg the build script at a specific commit.

Implement feathering.

Fix image textures.

Diffs=
3eae4e45b0 Fix bit rotting in WebGPU (#9183)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2025-03-07 04:32:24 +00:00

22 lines
574 B
Bash
Executable File

#!/bin/sh
set -e
mkdir -p dependencies
cd dependencies
if [ ! -d dawn ]; then
echo "Cloning Dawn..."
git clone https://dawn.googlesource.com/dawn
else
echo "Already have Dawn; updating it..."
git -C dawn fetch origin
fi
cd dawn
git checkout 50f469b60b89ac3575abc43f1d6bbe7dcd39e647
cp scripts/standalone.gclient .gclient
gclient sync -f -D
gn gen --args='is_debug=false dawn_complete_static_libs=true use_custom_libcxx=false dawn_use_swiftshader=false angle_enable_swiftshader=false' out/release
ninja -C out/release -j20 webgpu_dawn_static cpp proc_static