Commit Graph

12 Commits

Author SHA1 Message Date
ca8a627c5c bary_fallback_gs: restore write mode before unlink on replace failure and publish mode (BARY-FALLBACK-GS-STAGE-CLEANUP)
Apply published_mode(asm/spv) to temporary files before atomic replacement,
and restore write permission (0o600) before directory cleanup in exception block
when replace fails, preventing Windows PermissionError [WinError 5] and
stranded temporary files.

agent: yes
AI-assisted: yes
2026-11-29 18:24:17 +03:00
e726995fa9 bary_fallback_gs: validate input locations/index schema/shader names, accept UTF-8 BOM, and publish atomically (BARY-FALLBACK-GS-VALIDATION-ATOMIC) 2026-11-25 01:17:56 +01:00
10417ec0f5 bary_fallback_gs: reject negative or bool bary_location 2026-11-24 09:10:59 +05:00
e95b5b50b8 Merge pull request #3778 from Tomgamer 2026-11-22 17:03:44 -05:00
fa33dd1616 Merge pull request #3647 from Kam471 2026-11-22 17:03:11 -05:00
45eeabf068 bary_fallback_gs: reject non-object index entries in --pair
A non-object VS or PS entry crashed --pair with AttributeError; it now
exits 1 with a one-line error naming the entry and the index path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:34:43 +01:00
d1490e359e BUILD-1046: missing inputs exit 2; image_query_probe help before oracle
Eleven tools treated a nonexistent input folder as a failed run (1). They now print one ERROR line and return 2, while real read failures keep exit 1. image_query_probe imports the hardware oracle only for a GPU run, so --help stays prompt. A table-driven subprocess test covers all eleven; existing expectations are updated.
2026-11-22 21:11:07 +00:00
e481744109 Merge pull request #2810 from Vonsek 2026-11-22 15:12:13 -05:00
ea9fa63730 fix(tools): stage fallback shader assembly before validation
Keep the published assembly paired with its binary when a replacement fails validation.
2026-11-22 20:36:12 +01:00
8043d34437 fix(tools): publish barycentric helpers after validation
A failed rebuild could overwrite the validated helper with a binary that rendering could no longer load. Keep the previous helper available until validation of its replacement succeeds.
2026-11-22 19:20:44 +01:00
f0f0eea1e6 fix(build): reject non-object barycentric shader indexes
A malformed translation index could make the fallback geometry shader build report success without generating any helpers.
2026-11-22 17:44:30 +01:00
1a101e86ce test(tools): add synthetic unit tests for bary_fallback_gs 2026-11-22 14:01:49 +01:00