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 cc05d4d commit f02d18eCopy full SHA for f02d18e
llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp
@@ -212,7 +212,8 @@ MDNode *MetadataBuilder::BuildStaticSampler(const StaticSampler &Sampler) {
212
ConstantAsMetadata::get(Builder.getInt32(Sampler.Space)),
213
ConstantAsMetadata::get(
214
Builder.getInt32(to_underlying(Sampler.Visibility))),
215
- ConstantAsMetadata::get(Sampler.Flags),
+ ConstantAsMetadata::get(
216
+ Builder.getInt32(to_underlying(Sampler.Visibility))),
217
};
218
return MDNode::get(Ctx, Operands);
219
}
0 commit comments