summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-03-09 15:59:40 -0800
committerGitHub <noreply@github.com>2022-03-09 15:59:40 -0800
commitf6c2a0f81340a0efd10e286a3cbe33e1b564a11b (patch)
treea53f9b05d2563548149ea51abf669380cd42d97f /tools/gfx/render.cpp
parentf67d929c24babc302eb2807251fc09b084abac2e (diff)
gfx: restructure render-vk.cpp (#2157)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/render.cpp')
-rw-r--r--tools/gfx/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index 3cb19f205..80c662597 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -3,7 +3,6 @@
#include "../../source/core/slang-math.h"
#include "d3d11/render-d3d11.h"
#include "open-gl/render-gl.h"
-#include "vulkan/render-vk.h"
#include "cuda/render-cuda.h"
#include "cpu/render-cpu.h"
#include "debug-layer.h"
@@ -14,6 +13,7 @@ namespace gfx {
using namespace Slang;
Result SLANG_MCALL createD3D12Device(const IDevice::Desc* desc, IDevice** outDevice);
+Result SLANG_MCALL createVKDevice(const IDevice::Desc* desc, IDevice** outDevice);
static bool debugLayerEnabled = false;