Remove accidentally committed webgpu files

This commit is contained in:
Danila Poyarkov 2026-03-03 10:13:05 +03:00
parent 8ced3201cf
commit 46215cf0f3
3 changed files with 0 additions and 57 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a337e1ca02e7eb9bb05a7fd7986fde3e0a845f95ddc06193751ef69c106918a
size 9697190

View file

@ -1,33 +0,0 @@
#!/bin/bash
# Build CanvasKit with Graphite+WebGPU from Skia source
# Requires: git, python3, cmake, ninja
# Output: canvaskit.js + canvaskit.wasm in out/canvaskit_wasm/
set -euo pipefail
SKIA_DIR="${SKIA_DIR:-$HOME/Development/skia}"
if [ ! -d "$SKIA_DIR" ]; then
echo "Cloning Skia..."
git clone --depth 1 https://skia.googlesource.com/skia.git "$SKIA_DIR"
fi
cd "$SKIA_DIR"
echo "Syncing dependencies..."
python3 tools/git-sync-deps
echo "Activating emsdk..."
python3 bin/activate-emsdk
echo "Applying patches..."
PATCHES_DIR="$(cd "$(dirname "$0")" && pwd)"
git apply "$PATCHES_DIR/skia.patch" 2>/dev/null || true
(cd third_party/externals/dawn && git apply "$PATCHES_DIR/dawn-tint.patch" 2>/dev/null || true)
echo "Building CanvasKit with WebGPU..."
# CPATH may contain /opt/homebrew/include which leaks host headers into emscripten
unset CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH
bash modules/canvaskit/compile.sh webgpu
echo "Done!"
ls -lh out/canvaskit_wasm/canvaskit.js out/canvaskit_wasm/canvaskit.wasm