Skip to content

Commit

Permalink
bad formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
llvm-beanz committed Nov 1, 2023
1 parent c999167 commit 349b2a4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/clang/lib/CodeGen/CGHLSLMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,7 @@ void CGMSHLSLRuntime::ConstructFieldAttributedAnnotation(
dyn_cast<BuiltinType>(type->getCanonicalTypeInternal()))
fieldAnnotation.SetCompType(BuiltinTyToCompTy(BTy, bSNorm, bUNorm));
} else {
DXASSERT(!bSNorm && !bUNorm,
"snorm/unorm on invalid type, validate at handleHLSLTypeAttr");
DXASSERT(!bSNorm && !bUNorm, "snorm/unorm on invalid type, validate at handleHLSLTypeAttr");
}
}

Expand All @@ -832,8 +831,7 @@ static void ConstructFieldInterpolation(DxilFieldAnnotation &fieldAnnotation,
fieldAnnotation.SetInterpolationMode(InterpMode);
}

static unsigned AlignBaseOffset(unsigned baseOffset, unsigned size, QualType Ty,
bool bDefaultRowMajor) {
static unsigned AlignBaseOffset(unsigned baseOffset, unsigned size, QualType Ty, bool bDefaultRowMajor) {
// Do not align if resource, since resource isn't really here.
if (IsHLSLResourceType(Ty))
return baseOffset;
Expand Down

0 comments on commit 349b2a4

Please sign in to comment.