Skip to content

Commit 8b8c02a

Browse files
author
joaosaffran
committed
clean up
1 parent 0abacfc commit 8b8c02a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

llvm/include/llvm/BinaryFormat/DXContainer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ struct SignatureElement {
427427

428428
static_assert(sizeof(SignatureElement) == 4 * sizeof(uint32_t),
429429
"PSV Signature elements must fit in 16 bytes.");
430+
430431
} // namespace v0
431432

432433
namespace v1 {
@@ -467,6 +468,7 @@ struct RuntimeInfo : public v0::RuntimeInfo {
467468
sys::swapByteOrder(GeomData.MaxVertexCount);
468469
}
469470
};
471+
470472
} // namespace v1
471473

472474
namespace v2 {

llvm/include/llvm/MC/DXContainerRootSignature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct RootSignatureDesc {
2727

2828
uint32_t Version = 2U;
2929
uint32_t Flags = 0U;
30-
uint32_t RootParameterOffset = 24U;
30+
uint32_t RootParameterOffset = 0U;
3131
uint32_t StaticSamplersOffset = 0u;
3232
uint32_t NumStaticSamplers = 0u;
3333
SmallVector<mcdxbc::RootParameter> Parameters;

llvm/include/llvm/ObjectYAML/DXContainerYAML.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct RootParameterYamlDesc {
9595
uint32_t Type;
9696
uint32_t Visibility;
9797
uint32_t Offset;
98-
RootParameterYamlDesc(){};
98+
RootParameterYamlDesc() {};
9999
RootParameterYamlDesc(uint32_t T) : Type(T) {
100100
switch (T) {
101101

llvm/lib/ObjectYAML/DXContainerYAML.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "llvm/ADT/STLForwardCompat.h"
1616
#include "llvm/ADT/ScopeExit.h"
1717
#include "llvm/BinaryFormat/DXContainer.h"
18-
#include "llvm/Object/DXContainer.h"
1918
#include "llvm/Support/Error.h"
2019
#include "llvm/Support/ScopedPrinter.h"
2120
#include <cstdint>

0 commit comments

Comments
 (0)