Skip to content

Commit f9fbe39

Browse files
committed
pre-req: add missing token to Lexer
1 parent e479220 commit f9fbe39

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ KEYWORD(flags)
100100
KEYWORD(numDescriptors)
101101
KEYWORD(offset)
102102

103+
// StaticSampler Keywords:
104+
KEYWORD(mipLODBias)
105+
103106
// Unbounded Enum:
104107
UNBOUNDED_ENUM(unbounded, "unbounded")
105108

clang/unittests/Lex/LexHLSLRootSignatureTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ TEST_F(LexHLSLRootSignatureTest, ValidLexAllTokensTest) {
136136
space visibility flags
137137
numDescriptors offset
138138
139+
mipLODBias
140+
139141
unbounded
140142
DESCRIPTOR_RANGE_OFFSET_APPEND
141143

0 commit comments

Comments
 (0)