Repository navigation
runtime/shims: shim Win32 localization, priority-boost, and named-pipe APIs (RT-WIN32-ENV-LOC-PIPE) - #1242
runtime/shims: shim Win32 localization, priority-boost, and named-pipe APIs (RT-WIN32-ENV-LOC-PIPE)#1242piyonchu wants to merge 1 commit into
Conversation
1085a12 to
1a8cc62
Compare
1a8cc62 to
bd263ca
Compare
bd263ca to
f222051
Compare
|
Rebased onto latest Verified locally after rebase:
|
The f16 interpolation always wrote the low destination half via low_half() and dropped the VOP3 output modifiers. Write through write_half() (op_sel[3], SDWA) and apply omod then clamp to the f16 result in f32 so the conversion rounds once, matching write_f()'s order. Addresses VIC-BT-029 from audit ProjectLeonida#1242. Validation: - cargo test -p victory-shader --locked -- --test-threads=1 --skip emit::valu_tests --skip emit::waterfall_tests - cargo clippy -p victory-shader --all-targets --all-features --locked -- -D warnings - cargo xtask policy
|
Blocker: Checked locally on AI-assisted (Claude Code, Claude Opus 5.5), posted for MoonEyes. |
Native Windows 11 + MSVC
|
…e APIs (RT-WIN32-ENV-LOC-PIPE)
f222051 to
1a5b65a
Compare
|
Addressed all three findings and rebased onto
Verified locally after
|
Summary
Claim ID:
RT-WIN32-ENV-LOC-PIPEAdds
runtime/shims/win32_env.cpp,runtime/test/win32_env_test.cpp, and documentsLEONIDA_GEO/LEONIDA_LOCALEinruntime/README.md(wired intoruntime/CMakeLists.txtandscripts/build_runtime.ps1, rebased ontocont/main16f505304at1a5b65a38):GetUserDefaultGeoName,GetUserDefaultLocaleName, andLocaleNameToLCID(api-ms-win-core-localization-l1-2-{0,3}.dll,kernel32.dll,kernelbase.dll) with offline fallback andLEONIDA_GEO/LEONIDA_LOCALEoverrides.SetProcessPriorityBoost(api-ms-win-core-processthreads-l1-1-2.dll,kernel32.dll,kernelbase.dll) in-process so title priority-boost toggles do not mutate the hostgta6rtscheduler policy.WaitNamedPipeA/WandSetNamedPipeHandleState(api-ms-win-core-namedpipe-l1-1-0.dll,kernel32.dll,kernelbase.dll), returningERROR_BAD_PATHNAMEforWaitNamedPipeA(nullptr)andERROR_INVALID_PARAMETERforWaitNamedPipeW(nullptr)without faulting on Windows 11.win32_envandwin32_env_overrideCTest cases inruntime/test/win32_env_test.cpp.Verification
10.0.26100SDK), MSVC (RelWithDebInfo), at1a5b65a38.ctest --test-dir runtime/build -C RelWithDebInfo -R "^win32_env" --output-on-failure:100% tests passed out of 2(win32_env,win32_env_override).python -I tests/test_docs_env_vars.py:Ran 5 tests ... OK.python -I tests/test_docs_encoding.py:Ran 1 test ... OK.python -I tests/test_text_encoding.py:Ran 2 tests ... OK.python -I tests/test_ctest_registration.py:Ran 7 tests ... OK.python -I scripts/check_no_game_data.py ...andgit diff --check cont/main..HEAD: clean.