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 94ec5c6 commit 532e22eCopy full SHA for 532e22e
clang/lib/Parse/ParseHLSLRootSignature.cpp
@@ -209,10 +209,10 @@ std::optional<RootDescriptor> RootSignatureParser::parseRootDescriptor() {
209
210
// Fill in optional values
211
if (Params->Space.has_value())
212
- Param.Space = Params->Space.value();
+ Descriptor.Space = Params->Space.value();
213
214
if (Params->Visibility.has_value())
215
- Param.Visibility = Params->Visibility.value();
+ Descriptor.Visibility = Params->Visibility.value();
216
217
if (consumeExpectedToken(TokenKind::pu_r_paren,
218
diag::err_hlsl_unexpected_end_of_params,
0 commit comments