mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 11:20:26 +01:00
pan/genxml/v12: Add minus1 mod for plane width/height
The width/height fields in the plane descriptors for v12 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:b6d5e01120("pan/genxml: Add v12 definition") Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839> (cherry picked from commite38eb00e4e)
This commit is contained in:
parent
b55999c725
commit
f3b0580d4d
2 changed files with 5 additions and 5 deletions
|
|
@ -3694,7 +3694,7 @@
|
|||
"description": "pan/genxml/v12: Add minus1 mod for plane width/height",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "b6d5e01120741fe9107dec7cc2ec2bc4b4f2bca4",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1579,8 +1579,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>
|
||||
|
||||
|
|
@ -1610,8 +1610,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