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:
@@ -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
|
||||
}+
|
||||
|
||||
Reference in New Issue
Block a user