diff options
| author | quackottu <224479491+quackottu@users.noreply.github.com> | 2026-11-22 13:41:58 +0530 |
|---|---|---|
| committer | quackottu <224479491+quackottu@users.noreply.github.com> | 2026-11-22 13:41:58 +0530 |
| commit | ea512f284ce3b58c144850d70371091e1522ce72 (patch) | |
| tree | efb835351b30a9144fde72b55a8b13e93da10914 /docs/d3d12_command_objects.md | |
| parent | c63773d51235d72250d48699f29830ac9ddafd60 (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 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions