Files
ToastconcernandClaude Opus 5.5 6d0b4fcd2f v0.2.0: splats, copy/paste, faster homes, seat facing, and a full bug sweep
Frame Studio
- Gaussian splats (PLY, SPZ v2-v4), PLY vertex colours, panorama skies
- Copy, cut, paste and duplicate for objects, splats and world items
- Walkable-area rebake moved off the UI thread; viewport one frame sooner;
  refresh-locked pacing (FS_PACE=timer for the old one)
- Fixed: bundle thumbnail use-after-free crash, auto-save deleting
  environments, saves into scratch copies, edits lost on non-ASCII paths,
  unopenable manifests with inf/nan, bundle save data loss, opening a home
  marking it changed, gizmo NaN, long paths, many malformed-file crashes
- Updater verifies sha256, journals the swap and never leaves the exe missing

Frame Home
- Seats turn you to face their way
- Draw batching (Hand Tutorials up to ~20% less GPU time), cut-out EQUAL pass,
  late head-pose read before submit
- Proper queue-family hand-over to the compositor layer; layer descriptor
  generations and seqlocked slots; structural SPIR-V check
- Fixed: hangs/crashes on damaged .fenv files and shaders, render-pass
  validation error, sync hazard in the foveation smoothing pass, unverified
  update downloads, half-done installs

Tests: tests_loco/env_share/spv_check wired into CMake (FRAME_TESTS) and CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VsaXGU27gsrXjDoFtyFJP9
2026-10-25 13:15:07 -05:00

30 lines
1.6 KiB
Bash

#!/bin/sh
# Regenerates src/splat_spirv.h from splat.vert / splat.frag. Needs glslc (the Frame has it in /usr/bin) or glslang
# (Khronos's release; set GLSLANG=/path/to/glslang).
set -e
cd "$(dirname "$0")"
if [ -n "$GLSLANG" ]; then
"$GLSLANG" -V --target-env vulkan1.1 -Os splat.vert -o /tmp/splat.vert.spv
"$GLSLANG" -V --target-env vulkan1.1 -Os splat.frag -o /tmp/splat.frag.spv
else
glslc -O --target-env=vulkan1.1 -fshader-stage=vert splat.vert -o /tmp/splat.vert.spv
glslc -O --target-env=vulkan1.1 -fshader-stage=frag splat.frag -o /tmp/splat.frag.spv
fi
python3 - /tmp/splat.vert.spv /tmp/splat.frag.spv > ../../src/splat_spirv.h <<'PY'
import struct, sys
print("#pragma once")
print("// GENERATED by tools/splat/gen_splat_spirv.sh from tools/splat/splat.{vert,frag}. Do not edit by hand.")
print("// vert: set0 b0 Splats[] (32 bytes each), b1 order[], b2 Frame { mat4 clipFromWorld[2]; mat4 worldFromModel; vec4 viewport; }")
print("// 4 vertices a splat (triangle strip), one instance a splat; multiview")
print("// frag: premultiplied colour (blend ONE, ONE_MINUS_SRC_ALPHA)")
print("#include <cstddef>\n#include <cstdint>\n")
for name, path in (("Vert", sys.argv[1]), ("Frag", sys.argv[2])):
data = open(path, "rb").read()
words = struct.unpack("<%dI" % (len(data) // 4), data)
print("static const uint32_t kSplat%sSpirv[] = {" % name)
for i in range(0, len(words), 8):
print(" " + ",".join("0x%08x" % w for w in words[i:i + 8]) + ",")
print("};")
print("static const size_t kSplat%sSize = sizeof(kSplat%sSpirv);\n" % (name, name))
PY