Skip to content

Commit 12f99b0

Browse files
simollllvm-beanz
andauthored
Update tools/clang/lib/CodeGen/CGHLSLMS.cpp
Co-authored-by: Chris B <[email protected]>
1 parent d343b2d commit 12f99b0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/clang/lib/CodeGen/CGHLSLMS.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,9 +3509,8 @@ uint32_t CGMSHLSLRuntime::AddUAVSRV(VarDecl *decl,
35093509
if (decl->hasAttr<HLSLGloballyCoherentAttr>()) {
35103510
hlslRes->SetGloballyCoherent(true);
35113511
}
3512-
if (decl->hasAttr<HLSLReorderCoherentAttr>()) {
3512+
if (decl->hasAttr<HLSLReorderCoherentAttr>())
35133513
hlslRes->SetReorderCoherent(true);
3514-
}
35153514

35163515
if (!SetUAVSRV(decl->getLocation(), resClass, hlslRes.get(), VarTy))
35173516
return 0;

0 commit comments

Comments
 (0)