diff options
Diffstat (limited to 'tools/gfx')
| -rw-r--r-- | tools/gfx/render.cpp | 2 | ||||
| -rw-r--r-- | tools/gfx/render.h | 2 |
2 files changed, 4 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("?!?"); } } diff --git a/tools/gfx/render.h b/tools/gfx/render.h index 247932bd5..4a8458e96 100644 --- a/tools/gfx/render.h +++ b/tools/gfx/render.h @@ -66,6 +66,7 @@ enum class RendererType DirectX12, OpenGl, Vulkan, + CPU, CountOf, }; @@ -85,6 +86,7 @@ enum class BindingStyle DirectX, OpenGl, Vulkan, + CPU, CountOf, }; |
