f77b4d80d0
Merge remote-tracking branch 'origin/main' into fix/rdna2spirv-f16-interp-computed-ij
2026-11-28 03:05:44 -08:00
f5dc20bcbd
Merge pull request #2225 from MoonEyes/test/gta6rt-no-tls-callbacks
...
tests: fail when gta6rt.exe has TLS callbacks (TEST-GTA6RT-NO-TLS-CALLBACKS)
2026-11-28 11:47:04 +01:00
6032150f18
runtime: avoid Windows rpcndr.h 'small' macro clash in d3d12_xs_list_values.h
...
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 05:40:53 -05:00
5c5ebeef06
Merge branch 'r10/tex-overlap' into test/round10
2026-11-28 05:38:11 -05:00
b6d49ca0e2
Merge branch 'r10/mirror-arm' into test/round10
2026-11-28 05:38:11 -05:00
6bd17e22a1
runtime: Round 10 WS3 — GPU-met gate vis_seq=0, retroactive GPU-to-GPU wait relay, coalescer reorder, readable fast path & decoupled GPU profile resolve
...
- Add VulkanFence::signal_gpu_relay() (vis_seq=0) strictly for GPU-landed list-value gates (!force && !lost && !action && !cpu_met)
- Retroactive GPU-to-GPU relay via QueueHolds::relay_wait() + VulkanQueue wait substitution (never GPU-signaling values->gate, reversing wait() before add_gate(), requiring after_gate==0 && different queue)
- Decouple gpu_profile_.resolve() onto lazy resolver thread off FenceWaitDispatcher & throttle take_open() device-loss checks
- Reorder BeforeExecuteCoalescer to wb -> mirror -> flush -> tex -> shadows -> 2nd flush -> conditional 2nd tex (killing in_feed CPU fallbacks)
- Hoist host_stop & add negative caching in TextureVqCache + Stage 2b all-16 Cell::restore[] readability bypass
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 05:38:11 -05:00
70ea06a50b
runtime: Round 10 WS2 — shared Cell::known_* cache, TitleHeap changed() scoping, 64-tile bridging, fused AVX2 copy_and_sum_256 & filter/collect cuts
...
- Move title_memory_map::changed() into TitleHeap::hooks.commit/decommit and !from_mirror_heap in free_title_block()
- Share Cell::known_* across CellGuard & TitleTextureCells (no PAGE_READONLY no-guard cache; MEM_RESERVE intra-pass in TitleTextureCells, cross-pass in CellGuard; seed on xmem::map_view)
- Persist TitleTextureCells VQ cache across outer batches; bridge across run_already_armed_ tiles with uniform restore[0..15] up to kMaxBridgeGap=64
- Persist 1024-entry local_mirror per ConsoleHeap*, flush Phase A/B disjointly, handle !base V#s in Phase A, skip redundant WC BAR writes for waiting T#s
- Fused SEH-safe AVX2/SSE2 guarded::copy_and_sum_256(), kMaxWorkers=8, single-reader title_write_watch::ask() fast path preserving mark() entries
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 05:38:11 -05:00
ddf184c2f3
runtime: Round 10 WS1 — fix bindless GC thrash via evictable console-heap tracking, shared_zero_ dedup & two-phase dead-key sweep
...
- Track exact live console-heap textures via ConsoleHeapSlotRecords 0<->1 callback under pure leaf live_console_textures_mutex
- Classify non-UAV non-MS !known_heap placed-texture views as evictable when console_heap_count > 0; preserve evictable across PendingImage::keys & publish_streamed_texture()
- Propagate is_zero_view in bind_image_locked() and gate api_owner_address on is_zero_view && console_heap_count==0
- Two-phase GC (Phase 1 dead-key sweep emitting 0 texture_gone, Phase 2 emergency live-LRU only on hard_full) with evictable_views_in_dim O(1) exit, 8192-slot hysteresis, strict retire-ticket & wall-clock cooldown (always stamped on empty candidates)
- Emit SlotChange::texture_room in set_bindless_release() only on 0 -> >0 free-slot transitions
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 05:38:10 -05:00
33db04a701
Merge pull request #1720 from PyZikYG/d3d12-calibration-queue-progress
...
d3d12: allow queue submissions during fallback clock calibration
2026-11-28 10:53:03 +01:00
53c8d40994
Merge pull request #958 from Kadamitas/restore/queue-child-lifetime
...
d3d12_xs: retain queue and fence wrappers through forwarded calls
2026-11-28 10:52:03 +01:00
287f643f22
Merge pull request #2493 from Tyrannys/rt-swapchain-mock-findings
...
dxgi_swapchain: retired swapchain, stale buffer count, unsupported surface, blit filter and composite alpha (RT-SWAPCHAIN-MOCK-FINDINGS)
2026-11-28 10:51:07 +01:00
52c84a71bf
Merge pull request #2399 from ERROR890/fix/pso-stream-view-instancing
...
d3d12_xs: capture a pipeline stream that carries a VIEW_INSTANCING subobject
2026-11-28 10:50:20 +01:00
ec02dde263
Merge pull request #1999 from lgr123/lgr123/runtime-xma-loop-end
...
Honor XMA loop-end subframes across linked packets
2026-11-28 10:49:39 +01:00
d344a33e24
Merge pull request #2227 from matinsanei/feat/fs-disk-free-space
...
file_system: add GetDiskFreeSpaceA/W and GetDiskFreeSpaceExA/W for console roots (RT-FS-DISK-FREE-SPACE)
2026-11-28 10:49:06 +01:00
80bedf24ae
Merge pull request #1724 from hugo0024/test-fma-fused-f16-runtime
...
tests: cs_fma_fused takes its f16 operands at run time, like its f32 ones (TEST-FMA-FUSED-F16-RUNTIME)
2026-11-28 10:48:27 +01:00
8f78261179
runtime: distinguish D3D12 API ViewKeys on shared placeholder images (fix d3d12_existing_heap)
...
Two distinct deferred shared-BC slot-133 placements share a placeholder VkImage
until promoted; keying non-title-heap ViewKeys by image.address gives each
resource its own bindless slot while preserving full title-heap ViewKey dedup.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 04:48:02 -05:00
a997a3c77a
Merge pull request #2302 from kirigayakazima/fix/dstorage-vectors-safety
...
dstorage_vectors: add CLI validation and atomic output write
2026-11-28 10:47:24 +01:00
dfa9c8649f
Merge pull request #2301 from kirigayakazima/fix/check-argv-modes-safety
...
runtime/test/check_argv_modes.py: harden preflight, child errors, Win env strip, atomic report
2026-11-28 10:46:50 +01:00
5c90c0a1c3
Merge pull request #2300 from kirigayakazima/fix/check-module-names-safety
...
runtime/test/check_module_names.py: harden preflight, child errors, BOM traces, and atomic report
2026-11-28 10:46:17 +01:00
08fb9805ac
Merge pull request #2296 from kirigayakazima/fix/check-sparse-queue-family-safety
...
runtime/test/check_sparse_queue_family.py: harden argv, LF settings, BOM traces, and OSError
2026-11-28 10:44:59 +01:00
dffbaf018b
Merge pull request #2295 from kirigayakazima/fix/check-tiny-frame-safety
...
runtime/test/check_tiny_frame.py: strip BOM, guard CLI/subprocess errors, fail on bad probe
2026-11-28 10:44:15 +01:00
12e13dd4a9
Merge branch 'r9/bindless-finish' into test/round9
2026-11-28 04:42:02 -05:00
a2a89938c5
Merge branch 'r9/tex-readback' into test/round9
2026-11-28 04:42:02 -05:00
f479b1f6c2
runtime: Round 9 WS3 — fix 65,536 bindless exhaustion via ViewKey sharing + GC, kill finish_in_place refusal storm & clean up shadows
...
- Refcounted ViewKey sharing across distinct T# keys with identical Vulkan view state + safe pressure-triggered GC of stale from_title_heap entries (preserving 16-bit ABI, API views, and live TitleTextures)
- O(1) low/high free-lists & counts in BindlessSet + sync_fast_state() held_images_/held_samplers_ hardening
- Pre-check bindless->has_free_image() before vkCreateImageView(), emit SlotChange::texture_room only when slots actually return to free, skip room_[1] wake when total_free_images()==0
- Zero-alloc const char* UnboundTsharpTracker & heap.refused_reasons, skip unchanged zero-index WC BAR writes
- Single-lock bind_title_image() out_index_word, unordered_map image_entries, GeometryViews dedicated WriteQueue + hot_overlap_tiles_, atomic console_heap_signature for update_address_guard()
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 04:42:02 -05:00
09f8cb66bf
runtime: Round 9 WS2 — read+back cache/coalescing, single-lock title_frames, TitleTextureCells gap-bridging, 8 MiB pool & 3D linear mips
...
- Separate title_texel_writes from title_map_changes_ (retry t.memory only when pending/filled_from/!fills) and coalesce title_texel_writes::note() up to 16,384 spans before overflow
- Enable cache_success=guard + sync_map() for t.mapped while keeping cache_failure=guard&&!mapped
- Single-lock zero-shared_ptr title_frames::run_end & backed_batch hooks + Stage-2 TextureVqCache
- TitleTextureCells::arm_batch(): range_clean_since() at all 3 sites, kMaxBridgeGap=8 pin-guarded bridging, c->armed_map_gen, batched sync_tile_peers()
- Raise TitleImagePool::largest_slot to 8 MiB (16 MiB page cap), pool non-RT/non-DS deferred textures, best-fit TitleImageUpload::take_slot(), 16 MiB job.tiled retention, linear 3D mips>1, readable/back/arm/cpu_fallback_by[6] telemetry
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 04:42:02 -05:00
84c7f469e6
runtime: Round 9 WS1 — CellGuard/reopen fast paths, WC streaming copy, 16 KiB strips, 7-part mirror split & coalescer tuning
...
- CellGuard::arm_batch(): zero-syscall all_armed + outside-s.mutex title_frames table-backed skip, MEM_RESERVE/PAGE_READONLY VQ cache with explicit cached_state, kMaxBridgeGap=32 (pin-guarded), disarm_batch/set_hot_batch for policy_.frame()
- geometry_writes::reopen(): range-scoped title_memory_map::changes_since() fast path with VirtualProtect(old) rollback
- TitleMirror::upload(): WC-aware copy_guarded_host(..., true) (MOVNTDQA), kStripBytes=16 KiB (64-piece strip mask), ~50 us WorkerPool spin, per-Unit sums slab
- 7-part refresh_page_mirror() sub-split telemetry (lock/feed/collect/arm/upload/filter/other + arm/upload breakdowns)
- watch_batch() in page_mirror_resolve_locked(), defer_fill=true only in page_mirror_chunk(), VulkanContext::cached_completed_retire_ticket(), pass_seq after write_back_titles()
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 04:42:01 -05:00
b5fbe90d2c
Merge pull request #2284 from kirigayakazima/fix/probe-signed-zero-safety
...
runtime/test/shaders/probe_signed_zero.py: validate harness, handle subprocess errors, add unit tests
2026-11-28 10:39:55 +01:00
8e7be20595
Merge pull request #2281 from kirigayakazima/fix/compute-fixture-safety
...
runtime/test/shaders/compute_fixture.py: validate group dimensions, shifts, and SGPR ranges
2026-11-28 10:39:23 +01:00
e76316b4cd
Merge pull request #1219 from robot00f/fix/device-filter-wine
...
test: run the device-filter tools through wine on a non-Windows host (#1150 )
2026-11-28 10:38:48 +01:00
b2a7dabd10
Merge main and preserve tier C reference checks across subgroup widths
2026-11-28 13:38:47 +05:00
6bbeaa274a
runtime: run before_execute on empty CommandList submissions (fix d3d12_existing_heap)
...
Titles and d3d12_existing_heap rely on ExecuteCommandLists(empty) + Signal() as
a synchronization point that flushes pending streamed views and title textures.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 03:37:06 -05:00
e9aaba0022
Merge branch 'r8/gates-floor' into test/round8
2026-11-28 03:31:07 -05:00
d4f17ae965
Merge branch 'r8/tex-fast' into test/round8
2026-11-28 03:31:07 -05:00
59db4b62b0
runtime: Round 8 WS3 — fix list-value gate TOCTOU, offload QueueHolds barriers, empty-batch/wait coalescing, replay floor & batched xmem slot-31
...
- Fix Pump::choose_release() TOCTOU on already-completed unlanded write groups/action gates + 10 ms quiet window on Reason::present
- Skip before_execute/visibility_seq on empty batches (preserving pending_wait_vis_seq_), coalesce past GPU-completed Waits (merging CPU vis_seq), cache CommandList summary, atomic unbuilt_sync_pipelines_ & BindlessSet clean fast-paths, hoist EmitScratch
- Dedicated QueueHolds barrier-drain thread with active_work_ tracking, wait_barriers_drained() ordering, cancel_after() wait, and non-blocking VulkanQueue::release_ready()
- Batch copy_page_mappings() per contiguous range & notify Event::replaced on mirror_heap decommit in xmem.cpp
- SEH-guarded aligned volatile read_value() (no noexcept under /EHsc) + 1000 ms slot-12 Vulkan fence mirror timeout
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 03:31:06 -05:00
fbeb3d9080
runtime: Round 8 WS2 — eliminate false texture re-uploads, zero-syscall arm_batch, parallel mirror hash & 512-job GPU detile batches
...
- Zero ResourceDesc padding words [1,2,3,13], compare non-format words + compatible formats in title_texture_matches(), preserve layout-equal slot-133 textures & mirror_hash_valid on unmap
- Guard refresh_title_texture() touch() against unreadable pending_stream textures while preserving deferred backing & publish_streamed_texture
- Zero-syscall already-armed Cell::restore[] check + table-page backed skip + PAGE_READONLY region cache in TitleTextureCells::arm_batch(); sync_tile_peers() skip in examine_batch()
- Snapshot geometry_writes serial before refresh_page_mirror() to skip redundant page_mirror_check_batch() dirtying on both CPU and GPU views; parallelize Pass 3 range_sum() >= 8 MiB
- Decouple GPU-mirror batching (512 jobs / 128 MiB) from CPU 64-slot limit, single-call vkAllocateDescriptorSets per sub-batch, kMaxScratchSlots=64, 4-part examine_ns telemetry
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 03:31:06 -05:00
f913286051
runtime: Round 8 WS1 — PageMirror batching, direct page table, L1-strip AVX2 hashing, sub-page readback & heap WC buffering
...
- CellGuard::arm_batch(): per-batch sync_known_protect, range-scoped changes_since(), gap-bridging (<=8 cold tiles, pin-guarded), reopen() fast-path via Cell::armed_map_gen
- shadow_keep::sum_of_batch_256() hoisted AVX2/SSE2/scalar batch hash + 4 KiB L1-hot strips in TitleMirror::upload() & prehash_readback_slice()
- TitleWritePolicy PageRef active lists (no frame_hot) + TitleMirror 2-level per-chunk direct page table + has_pending() fast-path + refs>1 alias handoff
- Feed coalescing + watch_batch/unwatch_batch in refresh_page_mirror()
- Sub-page 256B-aligned vkCmdCopyBuffer readback, page_mirror_buffer resolve_cache, OutScratchGuard WC buffering in apply_in_place_changes/finish_in_place, lock-free reclaim_arena/update_address_guard
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 03:31:04 -05:00
4938673668
Merge pull request #2081 from abnalstlll-byte/feat/rt-pipeline-checkpoint-guards-and-tests
...
feat(runtime): add input validation guards and unit test suite for d3d12_pipeline_checkpoint
2026-11-28 09:06:26 +01:00
766963e34a
Merge pull request #2487 from Tyrannys/rt-gameinput-clip-drag
...
gameinput: let go of the cursor clip while the window is dragged (RT-GAMEINPUT-CLIP-DRAG)
2026-11-28 09:06:15 +01:00
4295601b81
Merge pull request #2088 from c0pperlane/vk-pipeline-large-admission
...
vk_pipeline_check: a large module that must wait frees its worker (VK-PIPELINE-CHECK-LARGE-ADMISSION)
2026-11-28 09:06:04 +01:00
ffbfef54bd
Merge pull request #2153 from Joaco9020/fix/direct-heap-dispatch-test
...
test: bind a PSO before direct heap dispatch
2026-11-28 09:05:52 +01:00
c912546318
Merge pull request #2082 from alexandersato0830/codex/gameinput-mouse-delta
...
Keep keyboard-pad mouse deltas in range (RT-KEYBOARD-PAD-MOUSE-DELTA)
2026-11-28 09:05:40 +01:00
c0276f15ff
Merge pull request #1418 from JesusACD/fix/xdxr-postbuild-skip-code
...
runtime: set SKIP_RETURN_CODE 77 on vk_xdxr_postbuild_readback (CI-XDXR-POSTBUILD-SKIP-CODE)
2026-11-28 08:48:50 +01:00
23e51d3be8
Merge pull request #1191 from titoreinaldo/contrib/w64-invariant-checks
...
[TEST-W64G-TIER-C-INVARIANTS] Check known graphics outputs before skipping or saving a reference
2026-11-28 08:47:26 +01:00
e4c0708745
runtime: publish deferred streamed views in refresh_title_texture once backed
...
Calls publish_streamed_texture(from) after back_title_texture() in refresh_title_texture() so deferred pending_stream slot-70 descriptors immediately bind their views when pages arrive while texel upload remains deferred to batched refresh_title_textures().
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 02:26:09 -05:00
dd78a02f69
runtime: back deferred pending_stream images in refresh_title_texture when pages arrive
...
Preserves immediate bindless descriptor indexing for pending_stream slot-70 textures once their pages become readable (fixing d3d12_existing_heap slot-70 view map changes test) while still deferring texel uploads to batched refresh_title_textures().
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 02:23:12 -05:00
2af7c5bf41
runtime: fix FilterCacheScope signed_vsharp_offsets call and finish_in_place cache scope
...
Fixes two clang-cl compile errors in d3d12_vulkan_device.cpp after hoisting FilterPageCache into FilterCacheScope.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 02:16:31 -05:00
6bd0c4e52b
Merge branch 'r7/sync-tex' into test/round7
2026-11-28 02:14:47 -05:00
ec6251ec85
Merge branch 'r7/mirror-wb' into test/round7
2026-11-28 02:14:47 -05:00
49da651a9b
runtime: slot-70 deferral, lazy TitleImageUpload waits, per-fence vis_seq, unlocked run_barriers, and cached arm_batch
...
Eliminates single-texture slot-70 storms, multi-queue TitleImageUpload lock/submit stalls, gratuitous coalescer invalidations, and Present pump_mutex_ blocks:
- d3d12_vulkan_device.cpp: defers slot-70 make_title_texture()/refresh_title_texture() to batched refresh_title_textures() (with texture_watch.touch); skips re-dirtying hot pages when mirror_just_synced; ports changes_since()-tracked known_protect cache into TitleTextureCells::arm_batch().
- d3d12_title_image_upload.h / vulkan_title_detile.h / vulkan_backend.h / vulkan_indirect_clamp.h: caches PFN_vk* procs, raises kMaxBatchCmds=64 / kMaxScratchSlots=32, waits on oldest_in_flight_scratch_value(), batches vkUpdateDescriptorSets, replaces empty consumer submits with lazy note_title_upload_locked waits in submit_multi(), unlocks submit_mutex_ during upload recording, decouples prepare_indirect_clamp from tracker_mutex_, caches ReplayFunctions, and times tracker_lock waits.
- queue_holds.h / vulkan_backend.h / vulkan_present.h / d3d12_com.cpp: tracks per-(fence,value) vis_seq in QueueHolds (stopping GPU-signal & list-values false invalidations), fixes BeforeExecuteCoalescer cv.wait loop + adds 5-step leader timing, decouples QueueHolds::run_barriers() from pump_mutex_ via barrier_mutex_, and expands VulkanPresenter::frames_ to 4.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 02:14:47 -05:00
aff99e069a
runtime: parallel Phase-A heap filter, single-lock unwatch, fault VirtualQuery skip, and 64 MiB copy-queue readback
...
Cuts PageMirror refresh, write-fault, unwatch, and GPU write-back overhead:
- d3d12_vulkan_device.cpp / title_mirror.h / console_heap_slot_records.h: hoists 1024-entry FilterPageCache across upload(), buffers filtered slots in 64 KiB host scratch with coalesced WC BAR flushes, parallelizes pure read-only Phase A heap filtering across WorkerPool with sequential Phase B under page_mirror.mutex, and adds none->none / idempotent place() fast paths.
- title_mirror_hot_cold.h / title_geometry_watch.h / xmem.cpp: fixes HotColdTracking::unwatch() triple-lock/bogus-WriteQueue bug with single-lock geometry_writes::release(addr, was_hot), skips redundant 2nd VirtualQuery in notify(Event::fault), and passes ranged changed(start, end) from xmem.cpp.
- d3d12_vulkan_device.cpp / title_mirror.h: raises kReadbackPages to 1024 (64 MiB), routes readback copies onto info.copy_queues, bypasses kernel_writes::write() on xmem scratch frames (frame != page_va), batches begin_write/end_write per ordinary page, and lowers whole_title_ok threshold to 2.
AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-28 02:08:11 -05:00