We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836a8a8 commit 5bd57a6Copy full SHA for 5bd57a6
llvm/lib/Target/DirectX/DXILRootSignature.cpp
@@ -76,6 +76,8 @@ static bool parseRootConstants(LLVMContext *Ctx, mcdxbc::RootSignatureDesc &RSD,
76
return reportError(Ctx, "Invalid format for RootConstants Element");
77
78
dxbc::RootParameterHeader Header;
79
+ // this will be properly calculated when writing it.
80
+ Header.ParameterOffset = 0;
81
Header.ParameterType =
82
llvm::to_underlying(dxbc::RootParameterType::Constants32Bit);
83
0 commit comments