Skip to content

Commit b7f07aa

Browse files
committed
format
1 parent 159cd57 commit b7f07aa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

llvm/lib/ObjectYAML/DXContainerYAML.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ DXContainerYAML::RootSignatureYamlDesc::create(
211211

212212
if (Version > 2) {
213213
#define STATIC_SAMPLER_FLAG(Num, Enum, Flag) \
214-
NewS.Enum = \
215-
(S.Flags & llvm::to_underlying(dxbc::StaticSamplerFlags::Enum));
214+
NewS.Enum = (S.Flags & llvm::to_underlying(dxbc::StaticSamplerFlags::Enum));
216215
#include "llvm/BinaryFormat/DXContainerConstants.def"
217216
}
218217
RootSigDesc.StaticSamplers.push_back(NewS);

llvm/unittests/Object/DXContainerTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,8 +1201,8 @@ TEST(RootSignature, ParseStaticSamplers) {
12011201
ASSERT_EQ(Sampler.ShaderVisibility, 7u);
12021202
}
12031203
{
1204-
// this is testing static sampler parsing for root signature version 1.2,
1205-
// it changes: the version number, the size of root signature being emitted
1204+
// this is testing static sampler parsing for root signature version 1.2,
1205+
// it changes: the version number, the size of root signature being emitted
12061206
// and the values for flag fields.
12071207
uint8_t Buffer[] = {
12081208
0x44, 0x58, 0x42, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0 commit comments

Comments
 (0)