[pr-performance][rendering][memory] Refresh only written mips of tracked BC textures #50

Open
holoslicer wants to merge 2 commits from holoslicer/Darner:perf-streamed-texture-mips into main
Contributor

Contributor role (optional)

What it changes

Streaming a single mip could make Darner read, detile and upload an entire block-compressed texture. For a fully staged, single-slice 2D BC texture in verified write-watched memory, this change maps written pages to mip levels. It refreshes those levels on the CPU and accumulates them for the GPU upload at submission.

Initial uploads, remaps and writes into a packed mip tail use a full refresh. If two live staging buffers can overwrite the same GPU texture, each submits its full staged image.

How it was tested

Windows x64, Rust 1.98.1. Published commit 0973b6e4aa has the same Git tree as tested commit bc4e62f540. Both have upstream parent 4a92569fb8.

  • In a synthetic 2048 × 2048 BC7 texture, changing the 256 × 256 mip reduced source reads from 5,636,096 to 65,536 bytes and selected one of 12 mips for upload. Every row in all 12 GPU mips matched an independent full refresh. The regression also writes a marker to an unchanged staging mip to catch an accidental CPU refresh or GPU copy.
  • Both focused mip tests passed, including the page-boundary and packed-tail cases. The workspace GPU test suite passed 1,707 tests with 79 ignored. Both workspace Clippy configurations passed with warnings denied, and the asset policy passed across 544 files.
  • The full workspace run (cargo --config 'profile.test.package.darner-shader.opt-level=3' test --workspace --locked --offline --no-fail-fast -- --test-threads=1) finished with 3,234 passed, two failed and 117 ignored. Both failures also reproduced on unmodified upstream: DXIL depth-output validation and the expected 32-lane wave size. In-game frame times and texture pop-in still need a matched route.

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • This change has no PR dependencies.

Checked for overlap

  • Searched the new forge's issues and PRs and checked the changed files in its open PRs. No competing partial-mip upload was found. PR #8 controls sampler LOD bias and #11 controls streaming-heap size. The following PRs also touch host.rs for other changes: #25, #31, #32, #33, #34, #35, #38, #39, #40, #41 and #43.
## Contributor role (optional) <!-- Fluxer ID omitted. --> ## What it changes Streaming a single mip could make Darner read, detile and upload an entire block-compressed texture. For a fully staged, single-slice 2D BC texture in verified write-watched memory, this change maps written pages to mip levels. It refreshes those levels on the CPU and accumulates them for the GPU upload at submission. Initial uploads, remaps and writes into a packed mip tail use a full refresh. If two live staging buffers can overwrite the same GPU texture, each submits its full staged image. ## How it was tested Windows x64, Rust 1.98.1. Published commit `0973b6e4aa` has the same Git tree as tested commit `bc4e62f540`. Both have upstream parent `4a92569fb8`. - In a synthetic 2048 × 2048 BC7 texture, changing the 256 × 256 mip reduced source reads from 5,636,096 to 65,536 bytes and selected one of 12 mips for upload. Every row in all 12 GPU mips matched an independent full refresh. The regression also writes a marker to an unchanged staging mip to catch an accidental CPU refresh or GPU copy. - Both focused mip tests passed, including the page-boundary and packed-tail cases. The workspace GPU test suite passed 1,707 tests with 79 ignored. Both workspace Clippy configurations passed with warnings denied, and the asset policy passed across 544 files. - The full workspace run (`cargo --config 'profile.test.package.darner-shader.opt-level=3' test --workspace --locked --offline --no-fail-fast -- --test-threads=1`) finished with 3,234 passed, two failed and 117 ignored. Both failures also reproduced on unmodified upstream: DXIL depth-output validation and the expected 32-lane wave size. In-game frame times and texture pop-in still need a matched route. ## Checklist - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] This change has no PR dependencies. ## Checked for overlap - [x] Searched the new forge's issues and PRs and checked the changed files in its open PRs. No competing partial-mip upload was found. PR #8 controls sampler LOD bias and #11 controls streaming-heap size. The following PRs also touch `host.rs` for other changes: #25, #31, #32, #33, #34, #35, #38, #39, #40, #41 and #43.
Contributor

Independent Windows D3D12 check on an RTX 4060 8 GB (driver 621.40, Windows 11 build 26300, Rust 1.98.1).

At 0973b6e4aa, cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::mip_upload_tests:: -- --test-threads=1 --nocapture passed 2/2. I also applied this PR to 1a5286a78daa and extended the BC7 test to dirty mip 3, refresh, dirty mip 2, refresh, then submit once. The D3D12 device LUID matched the RTX 4060. The two refreshes read 65,536 and 262,144 bytes from a 5,636,096-byte source. The submission selected both mips, every row in all 12 mips matched a full CPU detile, and the marker in the untouched staging mip stayed out of the GPU readback.

This synthetic run covers pending mip accumulation and copies. Gameplay, frame times, and issue #68's black blocks are outside its scope.

Independent Windows D3D12 check on an RTX 4060 8 GB (driver 621.40, Windows 11 build 26300, Rust 1.98.1). At `0973b6e4aa`, `cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::mip_upload_tests:: -- --test-threads=1 --nocapture` passed 2/2. I also applied this PR to `1a5286a78daa` and extended the BC7 test to dirty mip 3, refresh, dirty mip 2, refresh, then submit once. The D3D12 device LUID matched the RTX 4060. The two refreshes read 65,536 and 262,144 bytes from a 5,636,096-byte source. The submission selected both mips, every row in all 12 mips matched a full CPU detile, and the marker in the untouched staging mip stayed out of the GPU readback. This synthetic run covers pending mip accumulation and copies. Gameplay, frame times, and issue #68's black blocks are outside its scope.
Contributor

Follow-up on a stale mip after a late upload-ahead completion. I reproduced it at 0973b6e4aa on an RTX 4060 8 GB (Windows 11 build 26300, driver 621.40, Rust 1.98.1).

With DARNER_UPLOAD_AHEAD=1 and DARNER_PRELUDE_UPLOADS=1, the test sends a synthetic 2048×2048 BC7 chain through the real COPY worker and waits for its D3D12 fence. It delays only the CPU call to ahead::finish. An ordinary upload_from times out in listed after ~1.05 s and its prelude uploads the chain. The test then changes mip 3, refreshes staging, and releases ahead::finish before the next prelude claims that update.

  • On the PR, uploads.copied() clears the pending mip 3. A subsequent write to mip 2 submits only mip 2. GPU readback still has 0x1b in mip 3 (expected 0xb7).
  • At current main (1a5286a78daa), the same sequence also loses the first update. The later write triggers a full upload and restores mip 3 to 0xb7.
  • On current main with this PR and a local guard, both uploads are recorded (masks 0x8 and 0x4). GPU readback gets 0xb7 for mip 3 and 0x4d for mip 2. The guard checks staging.once while holding staging.last and only clears pending uploads and records the held hash while the staging buffer still belongs to the one-shot upload. An ordinary list sets once=false before its refresh, which uses that same lock.

The test forces the CPU completion order after the COPY fence has signaled. Concurrent GPU writes across the COPY and DIRECT queues, in-game frequency, and a gameplay symptom are outside the scope of this reproduction.

Follow-up on a stale mip after a late upload-ahead completion. I reproduced it at `0973b6e4aa` on an RTX 4060 8 GB (Windows 11 build 26300, driver 621.40, Rust 1.98.1). With `DARNER_UPLOAD_AHEAD=1` and `DARNER_PRELUDE_UPLOADS=1`, the test sends a synthetic 2048×2048 BC7 chain through the real COPY worker and waits for its D3D12 fence. It delays only the CPU call to `ahead::finish`. An ordinary `upload_from` times out in `listed` after ~1.05 s and its prelude uploads the chain. The test then changes mip 3, refreshes staging, and releases `ahead::finish` before the next prelude claims that update. - On the PR, `uploads.copied()` clears the pending mip 3. A subsequent write to mip 2 submits only mip 2. GPU readback still has `0x1b` in mip 3 (expected `0xb7`). - At current `main` (`1a5286a78daa`), the same sequence also loses the first update. The later write triggers a full upload and restores mip 3 to `0xb7`. - On current `main` with this PR and a local guard, both uploads are recorded (masks `0x8` and `0x4`). GPU readback gets `0xb7` for mip 3 and `0x4d` for mip 2. The guard checks `staging.once` while holding `staging.last` and only clears pending uploads and records the held hash while the staging buffer still belongs to the one-shot upload. An ordinary list sets `once=false` before its refresh, which uses that same lock. The test forces the CPU completion order after the COPY fence has signaled. Concurrent GPU writes across the COPY and DIRECT queues, in-game frequency, and a gameplay symptom are outside the scope of this reproduction.
Contributor

I replayed 0973b6e4aa48 onto main at 57dea7f2367c. Git reported one conflict, in texture/ahead.rs. The resolution keeps #104's last lock and once check, uses staging.uploads.copied() inside the check, and updates the held hash from the same lock guard. note_held() would take last again. The existing #104 test now checks uploads.dirty(). The staged resolution is tree 2005bb6d9cd47c1d88742f551845805b205aa692.

On Windows 11 build 26300, RTX 4060 8 GB (driver 621.40), Rust 1.98.1, the integrated tree passed these checks.

  • Both existing #50 mip tests passed in separate processes with DARNER_UPLOAD_AHEAD and DARNER_PRELUDE_UPLOADS set to 0 and again with both set to 1. The GPU test exercises the prelude directly.
  • The #104 regression passed three times with both enabled. The eight other upload-ahead tests passed.
  • The 12-level BC7 reproduction with a real COPY fence and late CPU completion passed three times. After the ordinary list took over, the pending masks were 0x8 and 0x4 in the two submissions. The sampled GPU readback bytes were 0xb7 in mip 3 and 0x4d in mip 2.
  • Two writes before one submission read 65,536 and 262,144 source bytes out of 5,636,096, selected mips 2 and 3, and matched an independent full CPU detile across all 12 GPU mips in both runs.
  • The grouped watch:: run had the same failure on the integrated tree and on unmodified 57dea7f (87 passed in each). ask_once_by_res_splits_reservations_without_refusals recorded the plain allocation in the write journal. That test passed in isolation on both trees. The staged asset check passed for all seven files. cargo clippy --locked -p darner-gpu --all-targets --all-features -- -D warnings passed with a fresh build directory.

The patches below give the conflict resolution against main and the optional synthetic fixtures against the resolved tree. I used an isolated Darner home and cache. For the late-completion and two-mip cases I set DARNER_ADAPTER=RTX 4060, DARNER_UPLOAD_AHEAD=1, and DARNER_PRELUDE_UPLOADS=1. The tests cover the CPU publication after a completed COPY and the GPU readback. Frame times and pop-in in gameplay remain unmeasured.

cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::ahead::tests::late_completion_keeps_a_newer_list_refresh -- --exact --ignored --test-threads=1 --nocapture
cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::mip_upload_tests::late_ahead_completion_keeps_the_new_mip_pending -- --exact --ignored --test-threads=1 --nocapture
cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::mip_upload_tests::two_watched_bc7_mips_before_one_submit_match_a_full_refresh -- --exact --test-threads=1 --nocapture
Conflict resolution for texture/ahead.rs against main
diff --git a/crates/darner-gpu/src/texture/ahead.rs b/crates/darner-gpu/src/texture/ahead.rs
index 1dc70d0..956846d 100644
--- a/crates/darner-gpu/src/texture/ahead.rs
+++ b/crates/darner-gpu/src/texture/ahead.rs
@@ -258,7 +258,7 @@ fn claim(resource: This, first: u32, there: u64) -> Option<Taken> {
     let staging = super::staging(resource, &copy, first);
     super::PICKING.set(None);
     let Some(staging) = staging.filter(|s| {
-        !s.on_demand && !s.is_gpu() && s.first == s.level0 && !s.uploaded.load(Relaxed) && s.once.load(Relaxed)
+        !s.on_demand && !s.is_gpu() && s.first == s.level0 && !s.uploads.uploaded() && s.once.load(Relaxed)
     }) else {
         copy.ahead.store(LISTED, Relaxed);
         return turned_down();
@@ -521,8 +521,7 @@ fn finish(jobs: Vec<Arc<Job>>) {
             // staging buffer. It sets once=false before refreshing under this
             // lock. Only the original one-shot upload can still be marked clean.
             if staging.once.load(Relaxed) {
-                staging.uploaded.store(true, Relaxed);
-                staging.dirty.store(false, Relaxed);
+                staging.uploads.copied();
                 *staging.holds.lock().unwrap_or_else(|e| e.into_inner()) =
                     last.hash.map(|hash| (staging.first, hash));
             }
@@ -758,14 +757,14 @@ mod tests {
         submit(&mut waited);
         assert!(waited >= std::time::Duration::from_secs(1), "{waited:?}");
         assert!(!job.staging.once.load(Relaxed));
-        assert!(!job.staging.dirty.load(Relaxed));
+        assert!(!job.staging.uploads.dirty());
 
         const ROW_PITCH: u32 = 1024;
         const LEVEL_BYTES: usize = ROW_PITCH as usize * 64;
         let updated = vec![0xb7; LEVEL_BYTES];
         job.staging.layout.tile(tiled, 0, 0, &updated, ROW_PITCH as usize, LEVEL_BYTES).unwrap();
         job.staging.refresh();
-        assert!(job.staging.dirty.load(Relaxed));
+        assert!(job.staging.uploads.dirty());
         let copy = job.copy.clone();
         finish(vec![job]);
         submit(&mut waited);
Optional synthetic fixtures against the resolved tree
diff --git a/crates/darner-gpu/src/texture/ahead.rs b/crates/darner-gpu/src/texture/ahead.rs
index 956846d..de982bc 100644
--- a/crates/darner-gpu/src/texture/ahead.rs
+++ b/crates/darner-gpu/src/texture/ahead.rs
@@ -561,6 +561,18 @@ fn finish(jobs: Vec<Arc<Job>>) {
     crate::descriptor::host::flip_now();
 }
 
+#[cfg(test)]
+pub(super) fn copy_with_deferred_completion(resource: This) -> impl FnOnce() {
+    let Some(Taken::New(job)) = claim(resource, 0, u64::MAX) else {
+        panic!("the fresh texture must qualify for upload ahead");
+    };
+    let host = crate::host::host().unwrap();
+    let queue = workers().unwrap().clone();
+    let mut worker = Worker::new(&host.device, queue).unwrap();
+    worker.copy(std::slice::from_ref(&job), 1).unwrap();
+    move || finish(vec![job])
+}
+
 /// Whether `resource`'s host copy was filled here: no list still brings what
 /// it shows.
 pub(crate) fn there(resource: This) -> bool {
diff --git a/crates/darner-gpu/src/texture/mip_upload_tests.rs b/crates/darner-gpu/src/texture/mip_upload_tests.rs
index 21f8935..04b437c 100644
--- a/crates/darner-gpu/src/texture/mip_upload_tests.rs
+++ b/crates/darner-gpu/src/texture/mip_upload_tests.rs
@@ -4,9 +4,159 @@ use crate::memcalls::sys::{
 };
 
 #[test]
-fn one_watched_bc7_mip_matches_a_full_refresh() {
+#[ignore = "requires its own Windows process with the two upload switches enabled"]
+fn late_ahead_completion_keeps_the_new_mip_pending() {
+    use std::sync::atomic::Ordering::Relaxed;
+
+    let _watch = crate::watch::one_view_test();
+    let host = host().expect("the independent run requires a D3D12 device");
+    let (adapter, name, _) =
+        darner_shader::emit::host::hardware_adapter().expect("select a hardware adapter");
+    // SAFETY: both queries read the adapter IDs from live DXGI and D3D12 objects.
+    let (selected, actual) = unsafe {
+        (adapter.GetDesc1().unwrap().AdapterLuid, host.device.GetAdapterLuid())
+    };
+    assert_eq!(
+        (actual.HighPart, actual.LowPart),
+        (selected.HighPart, selected.LowPart)
+    );
+    assert!(name.contains("RTX 4060"), "{name}");
+    assert!(ahead::on() && prelude_uploads());
+
+    // A 2048x2048 BC7 chain with individually watched mips.
+    let desc = [3, 0, 0, 0, 2048, 0, 2048, 0xc_0001, 98, 1, 0, 0x10a, 0, 0];
+    let size = crate::resource::placed_bytes(&desc).unwrap() as usize;
+    const MEM_WRITE_WATCH: u32 = 0x20_0000;
+    // SAFETY: this test owns the committed allocation until all reads complete.
+    let ptr = unsafe {
+        VirtualAlloc(
+            std::ptr::null(),
+            size,
+            MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH,
+            PAGE_READWRITE,
+        )
+    }
+    .cast::<u8>();
+    assert!(!ptr.is_null());
+    // SAFETY: VirtualAlloc returned a committed allocation with at least size bytes.
+    let tiled = unsafe { std::slice::from_raw_parts_mut(ptr, size) };
+    const OLD: u8 = 0x1b;
+    const MIP_3: u8 = 0xb7;
+    const MIP_2: u8 = 0x4d;
+    tiled.fill(OLD);
+    let resource = crate::resource::texture_at(ptr as u64, &desc).unwrap();
+    crate::resource::want_level(resource, 0);
+    let copy = crate::resource::host_copy(resource).unwrap();
+
+    // The COPY queue and its fence are real. Pause at the point where its worker
+    // would publish completion on the CPU, and let an ordinary list time out.
+    let finish_ahead = ahead::copy_with_deferred_completion(resource);
+    let first = host.new_list().unwrap();
+    let wait = std::time::Instant::now();
+    upload_from(&first, resource, 0);
+    let wait = wait.elapsed();
+    assert!(wait >= std::time::Duration::from_secs(1), "{wait:?}");
+    first.close();
+    host.execute(&[&first]);
+    let staging = staging(resource, &copy, 0).unwrap();
+    assert!(!staging.once.load(Relaxed));
+    assert!(staging.uploads.uploaded() && !staging.uploads.dirty());
+    assert!(staging.last.lock().unwrap().watched_reservation.is_some());
+
+    let write = |tiled: &mut [u8], mip: u32, side: usize, value: u8| {
+        let replacement = vec![value; side * side];
+        staging.layout.tile(tiled, mip, 0, &replacement, side * 4, replacement.len()).unwrap();
+        assert_eq!(staging.refresh_now(), replacement.len());
+    };
+    let mut upload = PreludeUpload {
+        staging: staging.clone(),
+        copy: copy.clone(),
+        on_demand: None,
+        resource: resource as usize,
+        hoisted: None,
+        levels: mips::ALL,
+    };
+    let submit_pending = |upload: &mut PreludeUpload| {
+        if upload.finish_refresh().is_none() {
+            return 0;
+        }
+        let list = host.new_list().unwrap();
+        crate::list::ensure_state(&list, resource, D3D12_RESOURCE_STATE_COPY_DEST.0 as u32);
+        upload.record(&list.list);
+        list.close();
+        host.execute(&[&list]);
+        upload.levels
+    };
+
+    write(tiled, 3, 256, MIP_3);
+    assert!(staging.uploads.dirty());
+    finish_ahead();
+    assert!(ahead::there(resource));
+    let after_finish = submit_pending(&mut upload);
+    write(tiled, 2, 512, MIP_2);
+    let after_next_write = submit_pending(&mut upload);
+
+    let back = host.read_back_buffer(staging.bytes).unwrap();
+    let list = host.new_list().unwrap();
+    crate::list::ensure_state(&list, resource, D3D12_RESOURCE_STATE_COPY_SOURCE.0 as u32);
+    for mip in [2, 3] {
+        let to = D3D12_TEXTURE_COPY_LOCATION {
+            // SAFETY: the readback buffer outlives the command.
+            pResource: unsafe { std::mem::transmute_copy(&back) },
+            Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT,
+            Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 {
+                PlacedFootprint: staging.footprints[mip as usize],
+            },
+        };
+        let from = D3D12_TEXTURE_COPY_LOCATION {
+            // SAFETY: the host texture outlives the command.
+            pResource: unsafe { std::mem::transmute_copy(&copy.texture) },
+            Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX,
+            Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: mip },
+        };
+        // SAFETY: the device supplied these footprints for this texture.
+        unsafe { list.list.CopyTextureRegion(&to, 0, 0, 0, &from, None) };
+    }
+    list.close();
+    host.execute(&[&list]);
+    let mut data = std::ptr::null_mut();
+    // SAFETY: the readback resource is live and both commands have completed.
+    let (mip_2_byte, mip_3_byte) = unsafe {
+        back.Map(0, None, Some(&mut data)).unwrap();
+        let data = data.cast::<u8>();
+        let mip_2_byte = data.add(staging.footprints[2].Offset as usize).read();
+        let mip_3_byte = data.add(staging.footprints[3].Offset as usize).read();
+        back.Unmap(0, None);
+        (mip_2_byte, mip_3_byte)
+    };
+    eprintln!(
+        "{name}: listed waited {} ms, masks {after_finish:#x}/{after_next_write:#x}, GPU bytes for mips 2/3 {mip_2_byte:#x}/{mip_3_byte:#x}",
+        wait.as_millis()
+    );
+    crate::resource::resource_release(resource);
+    crate::watch::title_memory_freed(ptr as usize, size);
+    // SAFETY: no in-flight command reads the source allocation.
+    unsafe { VirtualFree(ptr.cast(), 0, MEM_RELEASE) };
+    assert_eq!(mip_2_byte, MIP_2);
+    assert_eq!(mip_3_byte, MIP_3, "the late completion lost mip 3");
+    assert_eq!((after_finish, after_next_write), (1 << 3, 1 << 2));
+}
+
+#[test]
+fn two_watched_bc7_mips_before_one_submit_match_a_full_refresh() {
     let _watch = crate::watch::one_view_test();
-    let Some(host) = host() else { return };
+    let host = host().expect("the independent run requires a D3D12 device");
+    let (adapter, name, _) =
+        darner_shader::emit::host::hardware_adapter().expect("select a hardware adapter");
+    // SAFETY: both queries read the adapter IDs from live DXGI and D3D12 objects.
+    let (selected, actual) = unsafe {
+        (adapter.GetDesc1().unwrap().AdapterLuid, host.device.GetAdapterLuid())
+    };
+    assert_eq!(
+        (actual.HighPart, actual.LowPart),
+        (selected.HighPart, selected.LowPart)
+    );
+    assert!(name.contains("RTX 4060"), "{name}");
     let desc = [3, 0, 0, 0, 2048, 0, 2048, 0xc_0001, 98, 1, 0, 0x10a, 0, 0];
     let size = crate::resource::placed_bytes(&desc).unwrap() as usize;
     const MEM_WRITE_WATCH: u32 = 0x20_0000;
@@ -71,10 +221,24 @@ fn one_watched_bc7_mip_matches_a_full_refresh() {
         replacement.len(),
         "only the 256x256 BC7 level is read"
     );
+    let larger_replacement = vec![0x4d; 512 * 512];
+    staging
+        .layout
+        .tile(tiled, 2, 0, &larger_replacement, 128 * 16, larger_replacement.len())
+        .unwrap();
+    assert_eq!(
+        staging.refresh_now(),
+        larger_replacement.len(),
+        "only the 512x512 BC7 level is read on the second refresh"
+    );
     assert_eq!(upload.finish_refresh(), Some(false));
-    assert_eq!(upload.levels, 1 << 3);
+    assert_eq!(upload.levels, (1 << 2) | (1 << 3));
     // SAFETY: the synchronous refresh is complete and the staging mapping is live.
     assert_eq!(unsafe { clean_byte.read() }, marker);
+    eprintln!(
+        "{name}: read {} + {} bytes of {}; selected mips 2 and 3",
+        replacement.len(), larger_replacement.len(), staging.read
+    );
     run_upload(&upload);
     assert_eq!(staging.refresh_now(), 0);
     assert_eq!(upload.finish_refresh(), None);
@@ -129,6 +293,7 @@ fn one_watched_bc7_mip_matches_a_full_refresh() {
     }
     // SAFETY: the CPU read is complete.
     unsafe { back.Unmap(0, None) };
+    eprintln!("D3D12 readback matched the full CPU detile across all {} mips", staging.layout.mips.len());
 
     let tail = staging.layout.first_tail_mip;
     let offset = staging.layout.offset(tail, 0, 0, 0).unwrap() as usize;
I replayed `0973b6e4aa48` onto `main` at `57dea7f2367c`. Git reported one conflict, in `texture/ahead.rs`. The resolution keeps #104's `last` lock and `once` check, uses `staging.uploads.copied()` inside the check, and updates the held hash from the same lock guard. `note_held()` would take `last` again. The existing #104 test now checks `uploads.dirty()`. The staged resolution is tree `2005bb6d9cd47c1d88742f551845805b205aa692`. On Windows 11 build 26300, RTX 4060 8 GB (driver 621.40), Rust 1.98.1, the integrated tree passed these checks. - Both existing #50 mip tests passed in separate processes with `DARNER_UPLOAD_AHEAD` and `DARNER_PRELUDE_UPLOADS` set to 0 and again with both set to 1. The GPU test exercises the prelude directly. - The #104 regression passed three times with both enabled. The eight other upload-ahead tests passed. - The 12-level BC7 reproduction with a real COPY fence and late CPU completion passed three times. After the ordinary list took over, the pending masks were `0x8` and `0x4` in the two submissions. The sampled GPU readback bytes were `0xb7` in mip 3 and `0x4d` in mip 2. - Two writes before one submission read 65,536 and 262,144 source bytes out of 5,636,096, selected mips 2 and 3, and matched an independent full CPU detile across all 12 GPU mips in both runs. - The grouped `watch::` run had the same failure on the integrated tree and on unmodified `57dea7f` (87 passed in each). `ask_once_by_res_splits_reservations_without_refusals` recorded the plain allocation in the write journal. That test passed in isolation on both trees. The staged asset check passed for all seven files. `cargo clippy --locked -p darner-gpu --all-targets --all-features -- -D warnings` passed with a fresh build directory. The patches below give the conflict resolution against `main` and the optional synthetic fixtures against the resolved tree. I used an isolated Darner home and cache. For the late-completion and two-mip cases I set `DARNER_ADAPTER=RTX 4060`, `DARNER_UPLOAD_AHEAD=1`, and `DARNER_PRELUDE_UPLOADS=1`. The tests cover the CPU publication after a completed COPY and the GPU readback. Frame times and pop-in in gameplay remain unmeasured. ```powershell cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::ahead::tests::late_completion_keeps_a_newer_list_refresh -- --exact --ignored --test-threads=1 --nocapture cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::mip_upload_tests::late_ahead_completion_keeps_the_new_mip_pending -- --exact --ignored --test-threads=1 --nocapture cargo --config 'profile.test.debug=0' test --locked -p darner-gpu --lib texture::mip_upload_tests::two_watched_bc7_mips_before_one_submit_match_a_full_refresh -- --exact --test-threads=1 --nocapture ``` <details> <summary>Conflict resolution for texture/ahead.rs against main</summary> ```diff diff --git a/crates/darner-gpu/src/texture/ahead.rs b/crates/darner-gpu/src/texture/ahead.rs index 1dc70d0..956846d 100644 --- a/crates/darner-gpu/src/texture/ahead.rs +++ b/crates/darner-gpu/src/texture/ahead.rs @@ -258,7 +258,7 @@ fn claim(resource: This, first: u32, there: u64) -> Option<Taken> { let staging = super::staging(resource, &copy, first); super::PICKING.set(None); let Some(staging) = staging.filter(|s| { - !s.on_demand && !s.is_gpu() && s.first == s.level0 && !s.uploaded.load(Relaxed) && s.once.load(Relaxed) + !s.on_demand && !s.is_gpu() && s.first == s.level0 && !s.uploads.uploaded() && s.once.load(Relaxed) }) else { copy.ahead.store(LISTED, Relaxed); return turned_down(); @@ -521,8 +521,7 @@ fn finish(jobs: Vec<Arc<Job>>) { // staging buffer. It sets once=false before refreshing under this // lock. Only the original one-shot upload can still be marked clean. if staging.once.load(Relaxed) { - staging.uploaded.store(true, Relaxed); - staging.dirty.store(false, Relaxed); + staging.uploads.copied(); *staging.holds.lock().unwrap_or_else(|e| e.into_inner()) = last.hash.map(|hash| (staging.first, hash)); } @@ -758,14 +757,14 @@ mod tests { submit(&mut waited); assert!(waited >= std::time::Duration::from_secs(1), "{waited:?}"); assert!(!job.staging.once.load(Relaxed)); - assert!(!job.staging.dirty.load(Relaxed)); + assert!(!job.staging.uploads.dirty()); const ROW_PITCH: u32 = 1024; const LEVEL_BYTES: usize = ROW_PITCH as usize * 64; let updated = vec![0xb7; LEVEL_BYTES]; job.staging.layout.tile(tiled, 0, 0, &updated, ROW_PITCH as usize, LEVEL_BYTES).unwrap(); job.staging.refresh(); - assert!(job.staging.dirty.load(Relaxed)); + assert!(job.staging.uploads.dirty()); let copy = job.copy.clone(); finish(vec![job]); submit(&mut waited); ``` </details> <details> <summary>Optional synthetic fixtures against the resolved tree</summary> ```diff diff --git a/crates/darner-gpu/src/texture/ahead.rs b/crates/darner-gpu/src/texture/ahead.rs index 956846d..de982bc 100644 --- a/crates/darner-gpu/src/texture/ahead.rs +++ b/crates/darner-gpu/src/texture/ahead.rs @@ -561,6 +561,18 @@ fn finish(jobs: Vec<Arc<Job>>) { crate::descriptor::host::flip_now(); } +#[cfg(test)] +pub(super) fn copy_with_deferred_completion(resource: This) -> impl FnOnce() { + let Some(Taken::New(job)) = claim(resource, 0, u64::MAX) else { + panic!("the fresh texture must qualify for upload ahead"); + }; + let host = crate::host::host().unwrap(); + let queue = workers().unwrap().clone(); + let mut worker = Worker::new(&host.device, queue).unwrap(); + worker.copy(std::slice::from_ref(&job), 1).unwrap(); + move || finish(vec![job]) +} + /// Whether `resource`'s host copy was filled here: no list still brings what /// it shows. pub(crate) fn there(resource: This) -> bool { diff --git a/crates/darner-gpu/src/texture/mip_upload_tests.rs b/crates/darner-gpu/src/texture/mip_upload_tests.rs index 21f8935..04b437c 100644 --- a/crates/darner-gpu/src/texture/mip_upload_tests.rs +++ b/crates/darner-gpu/src/texture/mip_upload_tests.rs @@ -4,9 +4,159 @@ use crate::memcalls::sys::{ }; #[test] -fn one_watched_bc7_mip_matches_a_full_refresh() { +#[ignore = "requires its own Windows process with the two upload switches enabled"] +fn late_ahead_completion_keeps_the_new_mip_pending() { + use std::sync::atomic::Ordering::Relaxed; + + let _watch = crate::watch::one_view_test(); + let host = host().expect("the independent run requires a D3D12 device"); + let (adapter, name, _) = + darner_shader::emit::host::hardware_adapter().expect("select a hardware adapter"); + // SAFETY: both queries read the adapter IDs from live DXGI and D3D12 objects. + let (selected, actual) = unsafe { + (adapter.GetDesc1().unwrap().AdapterLuid, host.device.GetAdapterLuid()) + }; + assert_eq!( + (actual.HighPart, actual.LowPart), + (selected.HighPart, selected.LowPart) + ); + assert!(name.contains("RTX 4060"), "{name}"); + assert!(ahead::on() && prelude_uploads()); + + // A 2048x2048 BC7 chain with individually watched mips. + let desc = [3, 0, 0, 0, 2048, 0, 2048, 0xc_0001, 98, 1, 0, 0x10a, 0, 0]; + let size = crate::resource::placed_bytes(&desc).unwrap() as usize; + const MEM_WRITE_WATCH: u32 = 0x20_0000; + // SAFETY: this test owns the committed allocation until all reads complete. + let ptr = unsafe { + VirtualAlloc( + std::ptr::null(), + size, + MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH, + PAGE_READWRITE, + ) + } + .cast::<u8>(); + assert!(!ptr.is_null()); + // SAFETY: VirtualAlloc returned a committed allocation with at least size bytes. + let tiled = unsafe { std::slice::from_raw_parts_mut(ptr, size) }; + const OLD: u8 = 0x1b; + const MIP_3: u8 = 0xb7; + const MIP_2: u8 = 0x4d; + tiled.fill(OLD); + let resource = crate::resource::texture_at(ptr as u64, &desc).unwrap(); + crate::resource::want_level(resource, 0); + let copy = crate::resource::host_copy(resource).unwrap(); + + // The COPY queue and its fence are real. Pause at the point where its worker + // would publish completion on the CPU, and let an ordinary list time out. + let finish_ahead = ahead::copy_with_deferred_completion(resource); + let first = host.new_list().unwrap(); + let wait = std::time::Instant::now(); + upload_from(&first, resource, 0); + let wait = wait.elapsed(); + assert!(wait >= std::time::Duration::from_secs(1), "{wait:?}"); + first.close(); + host.execute(&[&first]); + let staging = staging(resource, &copy, 0).unwrap(); + assert!(!staging.once.load(Relaxed)); + assert!(staging.uploads.uploaded() && !staging.uploads.dirty()); + assert!(staging.last.lock().unwrap().watched_reservation.is_some()); + + let write = |tiled: &mut [u8], mip: u32, side: usize, value: u8| { + let replacement = vec![value; side * side]; + staging.layout.tile(tiled, mip, 0, &replacement, side * 4, replacement.len()).unwrap(); + assert_eq!(staging.refresh_now(), replacement.len()); + }; + let mut upload = PreludeUpload { + staging: staging.clone(), + copy: copy.clone(), + on_demand: None, + resource: resource as usize, + hoisted: None, + levels: mips::ALL, + }; + let submit_pending = |upload: &mut PreludeUpload| { + if upload.finish_refresh().is_none() { + return 0; + } + let list = host.new_list().unwrap(); + crate::list::ensure_state(&list, resource, D3D12_RESOURCE_STATE_COPY_DEST.0 as u32); + upload.record(&list.list); + list.close(); + host.execute(&[&list]); + upload.levels + }; + + write(tiled, 3, 256, MIP_3); + assert!(staging.uploads.dirty()); + finish_ahead(); + assert!(ahead::there(resource)); + let after_finish = submit_pending(&mut upload); + write(tiled, 2, 512, MIP_2); + let after_next_write = submit_pending(&mut upload); + + let back = host.read_back_buffer(staging.bytes).unwrap(); + let list = host.new_list().unwrap(); + crate::list::ensure_state(&list, resource, D3D12_RESOURCE_STATE_COPY_SOURCE.0 as u32); + for mip in [2, 3] { + let to = D3D12_TEXTURE_COPY_LOCATION { + // SAFETY: the readback buffer outlives the command. + pResource: unsafe { std::mem::transmute_copy(&back) }, + Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { + PlacedFootprint: staging.footprints[mip as usize], + }, + }; + let from = D3D12_TEXTURE_COPY_LOCATION { + // SAFETY: the host texture outlives the command. + pResource: unsafe { std::mem::transmute_copy(&copy.texture) }, + Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: mip }, + }; + // SAFETY: the device supplied these footprints for this texture. + unsafe { list.list.CopyTextureRegion(&to, 0, 0, 0, &from, None) }; + } + list.close(); + host.execute(&[&list]); + let mut data = std::ptr::null_mut(); + // SAFETY: the readback resource is live and both commands have completed. + let (mip_2_byte, mip_3_byte) = unsafe { + back.Map(0, None, Some(&mut data)).unwrap(); + let data = data.cast::<u8>(); + let mip_2_byte = data.add(staging.footprints[2].Offset as usize).read(); + let mip_3_byte = data.add(staging.footprints[3].Offset as usize).read(); + back.Unmap(0, None); + (mip_2_byte, mip_3_byte) + }; + eprintln!( + "{name}: listed waited {} ms, masks {after_finish:#x}/{after_next_write:#x}, GPU bytes for mips 2/3 {mip_2_byte:#x}/{mip_3_byte:#x}", + wait.as_millis() + ); + crate::resource::resource_release(resource); + crate::watch::title_memory_freed(ptr as usize, size); + // SAFETY: no in-flight command reads the source allocation. + unsafe { VirtualFree(ptr.cast(), 0, MEM_RELEASE) }; + assert_eq!(mip_2_byte, MIP_2); + assert_eq!(mip_3_byte, MIP_3, "the late completion lost mip 3"); + assert_eq!((after_finish, after_next_write), (1 << 3, 1 << 2)); +} + +#[test] +fn two_watched_bc7_mips_before_one_submit_match_a_full_refresh() { let _watch = crate::watch::one_view_test(); - let Some(host) = host() else { return }; + let host = host().expect("the independent run requires a D3D12 device"); + let (adapter, name, _) = + darner_shader::emit::host::hardware_adapter().expect("select a hardware adapter"); + // SAFETY: both queries read the adapter IDs from live DXGI and D3D12 objects. + let (selected, actual) = unsafe { + (adapter.GetDesc1().unwrap().AdapterLuid, host.device.GetAdapterLuid()) + }; + assert_eq!( + (actual.HighPart, actual.LowPart), + (selected.HighPart, selected.LowPart) + ); + assert!(name.contains("RTX 4060"), "{name}"); let desc = [3, 0, 0, 0, 2048, 0, 2048, 0xc_0001, 98, 1, 0, 0x10a, 0, 0]; let size = crate::resource::placed_bytes(&desc).unwrap() as usize; const MEM_WRITE_WATCH: u32 = 0x20_0000; @@ -71,10 +221,24 @@ fn one_watched_bc7_mip_matches_a_full_refresh() { replacement.len(), "only the 256x256 BC7 level is read" ); + let larger_replacement = vec![0x4d; 512 * 512]; + staging + .layout + .tile(tiled, 2, 0, &larger_replacement, 128 * 16, larger_replacement.len()) + .unwrap(); + assert_eq!( + staging.refresh_now(), + larger_replacement.len(), + "only the 512x512 BC7 level is read on the second refresh" + ); assert_eq!(upload.finish_refresh(), Some(false)); - assert_eq!(upload.levels, 1 << 3); + assert_eq!(upload.levels, (1 << 2) | (1 << 3)); // SAFETY: the synchronous refresh is complete and the staging mapping is live. assert_eq!(unsafe { clean_byte.read() }, marker); + eprintln!( + "{name}: read {} + {} bytes of {}; selected mips 2 and 3", + replacement.len(), larger_replacement.len(), staging.read + ); run_upload(&upload); assert_eq!(staging.refresh_now(), 0); assert_eq!(upload.finish_refresh(), None); @@ -129,6 +293,7 @@ fn one_watched_bc7_mip_matches_a_full_refresh() { } // SAFETY: the CPU read is complete. unsafe { back.Unmap(0, None) }; + eprintln!("D3D12 readback matched the full CPU detile across all {} mips", staging.layout.mips.len()); let tail = staging.layout.first_tail_mip; let offset = staging.layout.offset(tail, 0, 0, 0).unwrap() as usize; ``` </details>
First-time contributor

One patched attempt completed the two-minute road route at 22.04 rendered FPS, with p99 81.02 ms and five frames over 100 ms. Its control reached 21.84 FPS, p99 83.86 ms, and four frames over 100 ms. The second patched attempt lost the device 12.35 s before the route marker. That leaves one completed pair with variable traffic, and the cause of the hang remains open.

Device loss. Last successful present 2775. At 19:46:07.422896 UTC on December 3 the log recorded a device loss waiting for fence 29550, HRESULT 0x887A0006 (DXGI_ERROR_DEVICE_HUNG). DRED page-fault reporting was enabled and returned no page fault. Breadcrumb capture was off. The external input recorder continued after the device loss, but the marked window contained zero successful frame intervals. I excluded it from the performance comparison.

Archived builds and setup. Main 1a5286a78d, candidate 03d6a98eb1 on that base. Git stable patch ID 7be7d33a77fe9dcb97b5be947cbede32d50581bf matches upstream 0973b6e4aa. RTX 4070 Ti SUPER 16 GB, driver 617.14, i5-13600KF, 32 GB RAM, Windows 11. Series X, native 2560×1440 SDR, hardware RT off, DLSS off, FG off, 30 FPS cap. Same copied save, warm cache, same outdoor road route. The recordings predate the current release. I could not verify texture pop-in or identify the GPU command that hung.

One patched attempt completed the two-minute road route at 22.04 rendered FPS, with p99 81.02 ms and five frames over 100 ms. Its control reached 21.84 FPS, p99 83.86 ms, and four frames over 100 ms. The second patched attempt lost the device 12.35 s before the route marker. That leaves one completed pair with variable traffic, and the cause of the hang remains open. **Device loss.** Last successful present 2775. At 19:46:07.422896 UTC on December 3 the log recorded a device loss waiting for fence 29550, HRESULT `0x887A0006` (`DXGI_ERROR_DEVICE_HUNG`). DRED page-fault reporting was enabled and returned no page fault. Breadcrumb capture was off. The external input recorder continued after the device loss, but the marked window contained zero successful frame intervals. I excluded it from the performance comparison. **Archived builds and setup.** Main `1a5286a78d`, candidate `03d6a98eb1` on that base. Git stable patch ID `7be7d33a77fe9dcb97b5be947cbede32d50581bf` matches upstream `0973b6e4aa`. RTX 4070 Ti SUPER 16 GB, driver 617.14, i5-13600KF, 32 GB RAM, Windows 11. Series X, native 2560×1440 SDR, hardware RT off, DLSS off, FG off, 30 FPS cap. Same copied save, warm cache, same outdoor road route. The recordings predate the current release. I could not verify texture pop-in or identify the GPU command that hung.
Contributor

Tested on a full card with hardware RT and frame generation: slower here, and the texture queue grows.

Setup. RTX 5070 Ti 16 GB, Ryzen 7 7800X3D, 31 GB RAM, Series X profile, 1440p, DLAA, frame generation 2x, DARNER_HW_RT=1. The card runs at its limit in this scene: VRAM peak about 15.9 GB of 16, DLSS VRAM warning in every run. Route: gta-bench-kit cam-city60 (65 s of city camera), first 60 s of each log skipped for the log figures.

Builds. Both from the same tree, cargo build --release -p darner --features bench-remote, LTO off, codegen-units=256, so the only difference is this PR:

  • base: main 57dea7f
  • PR: main 57dea7f with this PR merged (head 0973b6e4). The texture/ahead.rs finish() conflict resolved the same way as the resolution posted above.

Frame times (median of runs, spread max−min in brackets):

base (2 runs) this PR (3 runs)
fps median 12.6 [0.5] 9.7 [1.0]
fps p10 8.3 [0.5] 5.1 [0.7]
p99 frame time 242 ms [106] 630 ms [312]
frames over 100 ms 20.9 % [4.9] 54.0 % [16.2]
textures due (bench average) 4,665 [1,738] 7,381 [1,211]
VRAM peak 15,876 MB [20] 15,951 MB [697]

Two of the three PR runs come from an earlier batch with the same exe and settings; the base and PR runs of the last batch were interleaved (base, PR, base).

Texture queue from the game logs (last batch: one PR run between the two base runs):

base PR base
textures due, median / max 6,140 / 7,457 7,260 / 10,768 4,793 / 7,637
oldest not uploaded, p90 / max (frames) 297 / 384 948 / 1,847 766 / 1,886
passes stopped at their time 84 % 100 % 91 %
pass time per second 148 ms 118 ms 169 ms
uploads per second 1,479 993 1,665

So on this card the pass hits its time limit on every frame and gets through about a third fewer uploads per second, and the queue of due textures is larger. I haven't looked into why each upload costs more here. The neutral pair above was with RT, frame generation and DLSS off, where the card likely has room; this may only show when VRAM is full.

Tested on a full card with hardware RT and frame generation: slower here, and the texture queue grows. **Setup.** RTX 5070 Ti 16 GB, Ryzen 7 7800X3D, 31 GB RAM, Series X profile, 1440p, DLAA, frame generation 2x, `DARNER_HW_RT=1`. The card runs at its limit in this scene: VRAM peak about 15.9 GB of 16, DLSS VRAM warning in every run. Route: gta-bench-kit `cam-city60` (65 s of city camera), first 60 s of each log skipped for the log figures. **Builds.** Both from the same tree, `cargo build --release -p darner --features bench-remote`, LTO off, `codegen-units=256`, so the only difference is this PR: - base: `main` 57dea7f - PR: `main` 57dea7f with this PR merged (head 0973b6e4). The `texture/ahead.rs` `finish()` conflict resolved the same way as the resolution posted above. **Frame times** (median of runs, spread max−min in brackets): | | base (2 runs) | this PR (3 runs) | |---|---|---| | fps median | 12.6 [0.5] | 9.7 [1.0] | | fps p10 | 8.3 [0.5] | 5.1 [0.7] | | p99 frame time | 242 ms [106] | 630 ms [312] | | frames over 100 ms | 20.9 % [4.9] | 54.0 % [16.2] | | textures due (bench average) | 4,665 [1,738] | 7,381 [1,211] | | VRAM peak | 15,876 MB [20] | 15,951 MB [697] | Two of the three PR runs come from an earlier batch with the same exe and settings; the base and PR runs of the last batch were interleaved (base, PR, base). **Texture queue from the game logs** (last batch: one PR run between the two base runs): | | base | PR | base | |---|---|---|---| | textures due, median / max | 6,140 / 7,457 | 7,260 / 10,768 | 4,793 / 7,637 | | oldest not uploaded, p90 / max (frames) | 297 / 384 | 948 / 1,847 | 766 / 1,886 | | passes stopped at their time | 84 % | 100 % | 91 % | | pass time per second | 148 ms | 118 ms | 169 ms | | uploads per second | 1,479 | 993 | 1,665 | So on this card the pass hits its time limit on every frame and gets through about a third fewer uploads per second, and the queue of due textures is larger. I haven't looked into why each upload costs more here. The neutral pair above was with RT, frame generation and DLSS off, where the card likely has room; this may only show when VRAM is full.
Owner

Holding this PR. The A/B in comment 857813 (5070 Ti, full card, same tree with only this PR added) shows it slower when video memory is saturated:

  • median 12.6 → 9.7 fps;
  • frames over 100 ms 20.9% → 54.0%;
  • textures waiting 4,665 → 7,381.
    Together with the 0x887A0006 hang on a PR arm (comment 857251), it can't go in as is. A rework would need to show no loss on a card at its VRAM limit; that's the case that regresses.
Holding this PR. The A/B in comment 857813 (5070 Ti, full card, same tree with only this PR added) shows it slower when video memory is saturated: - median 12.6 → 9.7 fps; - frames over 100 ms 20.9% → 54.0%; - textures waiting 4,665 → 7,381. Together with the 0x887A0006 hang on a PR arm (comment 857251), it can't go in as is. A rework would need to show no loss on a card at its VRAM limit; that's the case that regresses.
Keep upload-ahead completion under the upstream ownership lock and clear the pending mip mask only for the original one-shot upload.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'perf-streamed-texture-mips:holoslicer-perf-streamed-texture-mips'
git switch 'holoslicer-perf-streamed-texture-mips'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'holoslicer-perf-streamed-texture-mips'
git switch 'holoslicer-perf-streamed-texture-mips'
git rebase 'main'
git switch 'main'
git merge --ff-only 'holoslicer-perf-streamed-texture-mips'
git switch 'holoslicer-perf-streamed-texture-mips'
git rebase 'main'
git switch 'main'
git merge --no-ff 'holoslicer-perf-streamed-texture-mips'
git switch 'main'
git merge --squash 'holoslicer-perf-streamed-texture-mips'
git switch 'main'
git merge --ff-only 'holoslicer-perf-streamed-texture-mips'
git switch 'main'
git merge 'holoslicer-perf-streamed-texture-mips'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
5 participants
Notifications
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
TrustNo1/Darner!50
No description provided.