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 e618c8f8c..44bb4fb04 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -69,6 +69,7 @@ const Resource::DescBase& Resource::getDescBase() const
BindingStyle::DirectX, // DirectX12,
BindingStyle::OpenGl, // OpenGl,
BindingStyle::Vulkan, // Vulkan
+ BindingStyle::CPU, // CPU
};
/* static */void RendererUtil::compileTimeAsserts()
@@ -398,6 +399,7 @@ ProjectionStyle RendererUtil::getProjectionStyle(RendererType type)
case RendererType::OpenGl: return UnownedStringSlice::fromLiteral("OpenGL");
case RendererType::Vulkan: return UnownedStringSlice::fromLiteral("Vulkan");
case RendererType::Unknown: return UnownedStringSlice::fromLiteral("Unknown");
+ case RendererType::CPU: return UnownedStringSlice::fromLiteral("CPU");
default: return UnownedStringSlice::fromLiteral("?!?");
}
}