summaryrefslogtreecommitdiffstats
path: root/source/core/slang-render-api-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-render-api-util.h')
-rw-r--r--source/core/slang-render-api-util.h2
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 224fe6996..f1be930cc 100644
--- a/source/core/slang-render-api-util.h
+++ b/source/core/slang-render-api-util.h
@@ -17,6 +17,7 @@ enum class RenderApiType
Metal,
CPU,
CUDA,
+ WebGPU,
CountOf,
};
@@ -31,6 +32,7 @@ struct RenderApiFlag
Metal = 1 << int(RenderApiType::Metal),
CPU = 1 << int(RenderApiType::CPU),
CUDA = 1 << int(RenderApiType::CUDA),
+ WebGPU = 1 << int(RenderApiType::WebGPU),
AllOf = (1 << int(RenderApiType::CountOf)) - 1 ///< All bits set
};
};