Skip to content

Commit 5bd57a6

Browse files
author
joaosaffran
committed
adding comment
1 parent 836a8a8 commit 5bd57a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/DirectX/DXILRootSignature.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ static bool parseRootConstants(LLVMContext *Ctx, mcdxbc::RootSignatureDesc &RSD,
7676
return reportError(Ctx, "Invalid format for RootConstants Element");
7777

7878
dxbc::RootParameterHeader Header;
79+
// this will be properly calculated when writing it.
80+
Header.ParameterOffset = 0;
7981
Header.ParameterType =
8082
llvm::to_underlying(dxbc::RootParameterType::Constants32Bit);
8183

0 commit comments

Comments
 (0)