mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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:
parent
cc8d50baf5
commit
3f6ff1b11e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue