Test directory names; HANDOFF: the second round of contributions (#6, #9-#11, #13)

This commit is contained in:
ivall
2026-11-21 18:28:07 +01:00
parent 299cd6f63c
commit b81284ca50
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -530,6 +530,11 @@ Nothing open.
- **#6** T# validation (mip range, cube faces, array depth), 1D height ignored, UMA span and subresource-count checks,
physical-page mapping inside one allocation. Its own linear layout was not taken (not addrlib's): linear stays
`tiling::Layout` mode 0.
- **Second round (#6 rebuilt, #9–#11, #13):** D3D12 texture limits and UTF-16 `MicrosoftGame.config`; DXC toolchain id
(dxcompiler / dxil size + mtime) in the DXIL cache key – the cache rebuilds once – and fresh DXIL validated; GameSave
read results survive a too-small-buffer retry; a null process task queue means disabled (`E_NO_TASK_QUEUE`); `xcl rpf`
probes archives over 1 GB in 4 MB chunks (`--probe` / `--full`). Open: #12 (feature availability should be false
only for XStore / XAppCapture).
- **#7** only the persistent-local-storage accounting (used bytes measured). Its task-queue / XAsync handle registries
(2.8 k lines against forged handles) were not taken.
+2 -2
View File
@@ -522,7 +522,7 @@ mod cache_tests {
#[test]
fn rejects_invalid_fresh_dxil_without_poisoning_the_cache() {
let dir = std::env::temp_dir().join(format!("olympus-dxil-fresh-{}", std::process::id()));
let dir = std::env::temp_dir().join(format!("xcl-dxil-fresh-{}", std::process::id()));
let _ = std::fs::remove_dir_all(&dir);
let key = cache_key("fresh validation", "main", "cs_6_6");
let file = dir.join(format!("{key:016x}.dxil"));
@@ -616,7 +616,7 @@ mod cache_tests {
#[test]
fn path_aliases_share_the_same_cache_flight() {
let root = std::env::temp_dir().join(format!("olympus-dxil-alias-{}", std::process::id()));
let root = std::env::temp_dir().join(format!("xcl-dxil-alias-{}", std::process::id()));
let dir = root.join("cache");
let child = dir.join("child");
let alias = child.join("..");
+1 -1
View File
@@ -501,7 +501,7 @@ mod tests {
assert_eq!(
XGameSaveInitializeProvider(
std::ptr::null_mut(),
b"olympus-read-name-validation\0".as_ptr(),
b"xcl-read-name-validation\0".as_ptr(),
false,
&mut provider,
),