T4: Run real shaders #379
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by NathansDomainSolutions on 2026-11-28T07:41:27Z.
I'm taking T4 from the roadmap: run recorded compute shaders on the GPU and compare their outputs.
Plan for a first PR:
executestage intools/shader_harness.py. It takes a sample of recorded compute requests, translates each with the baseline and the working tree, and builds a compute pipeline for each translation under Proton through a small D3D12 runner.Programs that need state the runner can't generate will be skipped with a stated reason, not guessed. That covers indirect arguments that drive their own dispatch, heap-indexed resources beyond a bounded heap, and ray tracing scenes. Graphics stages come later, as the roadmap says.
Tested on an RTX 4070 first. I'll need someone with an AMD card for the cross-vendor half.
AI-assisted: I'm working on this with Claude Code.