diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 17:08:57 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 17:08:57 -0500 |
| commit | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (patch) | |
| tree | f49cb276a241913d7cfedf841abddd7fb42cff1b /docs/d3d12_command_objects.md | |
| parent | 4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d (diff) | |
rdna2spirv: typed buffer loads read the format's byte size from one table
buffer_load_format with a run-time V# format picked the element size twice per load through a select chain over
all of FORMATS (dwords spanned, and the bounds-check size): about 150 of the ~390 instructions a load cost. The sizes
are now one Private constant array, %fmt_size_tab (128 entries, 0 for a code FORMATS does not decode), read once
per use; a tbuffer's fixed format still folds at translate time. Same results: an unknown format loads one dword
and bounds-checks 4 bytes, as before.
indirect_diffuse_lighting's ScreenProbes_ActivateProbes (3,281 such loads, the module NVIDIA's compiler failed on):
52.4 MB / 2.50 M ids -> 29.8 MB / 1.43 M ids under --wave64-emulate, 43.8 -> 29.4 MB native; passes spirv-val.
spirv_mini_interp reads OpConstantComposite and Private variables so the semantic tests run through the table.
Typed-buffer, image and d16 tests (383), the shader checks and both GPU suites (164/210, 195/210 W64) pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions