upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authoriFeyz <62035583+iFeyz@users.noreply.github.com>2026-11-24 17:52:02 +0100
committeriFeyz <62035583+iFeyz@users.noreply.github.com>2026-11-24 17:52:02 +0100
commit74e55acfbcabb49e387625b14328af1b1309375d (patch)
treed897c2dcb7b48c77ee060bf3048a90cff864d7b9 /runtime/src/pe_loader.cpp
parent5fdd6abbc07a0b2e4120944b4e624e3a70ddb76e (diff)
D3D-448-GRAPHICS: a graphics signature past the console window keeps the PC layout instead of being refused
Measured by madhyn on the retail title with this pull request (#974 review): one of its start-up root signatures is past the console's inline graphics window (24 dwords from s8) and the compute one (28 from s4), so CreateRootSignature refused it outright and the title stopped with an unhandled exception before the frame loop it reached without this change. On the console such a signature goes to the argument block behind s[0:1], modelled for compute only (ROOT-SIG-SPILL-MODEL, #1009). Until it is for graphics, the graphics bind point keeps pack()'s layout for it (from s0, two dwords per table), what the layer did before the console layout, so no signature is worse off than on main. The new RootArgumentLayout::graphics_console tells address() which layout the table is in; a mesh shader still refuses such a signature. d3d12_mesh_test: a 30-constant signature is created and DispatchMesh with it invalidates the list.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions