mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 00:02:23 +01:00
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
25 lines
1.1 KiB
Python
25 lines
1.1 KiB
Python
#!/usr/bin/env python3
|
|
# Regenerates the opcode table in src/spv_check.h (which SPIR-V instructions have a result id / a result type) from
|
|
# the vendored SPIR-V headers. Prints the C++ array body; paste it between the markers in spv_check.h.
|
|
# python3 tools/gen_spv_ops.py > /tmp/ops.txt
|
|
import os
|
|
import re
|
|
|
|
here = os.path.dirname(os.path.abspath(__file__))
|
|
src = open(os.path.join(here, "..", "third_party", "spirv-headers", "include", "spirv", "unified1", "spirv.h"), encoding="utf-8").read()
|
|
ops = dict(re.findall(r"^\s*SpvOp(\w+)\s*=\s*(\d+),", src, re.M))
|
|
body = src[src.index("inline void SpvHasResultAndType"):]
|
|
body = body[:body.index("\n}\n")]
|
|
table = {}
|
|
for name, res, typ in re.findall(r"case SpvOp(\w+): \*hasResult = (true|false); \*hasResultType = (true|false);", body):
|
|
table[int(ops[name])] = (res == "true") * 1 + (typ == "true") * 2
|
|
entries = [op << 2 | flags for op, flags in sorted(table.items())]
|
|
line = " "
|
|
for e in entries:
|
|
item = " %d," % e
|
|
if len(line) + len(item) > 118:
|
|
print(line)
|
|
line = " "
|
|
line += item
|
|
print(line)
|