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 /runtime/test/xgameruntime_test.cpp | |
| 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 'runtime/test/xgameruntime_test.cpp')
| -rw-r--r-- | runtime/test/xgameruntime_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/test/xgameruntime_test.cpp b/runtime/test/xgameruntime_test.cpp index 9fc4335eb..c5a0e988e 100644 --- a/runtime/test/xgameruntime_test.cpp +++ b/runtime/test/xgameruntime_test.cpp | |||
| @@ -493,6 +493,9 @@ int main() { | |||
| 493 | std::strcmp(pkg_id, "CustomTestPackageId_123456789012") == 0, | 493 | std::strcmp(pkg_id, "CustomTestPackageId_123456789012") == 0, |
| 494 | "XPackageGetCurrentProcessPackageIdentifier respects LEONIDA_PACKAGE_ID override"); | 494 | "XPackageGetCurrentProcessPackageIdentifier respects LEONIDA_PACKAGE_ID override"); |
| 495 | SetEnvironmentVariableA("LEONIDA_PACKAGE_ID", nullptr); | 495 | SetEnvironmentVariableA("LEONIDA_PACKAGE_ID", nullptr); |
| 496 | // pkg_id still holds the override; the mount checks below need the game's own identifier again. | ||
| 497 | check(package_id(sizeof(pkg_id), pkg_id) == S_OK && std::strlen(pkg_id) == 32, | ||
| 498 | "XPackageGetCurrentProcessPackageIdentifier returns the default again once the override is cleared"); | ||
| 496 | 499 | ||
| 497 | auto mount_pkg = get<PackageMountFn>("XPackageMount"); | 500 | auto mount_pkg = get<PackageMountFn>("XPackageMount"); |
| 498 | auto close_mount = get<PackageCloseMountHandleFn>("XPackageCloseMountHandle"); | 501 | auto close_mount = get<PackageCloseMountHandleFn>("XPackageCloseMountHandle"); |