Shaders: accept FSPX heap/sampler-heap/constants root types #3934
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3934"
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 Marvisak/VIctory. Originally posted by kotekompotek on 2026-12-01T10:30:29Z.
Summary
fspx_programrejected every root kind but Table/Descriptor/ImmediateSampler. Compute pipelines the offline deserializer rebuilds carry three more: resource heap (5), sampler heap (6) and root constants (0), so they refused as "an FSPX resource of an unknown root type" — in a boot log that was the single largest refusal class.user_dataindex (the last block defaults to two, clamped to the 32-register signature).Test plan
cargo test -p victory-shader native— 13 tests greenAI-assisted. Tested on GTX 1050 2GB, Windows 11.
Imported from Marvisak/VIctory. Originally posted by passerbyyhx on 2026-12-01T12:35:18Z.
At
074ff0bb, FSPX compute dispatches on RTX 4090 Laptop and WARP returned all 32 lane values when alternating resource slots 1→2→1. Swapping wrap/clamp across sampler slots 0 and 1 reversed the sampled pair from [7,19] to [19,7]. The parent stopped at parsing. A separate boundary test found that a final constant beginning at s31 was given width 2, extending into s32. The candidate constrains it to one remaining slot, rejects a start at s32, and passes 19/19 parser cases plus the two device probes: https://github.com/kotekompotek/VIctory/pull/3.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.