upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/bcpack.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-28 15:59:54 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-28 15:59:54 -0500
commit5702e05dbecd78580da37df792757dcd3884990f (patch)
tree0d1f54678a7031b89b70f3d092f786d3fb9cc9b0 /runtime/src/bcpack.cpp
parenta076107872392bb7e10d8d4e1eaed664b47ccb17 (diff)
GPU: a test that a placed view's key leaves out the resource description's two padding words and keeps every field
naixue2233/Yuk1-nvdia-gta6 67a30b2 (GPL-3.0; MystifiedSky/VIctory-NVIDIA-Improved 4eead67, pull request 58) keys a placed view without words 1 and 13 of its 14-word resource description: the padding after the dimension (before the 64-bit alignment) and after the flags of D3D12_RESOURCE_DESC. This tree does so already, from the same pull request: normal_placed (LEONIDA_PLACED_NORMAL, on by default; =0 keeps the old key, so no switch of its own), and the placed textures leave the same words out of their key (LEONIDA_PLACED_FILLER). What was not tested here: that a field of the resource description (dimension, alignment, width, height, depth and levels, format, samples, layout, flags) still gives another key. Test: descriptor::tests::placed_keys_leave_out_the_padding_and_keep_every_field. In the game (the runs of the raw view commit before this one): shapes of placed views kept 29,404 after 5 minutes standing and 30,509 after the walking run, against 25,218 (m4-stand42 at 6 minutes), 24,906 and 25,462 (m4-rec4a and m4-rec4b, 2.5 minutes) and 47,445 (m4-walk4 at 6 minutes) in earlier runs: the same order, as nothing of the key changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions