upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-25 01:40:43 +0200
committerwhoalin1 <207920491+whoalin1@users.noreply.github.com>2026-11-25 22:07:34 +0200
commit285801f0acbd73e75433b9e5f8e869054c900d45 (patch)
tree2d199aca6e0a2ed5063dcd8db1f1328eb59b2b67 /runtime/test/cpp_unwind_test.cpp
parentdb1a22d290f5e86fff9282fce3d4e02e788b05b4 (diff)
vk_image_fuzz: enable shaderDrawParameters for the translated vertex shader
Every translated VS declares the SPIR-V DrawParameters capability (BaseVertex / BaseInstance for the zero-based v0 / v3), but the harness never enabled VkPhysicalDeviceVulkan11Features::shaderDrawParameters. Under LEONIDA_VK_VALIDATION=1, vkCreateShaderModule fails with VUID-VkShaderModuleCreateInfo-pCode-08740 on every case, on both AMD and NVIDIA, silently zeroing an image_fuzz campaign; drivers tolerate it without validation. Query Vulkan11 features on their own vkGetPhysicalDeviceFeatures2 call and chain enable11 under the Vulkan12 features at device creation, as vk_sampler_test and vk_bindless_test already do for their queries. Verified: image_fuzz seed 1 (60 programs) and seed 2 (30 programs) match on AMD Radeon Graphics and NVIDIA RTX 4070 SUPER with LEONIDA_VK_VALIDATION=1, 0 validation errors; before the fix the first case of each GPU failed with the VUID. vk_bindless_test and vk_sampler_test run clean under validation on both GPUs, so their chained Vulkan11-under-Vulkan12 queries needed no change. Co-Authored-By: Devin <noreply@cognition.ai>
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions