Commit Graph

541 Commits

Author SHA1 Message Date
2968591c96 gpu: an escape hatch for tight texture alignment
VICTORY_POOL_TIGHT=0 makes tight() answer false, so texture_with_growth does not set D3D12_RESOURCE_FLAG_USE_TIGHT_ALIGNMENT and the piece is a 64 KiB multiple again. The default is unchanged.

This is for the GPUVM SQC page-fault and device-loss reports that began around #459 (#271, #239, #487). It did not reproduce here in 22 minutes of RT-on 4K city stress; with =0 the 6-minute downtown peak rose from 12.9 to 13.8 GB of VRAM with the average unchanged. Reporters can A/B their own saves and say whether the fault goes away.
2026-12-05 12:56:58 -06:00
49f5f9e8fb Merge pull request #511 from Not4Eric/perf/list-batch-counters-stack-arrays
perf(gpu): batch list counters and use stack arrays in barrier/targets
2026-12-05 11:30:52 -06:00
4d8317a279 Merge pull request #507 from Not4Eric/perf/texture-vaes-digest
perf(gpu): vectorize texture::digest with VAES/AES-NI and fused zero check
2026-12-05 11:30:48 -06:00
f3d856e3b2 Merge pull request #513 from Not4Eric/perf/watch-reduce-guards-contention
perf(gpu): reduce watch GUARDS lock contention during holes, protect, and kernel I/O
2026-12-05 11:29:44 -06:00
8bb4767df1 Merge pull request #512 from Not4Eric/perf/host-offload-send-late-land
perf(gpu): offload synchronous land() from send_late() to late_helper
2026-12-05 11:29:40 -06:00
86b141bfe3 Merge pull request #509 from Not4Eric/perf/records-skip-touch-batch-stats
perf(gpu): skip redundant held-slot touch and batch record stats
2026-12-05 11:29:36 -06:00
8631492486 Merge pull request #508 from Not4Eric/perf/apu-reuse-pcm-buffer
perf(hle): reuse Opus PCM scratch buffer across packets
2026-12-05 11:29:33 -06:00
e1ae88076f Merge pull request #505 from Not4Eric/perf/descriptor-tls-hit
perf(gpu): skip redundant shape_see on TLS hit and gate NAMED_WHOLE
2026-12-05 11:29:29 -06:00
71a650fca8 Merge pull request #557 from deebsy/neutral-stand-ins
descriptor: a slot the host unmakes, or can only null, shows the neutral texture
2026-12-05 11:28:59 -06:00
4dbb0cdfa2 Merge pull request #550 from chefulano/pr6/alias-copy-target-pool
fix(gpu): keep placed alias views out of texture pool
2026-12-05 11:28:55 -06:00
d8a701da87 Merge pull request #546 from tommiehansen/review-split/404-cfg-fix
fix(shader): prune unreachable CFG blocks before SSA
2026-12-05 11:28:49 -06:00
1cc88e0d1e Merge pull request #545 from tommiehansen/review-split/402-mechanical
perf(shader): isolate structural tables and dominator reuse
2026-12-05 11:28:44 -06:00
04e32f7ea3 Merge pull request #572 from tommiehansen/perf/descriptor-lock-cache-lines
perf(gpu): isolate hot descriptor lock stripes on cache lines
2026-12-05 11:28:16 -06:00
412b0697a8 Merge pull request #510 from Not4Eric/perf/draw-split-uav-scan-cache
perf(gpu): split UAVs out of State::scan cache and reuse descriptor::view_of
2026-12-05 11:28:13 -06:00
cd0cba9f35 Merge pull request #506 from Not4Eric/perf/descriptor-fxhash-views
perf(gpu): use FxHash HashMap in descriptor VIEWS table
2026-12-05 11:28:09 -06:00
83ccd7fd8a Merge pull request #467 from tommiehansen/codex/reuse-guest-pages
perf(shader): reuse guest page-directory lookups across provable offsets
2026-12-05 11:28:05 -06:00
0d512dcd36 Merge pull request #399 from tommiehansen/perf/bitcode-opt-alloc-hash
perf(shader): eliminate per-block allocations and SipHash in bitcode::opt
2026-12-05 11:28:01 -06:00
f1343781ca Merge pull request #363 from lucamzanon/xmem/1-bcpack-avx2
formats: bcpack: AVX2 lane schedule and SSE4.1/SSSE3 block packing
2026-12-05 11:27:58 -06:00
b106423450 Merge pull request #362 from lucamzanon/xmem/2-xma-vlc
formats: xma: decode Huffman codes with a 2-level O(1) lookup table
2026-12-05 11:27:54 -06:00
ce5ceafc33 Merge pull request #435 from Luxuride/fix/gpu-book-holders
fix(gpu): let the device-loss report see long live allocations
2026-12-05 11:27:50 -06:00
db5096a605 Merge pull request #428 from Luxuride/fix/gpu-many-views-not-clean
fix(gpu): never tell a many-views block clean
2026-12-05 11:27:45 -06:00
52ade5c857 Merge pull request #603 from tommiehansen/fix/dstorage-source-diagnostics-470
fix(dstorage): identify source files when decompression fails
2026-12-05 11:26:40 -06:00
cf9afe4d8b Merge pull request #590 from tommiehansen/fix/sdk-incomplete-install-583
fix(setup): recover incomplete Windows SDK installations
2026-12-05 11:26:37 -06:00
bfc0cb0c33 Merge pull request #526 from Xough/fsr-provider-switch
fidelityfx: VICTORY_FSR_PROVIDER=3.1 prefers the FSR 3.1 upscaler over 4.1
2026-12-05 11:26:33 -06:00
5621936151 Merge pull request #575 from Serph91P/feat/meter-occluded
feat(gpu): count a covered window's frames in the frame meter when asked
2026-12-05 11:26:29 -06:00
a891636ae4 Merge pull request #382 from mateozariquiey/pr/land-table
memory: landing a structure asks our table whether its page is on the card
2026-12-05 11:26:25 -06:00
600f5ea678 Merge pull request #373 from delacor/fix/series-s-output-refused
run: an output Series S cannot take is refused, show a proper error for the user
2026-12-05 11:26:21 -06:00
e90259d1b0 Merge pull request #528 from tommiehansen/fix/shell-switch-policy
fix(xtask): recognize documented launcher switch reads
2026-12-05 11:26:16 -06:00
36b6df6c86 Merge pull request #592 from tommiehansen/fix/gameinput-synthetic-tests-357
test(hle): isolate GameInput fixtures from host input settings
2026-12-05 11:26:12 -06:00
6ebb8d818b Merge pull request #566 from Kal0s-design/fix/host-list-scratch-state
test(gpu): host list scratch state tests expect common under enhanced barriers
2026-12-05 11:26:08 -06:00
ffe832f93e Merge pull request #559 from Kal0s-design/fix/watch-flaky-test
test(gpu): tell the guard views are unmapped in drop_views so their bits do not outlive them
2026-12-05 11:26:05 -06:00
4f61662253 Merge pull request #558 from Kal0s-design/fix/views-die-crash
descriptor: views_die_with_their_resource uses a real resource, no more crash on native Windows
2026-12-05 11:26:01 -06:00
3baccb413b Merge pull request #561 from Danneman92/steam-os-game-mode
SteamOS game mode: launch lane docs + name the gamescope WSI cause once
2026-12-05 11:25:57 -06:00
149544f41e Merge pull request #536 from cerealfordinner/upstream-pr-perf-log
docs: add a performance log template and protocol
2026-12-05 11:25:53 -06:00
7659fe2f51 Merge pull request #371 from Bushyon/issue-template
github: issue forms for problem reports and requests, text only
2026-12-05 11:25:50 -06:00
485e19c1b3 Merge pull request #484 from Luxuride/docs/contributing
docs(contributing): code quality rules for pull requests
2026-12-05 11:25:41 -06:00
2f5153a5f0 fix(dstorage): identify source files when reads or decompression fail 2026-12-05 14:42:04 +01:00
bd38ce49b6 style(hle): format synthetic input selection 2026-12-05 14:36:00 +01:00
6495309227 test(hle): isolate fake gameinput sources from live host input 2026-12-05 14:35:45 +01:00
cd1b5d37bb fix(build): reject incomplete Windows SDK 2026-12-05 14:24:35 +01:00
8b88a73a08 fix(setup): reject incomplete Windows SDK 2026-12-05 14:24:33 +01:00
b63a22953c fix(setup): cover interrupted SDK installation 2026-12-05 14:24:23 +01:00
9f3bfcda5b fix(setup): validate and stage SDK installation 2026-12-05 14:24:21 +01:00
a09c8bd9cd test(gpu): measure production hashed descriptor lock paths and single-thread control 2026-12-05 13:24:19 +01:00
8c2bd6443a perf(gpu): batch list counters and use stack arrays in barrier/targets
- Gate non-Windows VALUE_WAITS tracking behind #[cfg(not(windows))]
- Use stack arrays instead of per-call Vec allocations in barrier() and targets(), short-circuiting the buf_uav check
- Batch CountBatch atomic additions across draw/dispatch loops in thin lists
- Skip give_back() lock/extend when a thin worker produced no lists
2026-12-05 13:39:32 +02:00
f3dcf68e54 perf(gpu): vectorize texture::digest with VAES/AES-NI and fused zero check 2026-12-05 13:38:59 +02:00
b854f236f1 test(gpu): host list scratch state tests expect common under enhanced barriers
With enhanced barriers around() takes the named path and clamp_into does
not mark the scratch readable, so indirect_state stays COMMON. The tests
hard-coded INDIRECT_ARGUMENT, which only holds on the legacy path.

AI-assisted: yes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 10:41:58 +01:00
02686aa077 test(gpu): benchmark adjacent and independent descriptor lock stripes 2026-12-05 10:32:25 +01:00
ea686d284c perf(gpu): isolate hot descriptor lock stripes on cache lines
Inspired by ReTerryDavis/ReVIctory edc321aa822626d80811afc01afd6e3625585301; retain xmem's stripe count, hash, lock lifetime and poison recovery. Keep compact locks for small heaps.
2026-12-05 10:30:43 +01:00
201e3166e9 test(shader): pin both CFG branch targets after dead block pruning 2026-12-05 10:20:20 +01:00