diff options
Diffstat (limited to 'source/core/slang-render-api-util.h')
| -rw-r--r-- | source/core/slang-render-api-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/core/slang-render-api-util.h b/source/core/slang-render-api-util.h index fbdd3930c..48b599653 100644 --- a/source/core/slang-render-api-util.h +++ b/source/core/slang-render-api-util.h @@ -15,6 +15,7 @@ enum class RenderApiType Vulkan, D3D12, D3D11, + CPU, CountOf, }; @@ -27,6 +28,7 @@ struct RenderApiFlag Vulkan = 1 << int(RenderApiType::Vulkan), D3D12 = 1 << int(RenderApiType::D3D12), D3D11 = 1 << int(RenderApiType::D3D11), + CPU = 1 << int(RenderApiType::CPU), AllOf = (1 << int(RenderApiType::CountOf)) - 1 ///< All bits set }; }; |
