mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
pan/genxml/v13: Add minus1 mod for plane width/height
The width/height fields in the plane descriptors for v13 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:ece01443e1("pan/genxml: Add v13 definition") Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839> (cherry picked from commit009e4c2eba)
This commit is contained in:
parent
f3b0580d4d
commit
b79911101e
2 changed files with 5 additions and 5 deletions
|
|
@ -3684,7 +3684,7 @@
|
|||
"description": "pan/genxml/v13: Add minus1 mod for plane width/height",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ece01443e18d3451088122a3a46a5a1549606a4f",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1881,8 +1881,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>
|
||||
|
||||
|
|
@ -1912,8 +1912,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