summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/render.cpp')
-rw-r--r--tools/gfx/render.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index 4ecb52287..e7d30b728 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -7,6 +7,7 @@
#include "open-gl/render-gl.h"
#include "vulkan/render-vk.h"
#include "cuda/render-cuda.h"
+#include "cpu/render-cpu.h"
#include <cstring>
namespace gfx {
@@ -97,6 +98,11 @@ extern "C"
return createVKDevice(desc, outDevice);
}
#endif
+ case DeviceType::CPU:
+ {
+ return createCPUDevice(desc, outDevice);
+ }
+ break;
default:
return SLANG_FAIL;
@@ -154,5 +160,4 @@ extern "C"
}
}
-
} // renderer_test