asahi: don't do extra runtime validation for exact
silly. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31908>
This commit is contained in:
@@ -307,7 +307,7 @@ class Group(object):
|
||||
|
||||
if field.type in ["uint", "hex", "address", "bool"] or field.type in self.parser.enums:
|
||||
bits = (end - start + 1)
|
||||
if bits < 64:
|
||||
if bits < 64 and not field.exact:
|
||||
# Add some nicer error checking
|
||||
label = f"{self.label}::{name}"
|
||||
bound = hex(1 << bits)
|
||||
|
||||
Reference in New Issue
Block a user