mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 04:40:11 +01:00
asahi/genxml: fix 0 encoding for groups
this was breaking launch word merging. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32320>
This commit is contained in:
parent
65cc99a916
commit
a34b3ecb75
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ class Field(object):
|
|||
self.default = mod[1]
|
||||
elif mod[0] == 'groups':
|
||||
# The zero encoding means "all"
|
||||
self.default = 1 << int(attrs["size"])
|
||||
self.default = (1 << int(attrs["size"])) * mod[1]
|
||||
elif mod[0] in ['shr', 'align']:
|
||||
# Zero encodes to zero
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue