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:
authorquackottu <224479491+quackottu@users.noreply.github.com>2026-11-22 13:41:58 +0530
committerquackottu <224479491+quackottu@users.noreply.github.com>2026-11-22 13:41:58 +0530
commitea512f284ce3b58c144850d70371091e1522ce72 (patch)
treeefb835351b30a9144fde72b55a8b13e93da10914 /runtime/src/pe_loader.cpp
parentc63773d51235d72250d48699f29830ac9ddafd60 (diff)
Runtime: size the bindless set's arrays from the device's descriptor limits
Set 0's 2D, sampler and storage arrays were constexpr (4096 2D images, 1024 samplers, 256 per storage array): one full D3D12 sampler heap (2048) did not fit and bind_image/bind_sampler fell back. They are now sized once, when the device creates the set, from the update-after-bind or plain limits: today's sizes as the floor, then samplers up to min(4096, maxSamplerAllocationCount - 64), 2D images up to 65536, storage up to 4096. Sizing at creation keeps the set layout fixed for the pipelines built on it.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions