简体   繁体   English

找不到 VkNonDispatchableHandle

[英]Couldn't find VkNonDispatchableHandle

I'm using Vulkan to create a simple program.我正在使用 Vulkan 创建一个简单的程序。 After I resize the window, the validation layer gives me this output.在我调整 window 的大小后,验证层给了我这个 output。 The resize itself works fine.调整大小本身工作正常。 What does it say?它说什么? The complete error is following:完整的错误如下:

UNASSIGNED-Threading-Info(ERROR / SPEC): msgNum: 1567320034 - Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0xee3a9100000000b4, type = VK_OBJECT_TYPE_UNKNOWN;未分配线程信息(错误/规范):msgNum:1567320034 - 验证错误:[未分配线程信息] Object 0:句柄 = 0xee3a9100000000b4,类型 = VK_OBJECT_TYPE_UNKNOWN; | | MessageID = 0x5d6b67e2 |消息 ID = 0x5d6b67e2 | Couldn't find VkNonDispatchableHandle Object 0xee3a9100000000b4.找不到 VkNonDispatchableHandle Object 0xee3a9100000000b4。 This should not happen and may indicate a bug in the application.这不应该发生,并且可能表明应用程序中存在错误。 Objects: 1 [0] 0xee3a9100000000b4, type: 0, name: NULL对象:1 [0] 0xee3a9100000000b4,类型:0,名称:NULL

What causes the problem?是什么导致了问题?

I fixed it up.我修好了。

The reason, that caused the Problem was, that I tried to destroy a Swapchain which was set to VK_NULL_HANDLE.导致问题的原因是,我试图破坏设置为 VK_NULL_HANDLE 的交换链。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM