summaryrefslogtreecommitdiffstats
path: root/include/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slang.h')
-rw-r--r--include/slang.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/slang.h b/include/slang.h
index 1671e7f38..6fd6da7b2 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -2316,7 +2316,7 @@ extern "C"
// The input_attachment_index subpass occupancy tracker
SLANG_PARAMETER_CATEGORY_SUBPASS,
- // Metal resource binding points.
+ // Metal tier-1 argument buffer element [[id]].
SLANG_PARAMETER_CATEGORY_METAL_ARGUMENT_BUFFER_ELEMENT,
// Metal [[attribute]] inputs.
@@ -2398,6 +2398,7 @@ extern "C"
enum SlangLayoutRules : SlangLayoutRulesIntegral
{
SLANG_LAYOUT_RULES_DEFAULT,
+ SLANG_LAYOUT_RULES_METAL_ARGUMENT_BUFFER_TIER_2,
};
typedef SlangUInt32 SlangModifierIDIntegral;
@@ -3585,6 +3586,7 @@ namespace slang
enum class LayoutRules : SlangLayoutRulesIntegral
{
Default = SLANG_LAYOUT_RULES_DEFAULT,
+ MetalArgumentBufferTier2 = SLANG_LAYOUT_RULES_METAL_ARGUMENT_BUFFER_TIER_2,
};
typedef struct ShaderReflection ProgramLayout;