upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/linux-boot/configure-worktree.sh
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 21:39:58 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 21:39:58 -0500
commit40b393aeaf2c0ba008bfca4de5454b5026e0d971 (patch)
tree133ca82494a506c48e840559c36b70ae08c6a82c /scripts/linux-boot/configure-worktree.sh
parentacef4fa6b5911a846abeb29300a55a13ae821a58 (diff)
parent7ae1dd3de34f1542242bc8ccfc80d9b97d20cc01 (diff)
Merge main into RT-WAVE64-GRAPHICS-TIER (#1008)
main (273b3bdf9, from #984) already reads index.json `wave64_graphics` (ShaderEntry::wave64_graphics), decides tier A/B wave64 VS/PS/GS with graphics_partition_invariant() in subgroup_size.h, and replaces the width warning for them with a line saying the device's size is exact (report_subgroup_unavailable), documented in docs/d3d12_vulkan.md. That is this pull request's change in another form, so main's form stays. - docs/d3d12_vulkan.md (conflict, subgroup size section): main's text kept; it already describes the tier A/B case. - runtime/src/shader_library.h, runtime/src/subgroup_size.h: main's form kept; the pull request's wave64_graphics_halves field and graphics_halves outcome dropped as duplicates of ShaderEntry::wave64_graphics and graphics_partition_invariant(). - runtime/test/subgroup_size_test.cpp: the pull request's index.json block kept and moved to main's API: the tier is read through ShaderLibrary, A and B are partition invariant, C, an unknown tier and a non-string are not, and the size decision is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/linux-boot/configure-worktree.sh')
-rwxr-xr-xscripts/linux-boot/configure-worktree.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/linux-boot/configure-worktree.sh b/scripts/linux-boot/configure-worktree.sh
new file mode 100755
index 000000000..c983b3357
--- /dev/null
+++ b/scripts/linux-boot/configure-worktree.sh
@@ -0,0 +1,9 @@
1#!/bin/bash
2# usage: configure-worktree.sh <worktree>
3# Configures a Windows build of the runtime on Linux with clang-cl and an xwin SDK (XWIN_DIR, default
4# ~/.local/share/xwin-sdk). SDL3_SRC=<an SDL3 source tree> makes the configure work offline.
5set -eu; W=$(realpath "$1")
6cmake -S "$W/runtime" -B "$W/runtime/build/boot" -G Ninja -DCMAKE_BUILD_TYPE=Release \
7 -DCMAKE_TOOLCHAIN_FILE="$W/runtime/cmake/clang-cl-xwin.cmake" -DXWIN_DIR="${XWIN_DIR:-$HOME/.local/share/xwin-sdk}" \
8 -DLEONIDA_BUILD_WINDOWS_RUNTIME=ON -DLEONIDA_SDL3=ON \
9 ${SDL3_SRC:+-DFETCHCONTENT_SOURCE_DIR_SDL3="$SDL3_SRC"}