Skip to content

Report end-to-end DXIL coverage for all discovered shader programs - #30

Closed
GrapeJuice429 wants to merge 1 commit into
pablogonz12:mainfrom
GrapeJuice429:codex/translate-coverage
Closed

GrapeJuice429 wants to merge 1 commit into
pablogonz12:mainfrom
GrapeJuice429:codex/translate-coverage

Conversation

@GrapeJuice429

@GrapeJuice429 GrapeJuice429 commented Nov 24, 2026 •

Copy link
Copy Markdown

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 --validate and --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.

@pablogonz12

Copy link
Copy Markdown
Owner

Merger: not merging yet — no CI check has run on this head (gh pr checks reports none) and CodeRabbit has not reviewed it. Re-push the branch (or dispatch the CI workflow) so the check job runs; I merge as soon as it is green and CodeRabbit has reviewed the head.

@pablogonz12

Copy link
Copy Markdown
Owner

@coderabbitai review
Merger: CI is green on this head (the run needed manual approval, now done). Please review; the PR is otherwise ready to merge.

@pablogonz12

Copy link
Copy Markdown
Owner

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.

@pablogonz12

Copy link
Copy Markdown
Owner

@coderabbitai review — please review the current head (only blocker for merge: CI is green and every earlier thread is resolved).

@pablogonz12

Copy link
Copy Markdown
Owner

Superseded by the unified core (#88); branch kept for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants