mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-24 13:45:57 +00:00
With the switch off, the draw path now pays one load of vk_caps.null_attach per gkey_fill and per empty slot in target_wmask instead of a call into vk_exec.c, and vk_exec_pass_begin one flag test per pass. The switch is read in vk_caps_init, before the pipeline prewarm makes the first key. With it on, only empty slots below the pass's last target get a dummy, which is where the pipelines' colorAttachmentCount ends (vk_pipeline.c target_count); a pass without colour targets keeps none, so a depth-only or attachment-free pass never gets a 16384-wide image. All empty slots of a pass share one view, and an image serves every pass it covers with its sample count: 1.4.3 at 1600x896 makes one image of 1.75 MiB instead of three. The images are destroyed in destroy_all before the allocator goes, and the log line gives each one's size. The settings row no longer states that empty slots caused #1343: the dumps do not show it. totk.ini.example gets the player entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>