Shaders: lower pixel shader SV_Coverage input via dx.op.coverage #657
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!657
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-657"
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?
@davi713albano-coder on GitHub · 2026-11-25 04:08 UTC · original
davi713albano-coder:shader/ps-coverage-input→main· +174 −0 · 3 files · 1 commits · openSummary
Input::SampleCoverage(SPI_PS_INPUT_ADDRbit 14) incrates/victory-shader/src/emit/lower.rsviadx.op.coverage.i32(opcode91,Attr::ReadNone), instead of falling through toVal::Missing.SV_Coverage(kind == 14,NotInSigin DXIL) from pixel shaderISG1incrates/victory-shader/src/emit/mod.rsif a console container lists it there.ps_sample_coverage_input_reads_coverage_maskincrates/victory-shader/src/emit/valu_tests.rsverifying DXIL validation, container hash, graphics pipeline creation, andHost::drawreadback (coverage mask1on a 1x target).Verification
cargo clippy --workspace --all-targets --locked -- -D warnings,--all-features, andcargo test --workspace --lockedonwindows-latest(ps_sample_coverage_input_reads_coverage_maskpasses DXIL validation and D3D12 draw readback).No title data used. AI-assisted.
@JRamos1993 on GitHub · 2026-11-25 05:27 UTC · original
Offline check on the retail shader pack: no program of the title reaches this path. The change is neutral for it.
victory translate --validate --listover the title's full shader pack (26,084 programs) on an RTX 5090,main310c6ebagainst this head merged onto it:mainfails on pixel shaders readingSV_Coverage.So this fix doesn't change anything for this title's shaders as the batch tool translates them. It may still matter for other programs or titles.
AI use: Claude Code with Claude Opus 5.5 ran the pack and wrote this. Nothing from the title is in it.
@HAL9000RELOADED on GitHub · 2026-11-25 19:29 UTC · original
RX 7900 XTX (RDNA3), Windows 10 + #402 for SM 6.6, main
d510ee4: the new testps_sample_coverage_input_reads_coverage_maskpasses on the card with this PR, and fails with the test alone on the base. No other test changed. Run table: #129 (#129).View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.