Skip to content

Commit 3979151

Browse files
author
joaosaffran
committed
clean up
1 parent 984baf6 commit 3979151

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

llvm/include/llvm/BinaryFormat/DXContainer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,8 @@ struct RootDescriptor {
609609
}
610610
};
611611

612+
// following dx12 naming
613+
// https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_root_constants
612614
struct RootConstants {
613615
uint32_t ShaderRegister;
614616
uint32_t RegisterSpace;
@@ -690,6 +692,7 @@ struct DescriptorRange : public v1::DescriptorRange {
690692
};
691693
} // namespace v2
692694
} // namespace RTS0
695+
693696
} // namespace dxbc
694697
} // namespace llvm
695698

llvm/include/llvm/ObjectYAML/DXContainerYAML.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ struct RootParameterYamlDesc {
118118
uint32_t Offset;
119119
ParameterData Data;
120120

121-
RootParameterYamlDesc(){};
121+
RootParameterYamlDesc() {};
122122
RootParameterYamlDesc(uint32_t T) : Type(T) {}
123123
};
124124

llvm/lib/ObjectYAML/DXContainerEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include "llvm/BinaryFormat/DXContainer.h"
1515
#include "llvm/MC/DXContainerPSVInfo.h"
1616
#include "llvm/MC/DXContainerRootSignature.h"
17-
#include "llvm/ObjectYAML/DXContainerYAML.h"
1817
#include "llvm/ObjectYAML/ObjectYAML.h"
1918
#include "llvm/ObjectYAML/yaml2obj.h"
2019
#include "llvm/Support/Errc.h"

llvm/lib/ObjectYAML/DXContainerYAML.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "llvm/BinaryFormat/DXContainer.h"
1818
#include "llvm/Support/Error.h"
1919
#include "llvm/Support/ScopedPrinter.h"
20-
#include <climits>
2120
#include <cstdint>
2221
#include <system_error>
2322

0 commit comments

Comments
 (0)