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:
authorCLHelper <359823989+CLHelper@users.noreply.github.com>2026-11-22 14:44:30 +0000
committerCLHelper <359823989+CLHelper@users.noreply.github.com>2026-11-22 14:44:30 +0000
commit4a20110919dd671d4e5b40f2dafd3377239305da (patch)
treedc7542659b68a4466e737b375cf61245cf244eec /runtime/src/pe_loader.cpp
parent003e78129303643a3fdc9e5f0e31a01b09759236 (diff)
GPU tests: vk_harness skips a device with fewer push-constant bytes than it pushes
vk_harness declared a 144-byte push-constant range (152 with --mesh-compute) without checking maxPushConstantsSize. On a device with 128 bytes, the Vulkan minimum, that is invalid (VUID-VkPushConstantRange-size-00298), and on an AMD Radeon 610M on AMD's Windows driver ms_clip crashed (0xC0000005) and ms_w64x_ballot under LEONIDA_W64_EMULATE=1 hung until the runner's timeout. It now checks the limit once, right after it knows whether it runs a --mesh-compute module, and exits 77 with "unsupported: need N push constant bytes, device has M", as vk_texture_test (#862) and vk_bindless_test/vk_image_fuzz (#1113) already do. The range and the pushes use the same pc_bytes.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions