From 80c56e573d3f7a035a4c8bbfc0cdfe8f15a55298 Mon Sep 17 00:00:00 2001 From: Stephen Saunders Date: Thu, 10 Nov 2022 12:19:54 -0500 Subject: [PATCH] Fix compile errors: DeviceManager.h include path for DX12, sync2 structure initialization typo for Vulkan --- neo/sys/DeviceManager_DX12.cpp | 4 ++-- neo/sys/DeviceManager_VK.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/neo/sys/DeviceManager_DX12.cpp b/neo/sys/DeviceManager_DX12.cpp index 88ccb7d3..16c39674 100644 --- a/neo/sys/DeviceManager_DX12.cpp +++ b/neo/sys/DeviceManager_DX12.cpp @@ -24,7 +24,7 @@ #include "renderer/RenderCommon.h" #include "renderer/RenderSystem.h" -#include "../DeviceManager.h" +#include #include #include @@ -631,4 +631,4 @@ void DeviceManager_DX12::Present() DeviceManager* DeviceManager::CreateD3D12() { return new DeviceManager_DX12(); -} \ No newline at end of file +} diff --git a/neo/sys/DeviceManager_VK.cpp b/neo/sys/DeviceManager_VK.cpp index 8e856eb9..a6fec731 100644 --- a/neo/sys/DeviceManager_VK.cpp +++ b/neo/sys/DeviceManager_VK.cpp @@ -788,7 +788,7 @@ bool DeviceManager_VK::createDevice() .setPrimitiveFragmentShadingRate( true ) .setAttachmentFragmentShadingRate( true ); - auto sync2Features = vk::PhysicalDeviceSynchronization2Features() + auto sync2Features = vk::PhysicalDeviceSynchronization2FeaturesKHR() .setSynchronization2( true ); #if defined(__APPLE__) && defined( VK_KHR_portability_subset )