Skip to content

Commit e0bb6c5

Browse files
alsepkowCopilot
andcommitted
Fix clang-format issues
Co-authored-by: Copilot <[email protected]>
1 parent 2c3b284 commit e0bb6c5

4 files changed

Lines changed: 14 additions & 15 deletions

File tree

tools/clang/unittests/HLSLExec/HLSLTestDataTypes.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <DirectXMath.h>
1111
#include <DirectXPackedVector.h>
1212

13-
#include "dxc/Support/Global.h"
1413
#include "HlslTestUtils.h"
14+
#include "dxc/Support/Global.h"
1515

1616
// Shared HLSL type wrappers for use in execution tests.
1717
// These types bridge the gap between C++ and HLSL type representations.
@@ -547,8 +547,7 @@ inline bool doValuesMatch(T A, T B, double Tolerance, ValidationType) {
547547
return Diff <= Tolerance;
548548
}
549549

550-
inline bool doValuesMatch(HLSLBool_t A, HLSLBool_t B, double,
551-
ValidationType) {
550+
inline bool doValuesMatch(HLSLBool_t A, HLSLBool_t B, double, ValidationType) {
552551
return A == B;
553552
}
554553

tools/clang/unittests/HLSLExec/LinearAlgebra.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ DATA_TYPE(uint32_t, "uint", "ComponentType::U32", 4, false)
8787

8888
#undef DATA_TYPE
8989

90-
using HLSLTestDataTypes::isFloatingPointType;
91-
using HLSLTestDataTypes::ValidationType;
92-
using HLSLTestDataTypes::ValidationConfig;
9390
using HLSLTestDataTypes::DefaultValidation;
94-
using HLSLTestDataTypes::StrictValidation;
9591
using HLSLTestDataTypes::doValuesMatch;
9692
using HLSLTestDataTypes::HLSLHalf_t;
93+
using HLSLTestDataTypes::isFloatingPointType;
94+
using HLSLTestDataTypes::StrictValidation;
95+
using HLSLTestDataTypes::ValidationConfig;
96+
using HLSLTestDataTypes::ValidationType;
9797

9898
template <typename T>
9999
bool doVectorsMatch(const std::vector<T> &Actual,

tools/clang/unittests/HLSLExec/LinearAlgebraOps.def

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
#define OP(SYMBOL, ARITY, DEFINE, SHADER_NAME, INPUT_SET_1, INPUT_SET_2)
1919
#endif
2020

21-
OP(FillMatrix, 0, "FUNC_FILL_MATRIX", "LinAlgOp", Fill, Fill)
22-
OP(MatrixStore, 1, "FUNC_MATRIX_STORE", "LinAlgOp", Seed, Seed)
23-
OP(MatrixAccumulate, 1, "FUNC_MATRIX_ACCUMULATE", "LinAlgOp", Seed, Seed)
24-
OP(MatrixMul, 2, "FUNC_MATRIX_MUL", "LinAlgOp", Seed, Identity)
21+
OP(FillMatrix, 0, "FUNC_FILL_MATRIX", "LinAlgOp", Fill, Fill)
22+
OP(MatrixStore, 1, "FUNC_MATRIX_STORE", "LinAlgOp", Seed, Seed)
23+
OP(MatrixAccumulate, 1, "FUNC_MATRIX_ACCUMULATE", "LinAlgOp", Seed, Seed)
24+
OP(MatrixMul, 2, "FUNC_MATRIX_MUL", "LinAlgOp", Seed, Identity)
2525

2626
#undef OP

tools/clang/unittests/HLSLExec/LongVectors.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ DATA_TYPE(double, "double", 8)
6464

6565
#undef DATA_TYPE
6666

67-
using HLSLTestDataTypes::isFloatingPointType;
68-
using HLSLTestDataTypes::ValidationType;
69-
using HLSLTestDataTypes::ValidationConfig;
7067
using HLSLTestDataTypes::DefaultValidation;
71-
using HLSLTestDataTypes::StrictValidation;
7268
using HLSLTestDataTypes::doValuesMatch;
69+
using HLSLTestDataTypes::isFloatingPointType;
70+
using HLSLTestDataTypes::StrictValidation;
71+
using HLSLTestDataTypes::ValidationConfig;
72+
using HLSLTestDataTypes::ValidationType;
7373

7474
//
7575
// Operation Types

0 commit comments

Comments
 (0)