mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
pvr/csbgen: fix packing multiple addresses
Cc: mesa-stable
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
(cherry picked from commit 7be87ca82a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
This commit is contained in:
parent
c69c16f290
commit
99fc28bf9d
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@
|
|||
"description": "pvr/csbgen: fix packing multiple addresses",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -949,7 +949,7 @@ class Group:
|
|||
if dw.addresses:
|
||||
if len(dw.fields) > address_count:
|
||||
print(" dw[%d] = %s | %s;" % (index, v_accumulated_addr, v))
|
||||
print(" dw[%d] = (%s >> 32) | (%s >> 32);" % (index + 1, v_accumulated_addr, v))
|
||||
print(" dw[%d] = ((%s) >> 32) | (%s >> 32);" % (index + 1, v_accumulated_addr, v))
|
||||
continue
|
||||
else:
|
||||
v = v_accumulated_addr
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue