Commit Graph

2 Commits

Author SHA1 Message Date
Peter Li badcdd8593 zdxc: make the tree a clean public source drop
Move the oracle tests, the benchmark and the libzdxc investigation
notes to the zdxc-internal development repo, which builds
this tree as a path dependency. The public build keeps install, run and
test. build.zig.zon now lists tools/ (the build needs its generators)
and docs/.
2026-11-01 15:39:53 -08:00
Peter Li a7f86d1a88 zdxc: --job=<job.json> batch mode
Compile every shader a JSON job file lists in one process, on all cores.
Each job is a dxc command line; shared args come first. Outputs are
byte-identical to separate runs and each job's diagnostics print together
in job order. 1481 corpus shaders: 0.064 s, against 1.09 s for one zdxc
per shader on 10 cores and 1.68 s for dxc.

Also: an unreadable input exits 1 as in dxc (was 5), and stdout/stderr
write in streaming mode so `2>> log` appends instead of overwriting.
2026-11-01 09:46:47 -08:00