mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
pan/genxml/v10: Add minus1 mod for plane width/height
The width/height fields in the plane descriptors for v10 are missing
their minus(1) modifiers.
This change adds the missing modifiers, which implies also setting
default values to 1 due to how the Two-Plane YUV Overlay interacts with
the plane descriptors.
Fixes: 486c341769 ("panfrost: Add architecture description XML for v10")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839>
This commit is contained in:
parent
6a9a4b3eef
commit
2542857259
1 changed files with 4 additions and 4 deletions
|
|
@ -1318,8 +1318,8 @@
|
|||
</struct>
|
||||
|
||||
<struct name="Two-Plane YUV Chroma Overlay" size="8">
|
||||
<field name="Width" size="16" start="5:0" type="uint"/>
|
||||
<field name="Height" size="16" start="5:16" type="uint"/>
|
||||
<field name="Width" size="16" start="5:0" type="uint" modifier="minus(1)" default="1"/>
|
||||
<field name="Height" size="16" start="5:16" type="uint" modifier="minus(1)" default="1"/>
|
||||
<field name="Secondary Pointer" size="64" start="6:0" type="address"/>
|
||||
</struct>
|
||||
|
||||
|
|
@ -1349,8 +1349,8 @@
|
|||
<field name="Pointer" size="64" start="2:0" type="address"/>
|
||||
<field name="Row stride" size="32" start="4:0" type="uint"/>
|
||||
<field name="Slice stride" size="32" start="6:0" type="int"/>
|
||||
<field name="Width" size="16" start="7:0" type="uint"/>
|
||||
<field name="Height" size="16" start="7:16" type="uint"/>
|
||||
<field name="Width" size="16" start="7:0" type="uint" modifier="minus(1)" default="1"/>
|
||||
<field name="Height" size="16" start="7:16" type="uint" modifier="minus(1)" default="1"/>
|
||||
</struct>
|
||||
|
||||
<struct name="Texture" size="8" align="32">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue