Commit Graph
213 Commits
Author SHA1 Message Date
MarvisandClaude Opus 5.5 ffe310eb20 Shaders: the console's waterfall loop over a first-lane table offset
The console compiler loops over a per-lane descriptor by reading the
first active lane's table offset (v_readfirstlane_b32), narrowing EXEC
to the lanes with the same one (v_cmpx_eq_u32), loading that entry
(s_load_dwordx8) and dropping those lanes (s_andn2_wrexec). Such a load
now goes through the waterfall proof; when it holds, each lane loads its
own entry through a non-uniform handle. Unproven, the offset stays the
first lane's, as before.

Translation census over the title's 26,096 programs: none lost, 108 get
past these loops to a later refusal. The 249 programs behind #736 also
need per-lane size queries in loops without an access.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 10:53:38 +01:00
Marvis ca48fbea88 Merge pull request #566 from r4tedx/shader/per-lane-phi
Shaders: per-lane descriptors chosen by control flow (stacked on #307)
2026-11-24 10:53:16 +01:00
r4.andClaude Fable 5.2 74a9d3316d Shader tests: the waterfall tests take the GPU one at a time, with the VALU tests
The four tests of emit/waterfall_tests.rs each dispatch on the hardware
adapter and on WARP. Run in parallel, the test process sometimes died of
an access violation (7 of 24 runs of these four tests on an integration
branch; an image test beside a VALU test does the same on WARP). They now
take the VALU tests' lock, which moves out of `run_cases` to be shared.
With it: 340 workspace tests pass with VICTORY_WARP=1, as on a CI runner,
and the shader tests pass on the RTX 5070.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-24 11:26:39 +02:00
r4.andClaude Fable 5.2 e09dbb6dae Merge upstream main (8e79c80) into shader/per-lane-phi
main now has CI (clippy with -D warnings, then the workspace's tests) and
three new tests that call `resource::track`, which this branch gives a
fourth argument. No textual conflict, but the test target did not build:
those three calls (emit/lower.rs, twice in emit/mod.rs) now structure the
program first and pass it, as this branch's other callers do. Both of
CI's clippy commands are clean on the result.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-24 11:10:23 +02:00
MarvisandClaude Opus 5.5 8e79c80e4b CI: clippy and tests on pull requests and main
A Windows job on the pinned toolchain: clippy with -D warnings on the
default and the --all-features (diagnostics) build, then cargo test
--workspace, which includes the asset-policy test.

main did not build its tests: scalar_bit_tests_lower called lowers()
without the rsrc2 argument a parallel change added (0, no input
registers). Also drops a double parenthesis clippy flagged in an xasync
test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 09:55:29 +01:00
Marvis c7a5f4953f Merge pull request #93 from TG0000/perf/bcpack-bucket-lookup
BCPack: find a slot's bucket from a window table
2026-11-24 09:47:34 +01:00
Marvis 2005e35afd Merge pull request #88 from AndyLatimer/fix/title-size-overflows
Audio, watch: no overflow on huge title sizes (XMA read advance, fread)
2026-11-24 09:47:09 +01:00
Marvis 58fed3704f Merge pull request #706 from Lyrnc/fix/cmp-lg-ordered
Shaders: v_cmp_lg is ordered on AMD hosts too (olt | ogt, not fcmp one)
2026-11-24 09:24:08 +01:00
Marvis a51bdfa500 Merge pull request #696 from catminou4/devin/formats-doc-micro-link
Docs: drop the private intra-doc link to MICRO in texture.rs
2026-11-24 09:23:50 +01:00
Marvis 02f404efec Merge pull request #685 from catminou4/devin/constant-color-cfg-windows
Shaders: gate the constant_color test helper to Windows
2026-11-24 09:23:32 +01:00
Marvis 5cd7421715 Merge pull request #681 from fuzeofficlal/fix/vertex-buffer-null-unbind
GPU: unbind vertex buffer slots for null view arrays
2026-11-24 09:22:41 +01:00
Marvis 8d23f0762f Merge pull request #680 from EatCodeSleep2/fix/wine-staging-upload-128
GPU: use the host upload path for texture staging copies
2026-11-24 09:21:50 +01:00
Marvis 22700b9771 Merge pull request #675 from lameloball2813-ui/docs/rustdoc-private-links
Docs: rustdoc builds the loader, GPU and shader crates without warnings
2026-11-24 09:21:26 +01:00
Marvis 6db02ea34e Merge pull request #671 from fuzeofficlal/fix/copyresource-cpu-texture-source
GPU: upload CPU-written textures before full and region copies
2026-11-24 09:20:52 +01:00
Marvis 16bd5771a0 Merge pull request #666 from lameloball2813-ui/fix/load-probe-target-dir
Loader tests: build the probe fixture under CARGO_TARGET_TMPDIR
2026-11-24 09:20:26 +01:00
Marvis b4b4110371 Merge pull request #654 from SantannaCarlos/fix/uav-describe
GPU diagnostics: describe a buffer UAV by its range, not as uav None
2026-11-24 09:20:07 +01:00
Marvis cf0bb43868 Merge pull request #637 from AlanQiang0418/codex/gfx10-packed-inline-constants
Shaders: decode GFX10 packed inline constants by operand type
2026-11-24 09:19:35 +01:00
Marvis 6f0a10a758 Merge pull request #634 from SAitken91/shader/image-sample-o
Shaders: image_sample_o with constant offsets
2026-11-24 09:19:15 +01:00
Marvis 9a92ccf4a6 Merge pull request #612 from KoLolX3/fix/phi-liveness-transitive
Shaders: a phi that only another read phi consumes is live too (#604)
2026-11-24 09:18:51 +01:00
Marvis 204bdcc108 Merge pull request #611 from AdvaitPalve11/fix/config-show-data-dir
core: show data_dir in config and check its asset policy
2026-11-24 09:18:28 +01:00
Marvis a4d7b16da0 Merge pull request #565 from SAitken91/shader/conservative-depth-position
Shaders: centroid position with conservative depth
2026-11-24 09:18:04 +01:00
Marvis fd925582f1 Merge pull request #520 from Quat3rnion/victory-xasync-payload
HLE: return XAsync payloads for nonnegative results
2026-11-24 09:17:39 +01:00
Marvis dd54de2f71 Merge pull request #448 from Dufftwt/fix/min-max-signed-zeros
Shaders: maximums and minimums order -0 below +0, as RDNA2 does
2026-11-24 09:15:49 +01:00
Marvis 0ddbce888e Merge pull request #433 from r4tedx/tests/serialise-valu-gpu-tests
Shader tests: run the VALU GPU tests one at a time (cargo test hangs now and then)
2026-11-24 09:15:28 +01:00
Marvis ce42e77634 Merge pull request #432 from Proudnoob4/fix/uninitialized-sgprs
Shaders: reads of uninitialized SGPRs read as zero, as VGPRs do
2026-11-24 09:14:53 +01:00
Marvis f0894c2b5c Merge pull request #429 from marquezinii/fix/xgamesave-documented-errors
XGameSave: the documented errors for a full disk and a small read buffer
2026-11-24 09:14:37 +01:00
Marvis 9f18eb4587 Merge pull request #423 from pedrofort/shader-perm-no-int64
Shaders: lower dynamic v_perm_b32 without requiring INT64
2026-11-24 09:13:04 +01:00
Marvis dd273df1b8 Merge pull request #419 from itsRevela/fix/swallow-keyboard-menu
Window: keep Alt and F10 from freezing the title in menu mode
2026-11-24 09:10:57 +01:00
Marvis 3c86238217 Merge pull request #418 from enzoduarte1/gpu/half-subnormal-output
GPU: write half subnormals from f32 rectangle outputs
2026-11-24 09:10:36 +01:00
Marvis 2e4e280dc0 Merge pull request #384 from LouisRiverstone/shader-cvt16-saturate
Shaders: v_cvt_u16_f16 and v_cvt_i16_f16 saturate at 16 bits
2026-11-24 09:10:02 +01:00
Marvis faba64c5f3 Merge pull request #382 from Dufftwt/fix/stencil-ref-shader-flag
Shaders: a pixel shader writing SV_StencilRef declares StencilRef
2026-11-24 09:09:30 +01:00
Marvis c30fc990ec Merge pull request #381 from Dufftwt/fix/psv-sample-frequency
Shaders: PSV0 says a pixel shader runs per sample when an input does
2026-11-24 09:09:11 +01:00
Marvis ebf3615931 Merge pull request #376 from LouisRiverstone/shader-cvt-norm-f16
Shaders: lower v_cvt_norm_i16_f16 and v_cvt_norm_u16_f16
2026-11-24 09:08:34 +01:00
Marvis f67c50c1f6 Merge pull request #372 from marquezinii/fix/capture-unorm16-formats
Capture: R16G16B16A16_UNORM targets are integers, format 89 is 10:10:10:2
2026-11-24 09:06:48 +01:00
Marvis 40b7ed1add Merge pull request #371 from marquezinii/fix/pls-path-small-buffer
Storage: a path buffer too small fails with E_FAIL, as on Xbox
2026-11-24 09:06:19 +01:00
r4.andClaude Fable 5.2 a7e60cfac0 Merge upstream main (42361b0) into shader/per-lane-phi
main moved under #307 and this branch. One conflict, in the test module of
emit/lower.rs: the imports take both sides' names (#117's `half_shift`
beside `Lowered`), and #117's `scalar_bit_tests_lower` sits after this
branch's waterfall tests. No code outside the test module was touched by
hand. A merge rather than a rebase so #307's commits keep their ids.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-24 10:03:16 +02:00
Marvis 7374bfb8ec Merge pull request #365 from FIocker/gpu/publish-initialized-descriptor-heap
GPU: replay pending descriptors before publishing the host heap
2026-11-24 09:02:47 +01:00
Marvis 42361b07c2 Merge pull request #356 from FIocker/gpu/stable-drop-rank
GPU diagnostics: order tied drop counts consistently
2026-11-24 09:02:21 +01:00
Marvis 2745589dc4 Merge pull request #355 from enzoduarte1/clippy/clean-workspace-lints
Chore: clear two workspace Clippy errors
2026-11-24 09:01:59 +01:00
Marvis 533b7e2543 Merge pull request #341 from enzoduarte1/config/empty-test-titles-env
Config: ignore an empty VICTORY_TEST_TITLES
2026-11-24 09:01:04 +01:00
Marvis edf64e2fac Merge pull request #336 from hophaver/fix/dynamic-descriptor-exhaustion
GPU: drop draws whose fresh tables cannot be made; 2^18 dynamic slots
2026-11-24 09:00:41 +01:00
Marvis 5a16e66f9e Merge pull request #313 from Abdellah-Khanani/loader-aligned-unwind
loader: unwind a 16-byte aligned copy of the context
2026-11-24 09:00:12 +01:00
Marvis 93c0852d3f Merge pull request #285 from Dufftwt/fix/name-title-dll-that-fails-to-prepare
Loader: a title DLL that fails to prepare is named in the error
2026-11-24 08:59:50 +01:00
Marvis db89843e98 Merge pull request #276 from Dufftwt/fix/s-ttracedata-imm-opcode
Shaders: s_ttracedata_imm is SOPP opcode 0x28, not 0x26
2026-11-24 08:59:20 +01:00
Marvis 89e1031760 Merge pull request #260 from Dufftwt/fix/f32-to-half-rounding-carry
GPU: a half-float rounding carry raises the exponent instead of halving the value
2026-11-24 08:59:04 +01:00
Marvis 88b665822f Merge pull request #249 from Maraco91/gpu/get-device-newer-levels
GPU: GetDevice and the DXGI device hand out the device at every level
2026-11-24 08:58:40 +01:00
Marvis 56d503228a Merge pull request #245 from Dufftwt/fix/import-trap-in-crash-log
Loader: a trapped unimplemented import goes into the crash log
2026-11-24 08:58:12 +01:00
Marvis 9e44f388c7 Merge pull request #239 from Maraco91/xtaskqueue/terminate-ends-dispatch
XTaskQueue: terminating a queue ends a dispatch waiting on it
2026-11-24 08:57:51 +01:00
Marvis 7c8cecba8c Merge pull request #229 from Dufftwt/fix/gamertag-modern-suffix-empty
XUser: a gamertag without a suffix has an empty modern suffix
2026-11-24 08:57:16 +01:00
Marvis 27f9b769cd Merge pull request #209 from Maraco91/xgamesave/empty-configuration-id
Game saves: an empty configuration id no longer deletes the other configurations' saves
2026-11-24 08:56:50 +01:00