Skip to content

Commit ca21878

Browse files
author
joaosaffran
committed
adding comment
1 parent 44532d6 commit ca21878

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

llvm/include/llvm/BinaryFormat/DXContainerConstants.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ SHADER_FEATURE_FLAG(31, 36, NextUnusedBit, "Next reserved shader flag bit (not a
5353
#undef SHADER_FEATURE_FLAG
5454
#endif // SHADER_FEATURE_FLAG
5555

56+
57+
// ROOT_ELEMENT_FLAG(bit offset for the flag, name).
5658
#ifdef ROOT_ELEMENT_FLAG
5759

5860
ROOT_ELEMENT_FLAG(0, AllowInputAssemblerInputLayout)

llvm/unittests/Object/DXContainerTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,7 @@ TEST(RootSignature, ParseRootFlags) {
846846
}
847847

848848
{
849+
// this parameter has the root signature definition missing some values.
849850
uint8_t Buffer[] = {
850851
0x44, 0x58, 0x42, 0x43, 0x32, 0x9A, 0x53, 0xD8, 0xEC, 0xBE, 0x35,
851852
0x6F, 0x05, 0x39, 0xE1, 0xFE, 0x31, 0x20, 0xF0, 0xC1, 0x01, 0x00,

0 commit comments

Comments
 (0)