mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 06:40:38 +02:00
pan/genxml: Fix vertex_packet Attribute on v9+
The fields "Attribute stride" and "Packet stride" are in the wrong order, and "Packet stride" should not be shr() modified. This has probably not shown up as an issue before due to the use of LD_VAR_BUF[_IMM] for varyings, which does not require us to create Attribute Descriptors with type vertex_packet. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32969>
This commit is contained in:
parent
d57beebc8d
commit
7881d19d01
2 changed files with 4 additions and 4 deletions
|
|
@ -855,8 +855,8 @@
|
|||
<field name="Stride" size="32" start="4:0" type="uint"/>
|
||||
|
||||
<!-- Vertex packet buffer only -->
|
||||
<field name="Packet stride" size="16" start="4:0" type="uint" modifier="shr(6)"/>
|
||||
<field name="Attribute stride" size="16" start="4:16" type="uint"/>
|
||||
<field name="Attribute stride" size="16" start="4:0" type="uint"/>
|
||||
<field name="Packet stride" size="16" start="4:16" type="uint"/>
|
||||
|
||||
<field name="Divisor D" size="32" start="5:0" type="uint"/>
|
||||
</struct>
|
||||
|
|
|
|||
|
|
@ -482,8 +482,8 @@
|
|||
<field name="Stride" size="32" start="4:0" type="uint"/>
|
||||
|
||||
<!-- Vertex packet buffer only -->
|
||||
<field name="Packet stride" size="16" start="4:0" type="uint" modifier="shr(6)"/>
|
||||
<field name="Attribute stride" size="16" start="4:16" type="uint"/>
|
||||
<field name="Attribute stride" size="16" start="4:0" type="uint"/>
|
||||
<field name="Packet stride" size="16" start="4:16" type="uint"/>
|
||||
|
||||
<field name="Divisor D" size="32" start="5:0" type="uint"/>
|
||||
</struct>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue