diff --git a/example/Vulkan/VKInstance.cpp b/example/Vulkan/VKInstance.cpp index cf5ff14f..918c38b7 100644 --- a/example/Vulkan/VKInstance.cpp +++ b/example/Vulkan/VKInstance.cpp @@ -125,17 +125,17 @@ Instance *CreateInstance(const UTF8String &app_name) const char *validation_layers[]= { // "VK_LAYER_LUNARG_api_dump", - "VK_LAYER_LUNARG_assistant_layer", +// "VK_LAYER_LUNARG_assistant_layer", "VK_LAYER_LUNARG_core_validation", // "VK_LAYER_LUNARG_device_simulation", - "VK_LAYER_LUNARG_monitor", +// "VK_LAYER_LUNARG_monitor", "VK_LAYER_LUNARG_object_tracker", "VK_LAYER_LUNARG_standard_validation", "VK_LAYER_LUNARG_parameter_validation", // "VK_LAYER_LUNARG_vktrace", // "VK_LAYER_RENDERDOC_Capture", - "VK_LAYER_KHRONOS_validation", +// "VK_LAYER_KHRONOS_validation", // "VK_LAYER_NV_nsight-sys", diff --git a/example/Vulkan/main.cpp b/example/Vulkan/main.cpp index ca3b18d2..2435217f 100644 --- a/example/Vulkan/main.cpp +++ b/example/Vulkan/main.cpp @@ -16,6 +16,10 @@ #include"VKFramebuffer.h" #include +#ifdef WIN32 +#else +#include +#endif// using namespace hgl; using namespace hgl::graph; @@ -170,7 +174,7 @@ int main(int,char **) return -3; vulkan::Semaphore *sem=device->CreateSem(); - + vulkan::VertexInput *vi=CreateVertexBuffer(device); vulkan::PipelineCreater pc(device);