xshader: fill the root constants of rooted compute programs #619
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/619"
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 NickStallman on 2026-12-01T11:56:51Z.
Stacked on #611; review that first. Until it merges, this branch also holds #611's commits; the change here is the last two.
A rooted compute program's root constants were bound only when the root is one or two tables followed by them, at most four. Behind other parameters, such as three tables and a root SRV, the registers they fill started at zero, with no refusal.
#611 places a vertex or pixel program's constants from the program's own records. Those records now place a compute program's constants too, with the parameter visible to all stages. A rooted compute program whose constants are read and not found is refused, as #611 does for vertex and pixel programs. Mesh, amplification and packed roots are unchanged.
Refs #533.
Not run in a title.
Measured
compute-root-constants: thecompute-root-srvprogram and root with three constants at b502 after the root SRV, which the program XORs into the word it stores.1002:13c0, RADV, GE-Proton11-15):lanes-compute-root-constantsandlanes-compute-root-srvpass.view 10 holds 0x7ab1e002: the root constants read 0.fb17e160): the same 81 changes per host, none newly refused or accepted; DXC and dxv pass for all 162 changed translations.python tuxbox.py checkof890f35ed(GE-Proton11-15): RTX 5090 (10de:2b85, 620.70.10) 212 pass, AMD iGPU (1002:13c0, RADV) 211 pass,lanes-compute-root-constantsincluded. The one failure on each islanes-selftest-texture-publication, which is #625 and fails on main too.Evidence: TuxBox check of 890f35ed2fa0, no uncommitted changes, no GPU checks: 13 passed, 0 failed, 0 not runNot covered
🤖 Generated with Claude Code