diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 14:30:33 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 14:30:33 -0500 |
| commit | 15f5b2fbc0db579ec02b3ee9149be29ee8034e8b (patch) | |
| tree | 3dfd96619ae45589f89cf2adc83b7ceac4571a88 /scripts/vs_input_survey.py | |
| parent | 1b2e8ff3d6a018a97dd3dd8f20e4cd06f3f2ed90 (diff) | |
Fix what the round-41 merges broke
- tests/semantic: BaseVertex/BaseInstance read 0 in the wave interpreter; the LDS MockGens follow
SHADER-309 (lds_bound, lds_access, lds_atomic); abs emission tests load their operand, since
SHADER-315 folds scalar ALU on constants.
- test_translate: the dynamic gather sampler is a loaded word, not s16 + 0 (SHADER-315 folds it).
- test_world_build: DDS downscale weights colours by alpha (62804d0d).
- test_fspx_shaders_stage: the fake disassembler writes the listing make_game now checks.
- xgameruntime_test: re-read the package id after clearing the LEONIDA_PACKAGE_ID override.
- docs: one row per topic again in design.md (72 topics) and README.md; one Other languages line;
embedded_shaders.md keeps one copy of each bullet; animation.md links the heading anchor.
- tools/scripts: character_textures uses report_paths.same_report_path; stdout guard on six programs;
LF write in vs_input_survey; the cl.exe fallback compiles winhttp_offline.cpp.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/vs_input_survey.py')
| -rw-r--r-- | scripts/vs_input_survey.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/vs_input_survey.py b/scripts/vs_input_survey.py index e1da657ff..89e648364 100644 --- a/scripts/vs_input_survey.py +++ b/scripts/vs_input_survey.py | |||
| @@ -125,10 +125,14 @@ def main(): | |||
| 125 | legacy = not (m.get("exp prim") or m.get("s_sendmsg") or m.get("v_mbcnt")) | 125 | legacy = not (m.get("exp prim") or m.get("s_sendmsg") or m.get("v_mbcnt")) |
| 126 | print("layout:", "legacy (non-NGG) VS" if legacy else "NGG markers present: check the VS input layout") | 126 | print("layout:", "legacy (non-NGG) VS" if legacy else "NGG markers present: check the VS input layout") |
| 127 | if a.json: | 127 | if a.json: |
| 128 | with open(a.json, "w", encoding="utf-8") as f: | 128 | with open(a.json, "w", encoding="utf-8", newline="\n") as f: |
| 129 | json.dump(r, f, indent=1) | 129 | json.dump(r, f, indent=1) |
| 130 | return 0 | 130 | return 0 |
| 131 | 131 | ||
| 132 | 132 | ||
| 133 | if __name__ == "__main__": | 133 | if __name__ == "__main__": |
| 134 | try: # a redirected stdout is strict ANSI code page under -I; write '?' for what it cannot encode | ||
| 135 | sys.stdout.reconfigure(errors="replace") | ||
| 136 | except (AttributeError, ValueError, OSError): | ||
| 137 | pass | ||
| 134 | sys.exit(main()) | 138 | sys.exit(main()) |