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:
committed by
Marge Bot
parent
d57beebc8d
commit
7881d19d01
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user