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:
authorundeadhuman37 <343031842+undeadhuman37@users.noreply.github.com>2026-11-22 09:21:11 +0300
committerundeadhuman37 <343031842+undeadhuman37@users.noreply.github.com>2026-11-22 09:21:11 +0300
commit55bf9d0328f84657486395b6d56862c6faf2e3dc (patch)
treedc9c8f4d3d06c671f6c80e17c5d80a6d1cc2de89 /runtime/src/pe_loader.cpp
parent43d470316ec6cbcd64002bc3792998d9f5745dac (diff)
D3D-122: GetCopyableFootprints refuses the descriptions the host refuses
The buffer branch only checked first/count and the texture branch never looked at Width, Height, DepthOrArraySize or SampleDesc, turning a zero extent into 1. The PC runtime gives the failure answer (every output all ones) for these; measured on WARP, and @quackottu's subset on an NVIDIA GPU. Buffers: Width 0, or any of Height, DepthOrArraySize, MipLevels, Format, Layout, SampleDesc or Alignment other than its one valid value. Textures: a zero extent, Count 0, or more than one sample outside a single-mip, non-ROW_MAJOR 2D render target or depth stencil, or a count that is not a power of two. Left unchecked because the host accepts them or adapters differ: Flags on buffers, extra mips, 2D ROW_MAJOR, Quality at one sample, extent limits, texture alignment, multisample quality and format support. d3d12_vulkan_device_test: footprint_validity_cases() is compared with the host runtime when there is one and checked on its own otherwise. AI-assisted
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions