Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不完全算是Bug,MacOS下Vulkan validation layer 报错 #208

Closed
rocketman123456 opened this issue May 27, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@rocketman123456
Copy link
Contributor

Describe the bug | Bug描述
MacOS下Vulkan validation layer 报错,信息如下:

validation layer: Validation Error: [ VUID-VkDeviceCreateInfo-pProperties-04451 ] Object 0: handle = 0x6000001ddd20, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x3a3b6ca0 | vkCreateDevice: VK_KHR_portability_subset must be enabled because physical device VkPhysicalDevice 0x6000001ddd20[] supports it The Vulkan spec states: If the VK_KHR_portability_subset extension is included in pProperties of vkEnumerateDeviceExtensionProperties, ppEnabledExtensions must include "VK_KHR_portability_subset" (https://vulkan.lunarg.com/doc/view/1.2.198.1/mac/1.2-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pProperties-04451)

在初始化时按照提示信息使能VK_KHR_portability_subset扩展即可解决问题。

Steps to reproduce | 如何复现

Desktop | 桌面环境

  • OS: [macOS]
  • Version [Bug Sur]
  • CPU [Intel I9]
  • GPU [AMD]
  • Memory [16GB]
  • Compiler [Clang]
@rocketman123456 rocketman123456 added the bug Something isn't working label May 27, 2022
@BoomingTechDev
Copy link
Contributor

Should be fixed by #209, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants