Skip to content

Commit eebdf42

Browse files
committed
pre-req: add missing token to Lexer
1 parent ab39042 commit eebdf42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ KEYWORD(RootSignature) // used only for diagnostic messaging
8080
KEYWORD(RootFlags)
8181
KEYWORD(DescriptorTable)
8282
KEYWORD(RootConstants)
83+
KEYWORD(StaticSampler)
8384

8485
// RootConstants Keywords:
8586
KEYWORD(num32BitConstants)

clang/unittests/Lex/LexHLSLRootSignatureTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ TEST_F(LexHLSLRootSignatureTest, ValidLexAllTokensTest) {
128128
129129
RootSignature
130130
131-
RootFlags DescriptorTable RootConstants
131+
RootFlags DescriptorTable RootConstants StaticSampler
132132
133133
num32BitConstants
134134

0 commit comments

Comments
 (0)