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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index 785343927..43a255817 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -75,6 +75,7 @@ const Resource::DescBase& Resource::getDescBase() const
BindingStyle::OpenGl, // OpenGl,
BindingStyle::Vulkan, // Vulkan
BindingStyle::CPU, // CPU
+ BindingStyle::CUDA, // CUDA
};
/* static */void RendererUtil::compileTimeAsserts()
@@ -405,6 +406,7 @@ ProjectionStyle RendererUtil::getProjectionStyle(RendererType type)
case RendererType::Vulkan: return UnownedStringSlice::fromLiteral("Vulkan");
case RendererType::Unknown: return UnownedStringSlice::fromLiteral("Unknown");
case RendererType::CPU: return UnownedStringSlice::fromLiteral("CPU");
+ case RendererType::CUDA: return UnownedStringSlice::fromLiteral("CUDA");
default: return UnownedStringSlice::fromLiteral("?!?");
}
}