Repository navigation
Report end-to-end DXIL coverage for all discovered shader programs - #30
GrapeJuice429 wants to merge 1 commit into
Conversation
|
Merger: not merging yet — no CI check has run on this head ( |
|
@coderabbitai review |
|
Merger: CI is green on this head (run approved manually — the pull_request run was in action_required). Still not merging: CodeRabbit has not reviewed this PR at all (its app reviews are auto-paused since 21:06Z) and a human review is absent. Unblock: unpause CodeRabbit / resume reviews, then this can merge on the next cycle. |
|
@coderabbitai review — please review the current head (only blocker for merge: CI is green and every earlier thread is resolved). |
|
Superseded by the unified core (#88); branch kept for reference. |
The offline translator used its IR-lift count for the headline and counted a program in the per-stage DXIL denominator only after resource tracking, I/O raising and structuring succeeded. A compute shader that stopped during resource tracking appeared as a successful translation in the headline and disappeared from the compute denominator.
This change counts native programs as soon as the scanner identifies their stage. The DXIL summary shows how many emitted, how many reached emission, and, when requested, how many validated or created a host pipeline. The vertex/pixel, compute and mesh rows use the same denominator rule. Programs from other stages count toward the total. The existing per-program rows and failure reasons keep their original format.
The regression test covers merged worker counts and the four combinations of
--validateand--pipelines. A local synthetic scan also exercised four programs through the CLI. One compute shader emitted and validated, another stopped at IR lifting, a third stopped at resource tracking, and the fourth used a shader stage outside emission. The native D3D12 check created a pipeline for the successful compute shader.Windows x86-64 testing used an RTX 4070 Ti SUPER. The full workspace suite passed 441 tests with nine ignored. Workspace Clippy passed with default and all features. OpenAI Codex assisted with the change, tests, and description.