From a80f4bc9fa5ef1b3c401e611c7bb3f00b1c08a59 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Tue, 28 May 2019 14:38:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=89=A9=E7=90=86=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=89=B9=E6=80=A7=E8=BE=93=E5=87=BA=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RenderDevice/Vulkan/VKDeviceCreater.cpp | 62 +++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/src/RenderDevice/Vulkan/VKDeviceCreater.cpp b/src/RenderDevice/Vulkan/VKDeviceCreater.cpp index 861bf653..73601847 100644 --- a/src/RenderDevice/Vulkan/VKDeviceCreater.cpp +++ b/src/RenderDevice/Vulkan/VKDeviceCreater.cpp @@ -302,6 +302,67 @@ namespace return(true); } + void DebugOut(const VkPhysicalDeviceFeatures &features) + { + #define OUTPUT_PHYSICAL_DEVICE_FEATURE(name) std::cout<GetProperties()); + DebugOut(physical_device->GetFeatures()); } #endif//_DEBUG