Skip to content

Commit 9ae5c63

Browse files
committed
clang format
1 parent 9d1b45e commit 9ae5c63

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

llvm/lib/Frontend/HLSL/HLSLRootSignatureUtils.cpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ static raw_ostream &operator<<(raw_ostream &OS,
7171
return OS;
7272
}
7373

74-
75-
static raw_ostream &operator<<(raw_ostream &OS,
76-
const SamplerFilter &Filter) {
74+
static raw_ostream &operator<<(raw_ostream &OS, const SamplerFilter &Filter) {
7775
switch (Filter) {
7876
case SamplerFilter::MinMagMipPoint:
7977
OS << "MinMagMipPoint";
@@ -243,7 +241,6 @@ static raw_ostream &operator<<(raw_ostream &OS,
243241
return OS;
244242
}
245243

246-
247244
static raw_ostream &operator<<(raw_ostream &OS,
248245
const StaticBorderColor &BorderColor) {
249246
switch (BorderColor) {
@@ -448,19 +445,16 @@ raw_ostream &operator<<(raw_ostream &OS, const RootDescriptor &Descriptor) {
448445
}
449446

450447
raw_ostream &operator<<(raw_ostream &OS, const StaticSampler &Sampler) {
451-
OS << "StaticSampler(" << Sampler.Reg
452-
<< ", filter = " << Sampler.Filter
448+
OS << "StaticSampler(" << Sampler.Reg << ", filter = " << Sampler.Filter
453449
<< ", addressU = " << Sampler.AddressU
454450
<< ", addressV = " << Sampler.AddressV
455451
<< ", addressW = " << Sampler.AddressW
456452
<< ", mipLODBias = " << Sampler.MipLODBias
457453
<< ", maxAnisotropy = " << Sampler.MaxAnisotropy
458454
<< ", comparisonFunc = " << Sampler.CompFunc
459455
<< ", borderColor = " << Sampler.BorderColor
460-
<< ", minLOD = " << Sampler.MinLOD
461-
<< ", maxLOD = " << Sampler.MaxLOD
462-
<< ", space = " << Sampler.Space
463-
<< ", visibility = " << Sampler.Visibility
456+
<< ", minLOD = " << Sampler.MinLOD << ", maxLOD = " << Sampler.MaxLOD
457+
<< ", space = " << Sampler.Space << ", visibility = " << Sampler.Visibility
464458
<< ")";
465459
return OS;
466460
}

0 commit comments

Comments
 (0)