summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2021-01-07 16:01:48 -0800
committerGitHub <noreply@github.com>2021-01-07 16:01:48 -0800
commite24c5a6cb9c3347477b83abe084a09ae8f9fde0a (patch)
treebe5f8d31f8989ddc207f8ecdaa68a0bb6234a369 /slang.h
parentd84f4582c0caa656e7d0ca0e619651f8b4e5ed16 (diff)
Fill in some missing bits of capability API (#1652)
* Fill in some missing bits of capability API * Make invalid/unknown capability have a zero value (this aligns it better with the public API for `SlangProfileID`, so that the two can be merged down the line) * Actually provide an implementation of `spFindCapability()` public API * fixup: bug fixes for renumbering invalid capability atom
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index a0487303b..6c9ab3eea 100644
--- a/slang.h
+++ b/slang.h
@@ -642,6 +642,10 @@ extern "C"
};
typedef SlangInt32 SlangCapabilityID;
+ enum
+ {
+ SLANG_CAPABILITY_UNKNOWN = 0,
+ };
typedef unsigned int SlangMatrixLayoutMode;
enum