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:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-29 02:12:00 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-29 06:35:28 -0500
commitedcc7f3dcab2b0c6b10eb5f858a309cbb7b66c4c (patch)
tree38827ea7b7254bc7f515c3c785ef01c09a65bda4 /runtime/src/thread_stacks.cpp
parentb10cae3b997eac64a1f0bdbfd4393d03022409cd (diff)
rendering(r6a): forward CopyResourceX and mark GPU-copied placed TitleTextures as gpu_written
Ped head compositing writes BC3/BC7 blocks into placed slot-133 TitleTextures via CopyTextureRegionX (slot 85) and CopyResourceX (slot 86). Previously slot 86 was dropped as unforwarded, and placed BC textures (which cannot carry RT/DS/UAV flags) stayed gpu_written=false, causing place_title_view() and refresh_title_textures() to overwrite GPU-composited ped skin with zeroed CPU pages (intermittent pitch-black heads). Forward list slot 86 (CopyResourceX) to PC slot 17 (CopyResource); synchronously promote placed texture destinations of CopyTextureRegion/CopyResource/ResolveSubresource to gpu_written=true on ExecuteCommandLists (preserving unmodified mips on partial copies and avoiding fill_unlocked TOCTOU); add UNORM/sRGB mutability on placed textures for cross-alias format_family matching; fix evict_and_replace() gpu_placements cleanup; and add unit + Wine regression tests.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions