Skip to content

Commit 802c735

Browse files
committed
code review feedback
1 parent 8138d1d commit 802c735

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tools/clang/lib/Headers/hlsl/dx/linalg.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace hlsl {
1212

1313
namespace dxil {
1414

15-
// This enum is be _exactly_ the DXIL constants.
15+
// This enum must _exactly_ match the DXIL constants.
1616
enum class ComponentType : uint32_t {
1717
Invalid = 0,
1818
I1 = 1,
@@ -76,6 +76,9 @@ struct ComponentType {
7676
__COMPONENT_TYPE(F64),
7777
};
7878
};
79+
80+
#undef __COMPONENT_TYPE
81+
7982
using ComponentEnum = ComponentType::ComponentEnum;
8083

8184
struct MatrixUse {

0 commit comments

Comments
 (0)