File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -427,6 +427,7 @@ struct SignatureElement {
427427
428428static_assert (sizeof (SignatureElement) == 4 * sizeof (uint32_t ),
429429 " PSV Signature elements must fit in 16 bytes." );
430+
430431} // namespace v0
431432
432433namespace v1 {
@@ -467,6 +468,7 @@ struct RuntimeInfo : public v0::RuntimeInfo {
467468 sys::swapByteOrder (GeomData.MaxVertexCount );
468469 }
469470};
471+
470472} // namespace v1
471473
472474namespace v2 {
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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>
You can’t perform that action at this time.
0 commit comments