File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Intern/rayx-core/src/VulkanEngine/Init Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -164,11 +164,18 @@ void VulkanEngine::createLogicalDevice() {
164164 deviceFeatures.shaderInt64 = VK_TRUE;
165165 deviceFeatures.robustBufferAccess = VK_TRUE;
166166
167+ VkPhysicalDeviceVulkan13Features vk13features = {
168+ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES,
169+ .pNext = NULL ,
170+ .maintenance4 = VK_TRUE,
171+ };
172+
167173 VkDeviceCreateInfo createInfo{};
168174 createInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
169175 createInfo.pQueueCreateInfos = &queueCreateInfo;
170176 createInfo.queueCreateInfoCount = 1 ;
171177 createInfo.pEnabledFeatures = &deviceFeatures;
178+ createInfo.pNext = &vk13features;
172179
173180 auto extensions = getRequiredDeviceExtensions ();
174181 createInfo.enabledExtensionCount = static_cast <uint32_t >(extensions.size ());
You can’t perform that action at this time.
0 commit comments