diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-06-07 09:28:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 00:28:16 -0700 |
| commit | 004fe27a52b7952111ad7e749397aeff499de7ed (patch) | |
| tree | 6c7fccc6b2542079d911d903bb5e976d79efde2a /source/core/slang-render-api-util.h | |
| parent | 72f10a8cc21280c6a84b8f5917dabdb3da2f482e (diff) | |
Metal compute tests (#4292)
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 b028d3996..7a2848038 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, + Metal, CPU, CUDA, CountOf, @@ -29,6 +30,7 @@ struct RenderApiFlag Vulkan = 1 << int(RenderApiType::Vulkan), D3D12 = 1 << int(RenderApiType::D3D12), D3D11 = 1 << int(RenderApiType::D3D11), + Metal = 1 << int(RenderApiType::Metal), CPU = 1 << int(RenderApiType::CPU), CUDA = 1 << int(RenderApiType::CUDA), AllOf = (1 << int(RenderApiType::CountOf)) - 1 ///< All bits set |
