diff options
| author | Alex Arenas <106154424+al3xar@users.noreply.github.com> | 2026-11-22 16:32:50 +0100 |
|---|---|---|
| committer | Alex Arenas <106154424+al3xar@users.noreply.github.com> | 2026-11-22 16:32:50 +0100 |
| commit | c22cb583809fd315ed5c2095c53635a92f316195 (patch) | |
| tree | 63dea3c3944b771621d9799d257faf699460a338 /runtime/src/pe_loader.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
test(runtime): verify root-signature rebind preserves arguments and switch resets them (TEST-280)
Extend d3d12_compute_test across its three dispatches to verify:
- Rebinding the already-active compute root signature (SetComputeRootSignature with the same ID3D12RootSignature*) preserves previously bound root constants (s0 = 7) while allowing subsequent updates (s1 = 3).
- Calling SetGraphicsRootSignature and SetGraphicsRoot32BitConstant does not clobber compute root arguments.
- Switching to a distinct ID3D12RootSignature* instance resets bound compute root arguments to zero (s0 drops from 100 to 0 in the third dispatch), and rebinding that new root signature afterward preserves arguments bound after the switch (s1 = 5).
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions