upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorquackottu <224479491+quackottu@users.noreply.github.com>2026-11-22 12:55:40 +0530
committerquackottu <224479491+quackottu@users.noreply.github.com>2026-11-22 12:55:40 +0530
commit61a2680ad9f99ce57ad0a3914fd1254c6403b8fc (patch)
tree49dcb8c2710992bce213ce4e8cda5aff8632a7c4 /runtime/src/pe_loader.cpp
parentc63773d51235d72250d48699f29830ac9ddafd60 (diff)
Replay: copies between a BC format and its same-width uncompressed format
D3D12 allows CopyTextureRegion/CopyResource between a BC format and an uncompressed one of the same bit width, one texel standing for one 4x4 block (Format Conversion using Direct3D 10.1); WARP and the RTX 5070 copy them byte for byte. The replay compared the box with the destination in texels and the resource shapes texel for texel, so every such copy was refused, and one invalid uint->BC box reached vkCmdCopyImage out of bounds. Bounds are now checked in blocks of each side, the extent is in source texels, and partial BC edge blocks are still refused.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions