mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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:
parent
aebebe5381
commit
867aa82e6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue