HomeFreeBSD

graphics/vulkan-validation-layers: unbreak runtime after a9528c27d99c

Description

graphics/vulkan-validation-layers: unbreak runtime after a9528c27d99c

$ vkcube-xcb --validate
WARNING : VALIDATION - Message Id Number: 2044605652 | Message Id Name: VUID_Undefined

Validation Warning: [ VUID_Undefined ] Object 0: handle = 0x8285d0000, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x79de34d4 | Instance Extension VK_KHR_xcb_surface is not supported by this layer.  Using this extension may adversely affect validation results and/or produce undefined behavior.

Objects - 1
        Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x8285d0000

Selected GPU 0: Intel(R) HD Graphics 530 (SKL GT2), type: IntegratedGpu
ERROR : VALIDATION - Message Id Number: -2145442690 | Message Id Name: VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter

Validation Error: [ VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter ] Object 0: handle = 0x8285d0000, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x801f247e | Invalid VkSurfaceKHR Object 0x8285c8870. The Vulkan spec states: surface must be a valid VkSurfaceKHR handle (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter)

Objects - 1
        Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x8285d0000

ERROR : VALIDATION - Message Id Number: 1567320034 | Message Id Name: UNASSIGNED-Threading-Info

Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x8285c8870, type = VK_OBJECT_TYPE_SURFACE_KHR; | MessageID = 0x5d6b67e2 | Couldn't find VkSurfaceKHR Object 0x8285c8870. This should not happen and may indicate a bug in the application.

Objects - 1
        Object[0] - VK_OBJECT_TYPE_SURFACE_KHR, Handle 0x8285c8870

Segmentation fault

(cherry picked from commit 12e8dd9d6973f485d1b1ff913e0eab6e676620d2)

Details

Provenance
jbeichAuthored on Jan 12 2023, 4:17 PM
Parents
R11:f20c31b383fd: devel/cargo-c: unbreak WITH_DEBUG in consumers after c9724410bb38
Branches
Unknown
Tags
Unknown