Shader tools: keep DXC timings out of JSON output #29

Manually merged
github merged 1 commit from gh-pr/29/head into gh-pr/29/base 2026-11-26 04:05:14 +00:00
Owner

@⁠BBareth on GitHub · 2026-11-22 00:29 UTC · original
BBareth:codex/shaders-json-compile → main · +2 −2 · 1 files · 1 commits · merged 2026-11-22 12:52 UTC

Sends DXC sample timings to stderr alongside compilation progress. This keeps stdout parseable when xcl shaders --json --compile N has a sample to compile.

Validation

  • Used a synthetic shader to reproduce invalid JSON on the prior Windows build under Wine.
  • Parsed the updated command's stdout as JSON, verified the DXC result fields, and checked that stderr contains the timing. The sample exercised the DXC failure path because the compiler was unavailable.
  • Shader aggregation unit test passed on Windows GNU under Wine.
**@⁠BBareth** on GitHub · 2026-11-22 00:29 UTC · [original](https://github.com/xcl-dev/xcl/pull/29) `BBareth:codex/shaders-json-compile` → `main` · +2 −2 · 1 files · 1 commits · merged 2026-11-22 12:52 UTC Sends DXC sample timings to stderr alongside compilation progress. This keeps stdout parseable when `xcl shaders --json --compile N` has a sample to compile. ## Validation - Used a synthetic shader to reproduce invalid JSON on the prior Windows build under Wine. - Parsed the updated command's stdout as JSON, verified the DXC result fields, and checked that stderr contains the timing. The sample exercised the DXC failure path because the compiler was unavailable. - Shader aggregation unit test passed on Windows GNU under Wine.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:05:12 +00:00
github manually merged commit c2e6ce99e3 into gh-pr/29/base 2026-11-26 04:05:14 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-22 12:53 UTC · original

Merged, thanks. Checked locally on Windows (MSVC): unit tests and the e2e tests, including the new one, pass.

**@⁠ivall** on GitHub · 2026-11-22 12:53 UTC · [original](https://github.com/xcl-dev/xcl/pull/29#issuecomment-7079417994) Merged, thanks. Checked locally on Windows (MSVC): unit tests and the e2e tests, including the new one, pass.
This discussion has been locked. Commenting is limited to contributors.
No description provided.