diff --git a/src/util/format/u_format_parse.py b/src/util/format/u_format_parse.py index 2a5edab0461..aba4e29ee36 100644 --- a/src/util/format/u_format_parse.py +++ b/src/util/format/u_format_parse.py @@ -129,6 +129,10 @@ class Format: le_shift += channel.size if be_channels: + if self.is_array(): + print( + "{} is an array format and should not include BE swizzles in the CSV".format(self.name)) + exit(1) self.be_channels = be_channels self.be_swizzles = be_swizzles else: