fix(gpu,shader): port Wave 9A texture upload, linear RT readback, and export fixes #426
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/426"
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?
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T07:59:03Z.
Summary (Wave 9A: Indoor Lighting, Texture & Shader Visual Fixes)
Ports and adapts the applicable GPU and shader fixes from three verified GPL-3.0 upstream commits onto MiniVI without regressing existing MiniVI features (PR #420 ound_alpha, PR #423 descriptor mirroring, Wave 7B placed-view eviction, or VICTORY_KILL_CONTINUE):
** yr0nsur/Darner d070f0 (PR #94, GPL-3.0) — Indoor particle & dust light bounded (VICTORY_AMBIENT_ALPHA)**
ReTerryDavis/ReVIctory 2b910e0 (GPL-3.0) — BC/grey texture artifacts ( exture/ahead.rs)
ReTerryDavis/ReVIctory dc4843 (GPL-3.0) — GPU & shader fixes only
esource.rs, shadow.rs, exback.rs, host.rs, list.rs, draw.rs):
esource::is_linear_2d_capture_rt (single-mip, single-slice, single-sample linear RGBA8/BGRA8 render targets outside write-combined pools) and
esource::target_copy_at (live target lookup for CopyMemoryToMemoryX).
esolve), and wired CopyMemoryToMemoryX GPU-to-CPU target readback via HostList::texture_copy_to_memory.
Files Changed
Verification
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T08:01:58Z.
Triage (
8b5d82ee, CIIN_PROGRESS,MERGEABLE):+451/-21across 8 files, zero new env toggles): guardstexture/ahead.rsagainst unpopulated CPU staging & re-queues skipped uploads viaread_short(), adds linear 2D capture RT readback (texback.rs/resource.rs), and fixes shader live-quad export (emit/lower.rs).crates/victory-gpu/src/host.rswith#425(whichever merges second will need a quick rebase).triage: needs gpu test— awaiting CIcheckPASS + Gate 2 Audit (#282) + Gate 3 plain---release&--features diagnosticsPNG visual verification.