No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3588
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3588"
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?
@zed6000 on GitHub · 2026-11-27 19:24 UTC · original
zed6000:revive-barycentrics→main· +1462 −192 · 7 files · 12 commits · openThis reopens #1738 by @jaschinski97-ops (live interpolation values), which includes the pixel-barycentrics work of #453 by @AntoninMichelq that it builds on. Both were closed on 2026-11-26 without being merged. The change is still needed on
main: one pixel program the title runs in the intro is refused withemit: barycentrics read directly.The branch is #1738's last head (
9d59892) merged ontomain63bcca4. The merge is clean, and all original commits and authors are kept.Measured on an RX 7900 XTX (driver 32.0.32029.2010), Windows 11:
shaders.rpf(translate --validate --list, 26,084 programs), compared withmain63bcca4program by program: +1, 0 lost. The one is that "barycentrics read directly" refusal.cargo test -p victory-shader --lib --locked: 325 passed, 0 failed.Merge notes for the open shader PRs touching the same code (#1924, #2978, #385, #2999) are in my comment on #1738.
I'm happy to hand this back if any of the original authors wants to continue it. AI-assisted (Claude Code); counts only, no game data.
ffe310e) into up/pixel-barycentrics 3bc83d0d7bDXIL allows at most two SV_Barycentrics input elements, one perspective and one linear. A program reading both perspective center and centroid I/J as values declared two perspective elements, which the validator refuses ("There can only be up to two input attributes of SV_Barycentrics with different perspective interpolation mode"). The second mode of the same kind is now an Unsupported reason rather than a second element. Reusing the first element would hand centroid reads center weights (or the reverse), which differ on edge pixels: a silent wrong value. Before this PR such reads were refused anyway. Test: center + centroid values are refused; centroid alone still translates with one element. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AZ9pSB4ZoXYUifuXg8gm6670564aeinto live interpolation 49a80f63ad67e8ae1into interpolation follow-up ee2246440063bcca4: live interpolation values and pixel barycentrics cfd7a094e9maincan take merges more often #3347@kilolimaVI on GitHub · 2026-11-27 21:04 UTC · original
Verified on AMD Radeon 780M (RDNA3, Ryzen 7 8845HS), Windows 11, head
6f32448.barycentricfilter: 24/24 passed, 5 of 5 runs.barycentric_draw_tests.rs, branch kilolimaVI/VIctorytests/barycentric-draw) on top of this PR. It draws a triangle and checks every pixel against the expected attribute values:victory-shader+victory-gpu --features diagnostics): 575 passed, 0 failed.This matches #3553's result on the same test, so the two PRs render identically here; the choice between them can be made on the code alone.
AI-assisted (Claude).
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.