upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorQemmHD <stephenlethco2@gmail.com>2026-11-24 11:25:04 -0500
committerGitHub <noreply@github.com>2026-11-24 11:25:04 -0500
commitf5928c6b6bcedd4d5defe9a64cd58a0650a7d63d (patch)
tree490c806d6d7c78c30c9e32d38b2287fb150328b1 /runtime/src/thread_stacks.cpp
parentfd635819cfa048e46c10046b35a0c212f2ad6f7a (diff)
parentcfb343636943adc40108c636951eadc95ef3490d (diff)
Merge pull request #434 from tahffo68hk-hash/fix/vk-tile-copy-align
Merging. **Why merged:** tile_footprint staging now follows the format's real alignment, block size and depth. Before, it assumed 2D RGBA8, which was wrong for 8- and 16-byte texels, BC formats and 3D. moffington showed 7 new asserts fail on the base, and Dezmonius passed it on Windows with an RTX 5070. **Why it's good:** replay_copy_offset, replay_texture_barrier and d3d12_texture_tiles all pass both plain and under validation. A possible follow-up, not a blocker: staging now triggers on offset % fmt.bytes, so an R8/R16 tile copy at an offset that isn't a multiple of 4 is no longer staged. On a transfer-only queue that would hit VUID-vkCmdCopyBufferToImage-commandBuffer-07737. main's non-tile path already behaves that way, and the old *4 staging was wrong for R8/R16 anyway; max(4, fmt.bytes) for colour formats would cover both. Tested on Windows 11 / RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0. Alone on main, its tests passed both plain and with LEONIDA_VK_VALIDATION=1. Cumulative: #388, #418, #421, #434, #470, #484, #485, #486 and #488 merged onto main 1504c1af6 (a225e593e). There the repo-consistency set gives 566 passed / 5 skipped / 0 failed, compileall is clean, and full ctest is 306/308. The 2 failures are the same pre-existing ones as main (d3d12_execute_indirect_validation, d3d12_depth_resolve), with the same skip set. git merge-tree against current main 98a977b4b: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions