Repository navigation
Shaders: lower pixel shader SV_Coverage input via dx.op.coverage - #657
davi713albano-coder wants to merge 1 commit into
Conversation
|
Offline check on the retail shader pack: no program of the title reaches this path. The change is neutral for it.
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. |
|
RX 7900 XTX (RDNA3), Windows 10 + #402 for SM 6.6, main |
Summary
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.