Skip to content

Commit 0eb77b2

Browse files
committed
setdefault fu
1 parent 1642bc9 commit 0eb77b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ struct DescriptorTableClause {
219219

220220
void setDefaultFlags(llvm::dxbc::RootSignatureVersion Version) {
221221
if (Version == llvm::dxbc::RootSignatureVersion::V1_0) {
222-
Flags = DescriptorRangeFlags::DataVolatile;
222+
Flags = DescriptorRangeFlags::DescriptorsVolatile;
223223
if (Type != ClauseType::Sampler)
224-
Flags |= DescriptorRangeFlags::DescriptorsVolatile;
224+
Flags |= DescriptorRangeFlags::DataVolatile;
225225
return;
226226
}
227227

0 commit comments

Comments
 (0)