upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authord7ommy <abnalstlll@gmail.com>2026-11-26 03:39:08 +0300
committerd7ommy <abnalstlll@gmail.com>2026-11-26 03:39:08 +0300
commit2769c5a739ab5e9f362b606677d827d02905c95f (patch)
tree4b9a124a77b67b1fc8f8412d39e3a17eb3ee1f48 /runtime/test/tiny_game_exit_code_test.cpp
parent61732aca16fb0d63deb5e9987f9758d4e6ce0228 (diff)
d3d12: never defer buffer V#s past console-fix budget (RT-CONSOLE-FIX-NEVER-DEFER-BUFFER-VSHARP)
In fix_console_slots, when the LEONIDA_CONSOLE_FIX_US budget expires, do not null or defer buffer descriptors (!(w3 >> 30)). Only defer image T# descriptors to retry_console_slots. Buffer V# descriptors only rebase address offsets and are fast to fix, whereas image T#s perform costly texture lookups and view creation. Compute shaders during world transition (e.g. lib_cs_01144) read loop bounds and record counts from buffer descriptors; nulling them causes infinite loops and device loss. Tested with console_heap_vsharp_slots_test and vk_console_heap_gpu_test. AI-assisted (Claude Code).
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions