From a07455c175db33d8d95bc5cd83738808d74cd105 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 11 Mar 2021 09:14:30 -0800 Subject: Add Linux support to `platform` and `gfx`. (#1744) --- tools/gfx/render.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/gfx/render.cpp') diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp index 5ef2a454e..4ecb52287 100644 --- a/tools/gfx/render.cpp +++ b/tools/gfx/render.cpp @@ -90,6 +90,12 @@ extern "C" return SLANG_FAIL; } break; +#elif SLANG_LINUX_FAMILY + case DeviceType::Default: + case DeviceType::Vulkan: + { + return createVKDevice(desc, outDevice); + } #endif default: -- cgit v1.2.3