[tint] Fix a couple of TINT_REFLECT_ENUM_RANGE These were presumably not updated when enum values were added. Change-Id: I04b97502a2ea33c938813ccda3f41fde41564eb3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/295655 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/tint/api/common/resource_type.h b/src/tint/api/common/resource_type.h index 9527d11..099068e 100644 --- a/src/tint/api/common/resource_type.h +++ b/src/tint/api/common/resource_type.h
@@ -74,7 +74,7 @@ kSampler_non_filtering, kSampler_comparison, }; -TINT_REFLECT_ENUM_RANGE(tint::ResourceType, kEmpty, kTextureDepthMultisampled2d); +TINT_REFLECT_ENUM_RANGE(tint::ResourceType, kEmpty, kSampler_comparison); } // namespace tint
diff --git a/src/tint/api/common/vertex_pulling_config.h b/src/tint/api/common/vertex_pulling_config.h index 58ca1a1..2efd611 100644 --- a/src/tint/api/common/vertex_pulling_config.h +++ b/src/tint/api/common/vertex_pulling_config.h
@@ -138,7 +138,7 @@ }; /// Reflection for VertexFormat. -TINT_REFLECT_ENUM_RANGE(tint::VertexFormat, kUint8x2, kUnorm8x4BGRA); +TINT_REFLECT_ENUM_RANGE(tint::VertexFormat, kUint8, kUnorm8x4BGRA); /// Reflection for VertexStepMode. TINT_REFLECT_ENUM_RANGE(tint::VertexStepMode, kVertex, kInstance);