Commit Graph

4 Commits

Author SHA1 Message Date
0a9874a2f7 Merge pull request #2251 from SweatierKey 2026-11-22 13:13:29 -05:00
45a7cbbac3 spirv_asm: support width-aware hex-float Inf/NaN and SPIRV-Tools string escapes
Addresses standalone compatibility review findings on PR #2251 (@FreddyxS):
- Encode width-aware IEEE-754 hex-float literals (16/32/64-bit) directly into bit
  patterns, including SPIRV-Tools Inf and NaN payload spellings (0x1p+128 -> 0x7f800000,
  0x1.8p+128 -> 0x7fc00000, and f16/f64 equivalents) without OverflowError.
- Match SPIRV-Tools literal string decoding in _unquote_string: \<ch> yields <ch>
  verbatim (e.g. \n -> 'n', not LF).
- Add regression test comparing assembled words against spirv-as in tests/test_spirv_asm.py.
2026-11-22 19:02:58 +01:00
ec8ec4c9a4 Fix what the round-40 merges broke
- docs: one row per topic again in design.md (59 topics merged sentence by sentence, keeping every
  number) and README.md (the current models/character rows); one Other languages line.
- docs/i18n: the two Spanish quickstarts had been concatenated; keep #1912's, drop #2277's row.
- make_game: the shader fingerprint covers spirv_asm.py and its tables; LF settings write.
- tools: pe_shader_containers, gamedata_maps and anim_rigs use report_paths.same_report_path (BUILD-589);
  stdout guard on five tools; LF text writes in three; user_sgpr_census tolerates an unreachable --json.
- tests: fspx stage fakes write real carve/unpack indexes (c7408a1f); typed f16 stores round toward zero
  (SHADER-358); test_ci_registration's helper is no longer collected as a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:55:07 -05:00
5a35326e15 spirv_asm: pure-Python Vulkan 1.2 SPIR-V binary assembler 2026-11-22 17:28:50 +01:00