util/stats: fix XML type validation

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35583>
This commit is contained in:
Rhys Perry
2025-06-17 17:28:51 +01:00
committed by Marge Bot
parent ace17d0ea1
commit 92eb0941d3
+1 -1
View File
@@ -19,7 +19,7 @@ isa = element isa {
attribute more { "better" | "worse" }?,
attribute hash { xsd:boolean }?,
[ a:defaultValue = "u32" ] attribute type
{ "u8" | "s8" | "u16" | "s16" | "u32" | "s32" | "float" | "bool" }?,
{ "u8" | "i8" | "u16" | "i16" | "u32" | "i32" | "u64" | "i64" | "float" | "bool" }?,
text
}+