summaryrefslogtreecommitdiffstats
path: root/source/core/slang-render-api-util.h
diff options
context:
space:
mode:
authorSimon Kallweit <64953474+skallweitNV@users.noreply.github.com>2024-08-30 18:50:19 +0200
committerGitHub <noreply@github.com>2024-08-30 09:50:19 -0700
commitf428a058ea48535a323c32d206ebc7e551c3c3e9 (patch)
tree2b004d07b630196f902b88679b4a08d8faaa97bc /source/core/slang-render-api-util.h
parent12137e9b00436eee3bf27f7a2fc5106513af8981 (diff)
Draft: integrate slang-rhi (#4970)
* add slang-rhi submodule * refactor render-test to use slang-rhi and remove OpenGL support * remove -vk -glsl tests * remove gl test * disable failing test * allow recursive submodules in github actions * update slang-rhi * update slang-rhi --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/core/slang-render-api-util.h')
-rw-r--r--source/core/slang-render-api-util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/core/slang-render-api-util.h b/source/core/slang-render-api-util.h
index 41728e5f2..224fe6996 100644
--- a/source/core/slang-render-api-util.h
+++ b/source/core/slang-render-api-util.h
@@ -11,8 +11,7 @@ namespace Slang
enum class RenderApiType
{
Unknown = -1,
- OpenGl = 0,
- Vulkan,
+ Vulkan = 0,
D3D12,
D3D11,
Metal,
@@ -26,7 +25,6 @@ struct RenderApiFlag
{
enum Enum
{
- OpenGl = 1 << int(RenderApiType::OpenGl),
Vulkan = 1 << int(RenderApiType::Vulkan),
D3D12 = 1 << int(RenderApiType::D3D12),
D3D11 = 1 << int(RenderApiType::D3D11),