fix: main's source checks pass again (15 red since #2574, #2617 and others), and the three bugs behind them #2656
Closed
notquiteog wants to merge 2 commits from
notquiteog/fix/main-source-checks into main
pull from: notquiteog/fix/main-source-checks
merge into: MagicBeanDev:main
MagicBeanDev:main
MagicBeanDev:github/pr/2893
MagicBeanDev:github/pr/2890
MagicBeanDev:github/pr/2887
MagicBeanDev:github/pr/2878
MagicBeanDev:github/pr/2875
MagicBeanDev:github/pr/2874
MagicBeanDev:github/pr/2873
MagicBeanDev:github/pr/2871
MagicBeanDev:github/pr/2756
MagicBeanDev:github/pr/2897
MagicBeanDev:github/pr/2896
MagicBeanDev:github/pr/2718
MagicBeanDev:github/pr/2842
MagicBeanDev:github/pr/2691
MagicBeanDev:github/pr/2895
MagicBeanDev:github/pr/2743
MagicBeanDev:github/pr/2765
MagicBeanDev:github/pr/2708
MagicBeanDev:github/pr/2732
MagicBeanDev:github/pr/2755
MagicBeanDev:github/pr/2817
MagicBeanDev:github/pr/2876
MagicBeanDev:release-please--branches--main
MagicBeanDev:release-please--branches--main--release-notes
MagicBeanDev:github/pr/2778
MagicBeanDev:github/pr/2888
MagicBeanDev:github/pr/2866
MagicBeanDev:github/pr/2877
MagicBeanDev:github/pr/2800
MagicBeanDev:github/pr/2829
MagicBeanDev:github/pr/2850
MagicBeanDev:github/pr/2889
MagicBeanDev:github/pr/2882
MagicBeanDev:github/pr/2860
MagicBeanDev:github/pr/2849
MagicBeanDev:github/pr/2886
MagicBeanDev:github/pr/2794
MagicBeanDev:github/pr/2840
MagicBeanDev:github/pr/2830
MagicBeanDev:github/pr/2834
MagicBeanDev:github/pr/2719
MagicBeanDev:github/pr/2742
MagicBeanDev:github/pr/2741
MagicBeanDev:github/pr/2820
MagicBeanDev:github/pr/2771
MagicBeanDev:github/pr/2859
MagicBeanDev:github/pr/2858
MagicBeanDev:github/pr/2823
MagicBeanDev:github/pr/2757
MagicBeanDev:github/pr/2769
MagicBeanDev:github/pr/2844
MagicBeanDev:github/pr/2843
MagicBeanDev:github/pr/2673
MagicBeanDev:github/pr/2855
MagicBeanDev:github/pr/2739
MagicBeanDev:github/pr/2807
MagicBeanDev:github/pr/2851
MagicBeanDev:github/pr/2789
MagicBeanDev:github/pr/2814
MagicBeanDev:github/pr/2818
MagicBeanDev:github/pr/2774
MagicBeanDev:github/pr/2772
MagicBeanDev:github/pr/2750
MagicBeanDev:github/pr/2786
MagicBeanDev:github/pr/2785
MagicBeanDev:github/pr/2782
MagicBeanDev:github/pr/2779
MagicBeanDev:github/pr/2775
MagicBeanDev:github/pr/2706
MagicBeanDev:github/pr/2766
MagicBeanDev:github/pr/2747
MagicBeanDev:github/pr/2759
MagicBeanDev:github/pr/2745
MagicBeanDev:github/pr/2740
MagicBeanDev:github/pr/2733
MagicBeanDev:github/pr/2725
MagicBeanDev:github/pr/2727
MagicBeanDev:github/pr/2728
MagicBeanDev:github/pr/2729
MagicBeanDev:github/pr/2721
MagicBeanDev:github/pr/2722
MagicBeanDev:github/pr/2715
MagicBeanDev:github/pr/2714
MagicBeanDev:github/pr/2707
MagicBeanDev:github/pr/2703
MagicBeanDev:github/pr/2705
MagicBeanDev:github/pr/2697
MagicBeanDev:github/pr/2679
MagicBeanDev:github/pr/2676
MagicBeanDev:github/pr/2669
MagicBeanDev:docs/what-hookshot-connects-to
MagicBeanDev:fix/hdr-encode-test
MagicBeanDev:fix/main-tests
MagicBeanDev:fix/play-cache-files
MagicBeanDev:perf/game-barrier-order
MagicBeanDev:feat/heap-lazy
MagicBeanDev:feat/texture-detail
MagicBeanDev:perf/astc-opaque-bc1
MagicBeanDev:fix/fs-dir-lock
MagicBeanDev:fix/framegen-native-kept
MagicBeanDev:fix/update-no-downgrade
MagicBeanDev:port/k10-gcn-f16-mirrors
MagicBeanDev:fix/framegen-mult-cap
MagicBeanDev:chore/release-as-2.1.1
MagicBeanDev:perf/pcache-load-switch
MagicBeanDev:fix/prepare-progress-log
MagicBeanDev:fix/update-closes-stale-game
MagicBeanDev:fix/hdr-scaled-sampled
MagicBeanDev:perf/first-start-preset
MagicBeanDev:perf/zero-upload
MagicBeanDev:fix/vcore-escape-2s
MagicBeanDev:test/fake-gh-atomic
MagicBeanDev:perf/batch-idle-flush
MagicBeanDev:test/finish-stub-a
MagicBeanDev:chore/record-2.1.0
MagicBeanDev:fix/main-red-tests
MagicBeanDev:fix/test-display-startup-driver-cache
MagicBeanDev:feat/mesh-shader-mode
MagicBeanDev:fix/menu-probes-at-startup
MagicBeanDev:fix/fps-counter-classic
MagicBeanDev:fix/test-log-batch-flake
MagicBeanDev:fix/narrow-screen-hud
MagicBeanDev:ci/prereleases
MagicBeanDev:release/v2.0.15
MagicBeanDev:hotfix/v2.0.15
MagicBeanDev:fix/present-ahead-replay
MagicBeanDev:release/v2.0.13
MagicBeanDev:fix/bracket-paths-2013
MagicBeanDev:fix/hdr-overlays-2013
MagicBeanDev:fix/fps-counter-scale-2013
MagicBeanDev:fix/stick-seen-at-rest
MagicBeanDev:hotfix/menu-fits-screen
MagicBeanDev:fix/f1-always-opens-menu
MagicBeanDev:fix/ini-keep-lines
MagicBeanDev:claude/cranky-pike-7cf247
MagicBeanDev:perf/texture-answer-flat
MagicBeanDev:fix/stamp-test-modules
MagicBeanDev:fix/appimage-fonts
MagicBeanDev:fix/display-awake
MagicBeanDev:release/v2.0.12
MagicBeanDev:fix/discord-windows
MagicBeanDev:rc/v2.0.12-tests
MagicBeanDev:fix/dlss-keep-feature
MagicBeanDev:rc/v2.0.12
MagicBeanDev:button-icons
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
autorelease: pending
autorelease: tagged
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
github_actions
Pull requests that update GitHub Actions code
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
question
Further information is requested
testing wanted
wontfix
This will not be worked on
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!2656
Loading…
Reference in a new issue
No description provided.
Delete branch "notquiteog/fix/main-source-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
main's Game-free source regressions check is red: 15 source checks fail atde866017, from PRs that were merged without a rebase onto each other. This makes them pass again, and fixes the three real bugs that were behind four of them.What was wrong
Real bugs (the checks were right):
RX_VK_CAPTURE_KEEP_OLD=0andRX_VK_CAP_BLOCKS=0turned the switch on (vk_memory.cpp, #2437). Both are on/off switches read as set-means-on. They read throughenv_onnow, as line 1054 of the same file already did. (test_env_on)host/mouse_native.c, #2617). The mouse's kept angles were reset when the game takes the stick, but not when the camera leaves states 3 and 4, so on return the old angles were written over where the game had left the camera. (test_mouse_native: yaw 4 where -1 is expected)dlss_checks.h, #2574).(w + 2) * 3 >= owfixed 853x480 at 2560x1440 (853 × 3 = 2559) but also let a size one or two pixels under the third through, whichmode_forthen widens a range for. It isw * 3 + 2 >= ownow: a third rounded down, which is NGX's own Ultra Performance size, and no less. (test_dlss_checks: "below a third")Stale translations: three English texts changed in
vk_menu.cppafter the 13-language table was made (#1930's ocarina sentence in the gamepad hint, #2362's RADV note in the Mesh shaders hint, #2435's keyboard face in the Button prompts hint). Their 39 entries inmenu_i18n.hare keyed and translated again. They are machine-made like the rest of the file and not reviewed by speakers. (test_menu_i18n)Fixtures that cut source by its text and missed what the source gained:
test_wayland_libdecor_hint,test_display_startup_failurewindow_title()(#2116)test_texel_buffer_ownershipdead_import_bytes(#1906)test_audio_biquad,test_audio_auxenv_oninreverb_frametest_mods_size_tablehos_xinput_pads(#2435)test_readback_partwait_recordedtest_hdr_encode,test_framegen_preset,test_rumble_menukEngine'sretryandtemporal_reset_failure(#2574)test_linux_docker_packages--no-updatefor a PPAHow it was tested
python -I -B tests/run_all.pyon this branch (Linux, the emsdk's clang, glslang 16.6.0): 468 passed, 0 failed, 22 skipped (Windows-only, or needing dotnet / PIL / a Vulkan device). Onde866017without it: 15 failed.feature 2 made ... 683x384 (683x384 to 683x384) -> 2048x1152, mode 3), no device lost.Not tested
🤖 Generated with Claude Code
github-sync referenced this pull request2026-11-12 06:24:03 +00:00
Current main already has every part of this, through other PRs. On main at
51da0464, tests/run_all.py has only test_lift_cache failing here (a local issue), and every check this PR fixes passes. The PR now conflicts in nine test files.env_on: #2651 (1101a8e2), gpu/vk/vk_memory.cpp:937/960/995.0ec31ff6).69465621).9776c36d). The docker PPA parser: #2652 (f82caa6b).The one piece main did differently is
scene_size_fitsin gpu/vk/dlss_checks.h. Main kept(w + 2) * 3 >= ow, and #2648 made tests/test_dlss_checks.cpp:29-33 require that one and two pixels under a third fit. Sow * 3 + 2would now fail main's own check. If you think sizes two pixels under should be refused (becausemode_forwidens them), that's worth its own small PR arguing against those test cases. Otherwise I'd suggest closing this one as superseded.Closing: main has all of this now through #2648, #2651, #2652, #2653, #2654 and #2661, as the review says. Thanks for checking it against main. The one thing that differs is
scene_size_fits: main keeps the two-pixel tolerance with tests that say so, which is a deliberate choice and fine by me.