pan/genxml: Fix Resource descriptor alignment

The resource table passed to the shaders needs to be aligned on 64-byte.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30695>
This commit is contained in:
Boris Brezillon 2024-06-28 09:32:38 +02:00 committed by Marge Bot
parent aebebe5381
commit 867aa82e6f

View file

@ -1743,7 +1743,7 @@
<field name="Allow merging workgroups" start="31" size="1" type="bool"/>
</struct>
<struct name="Resource" size="4" align="16">
<struct name="Resource" size="4" align="64">
<field name="Address" start="0:0" size="56" type="address"/>
<field name="Contains descriptors" start="1:24" size="1" type="bool" default="true"/>
<field name="Size" start="2:0" size="64" type="uint"/> <!-- bytes -->