mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 13:20:24 +01:00
zink: fix line strip offsets in pv mode emulation
Offsets for line strips don't need to alternate like they do for
triangle strips.
Fixes: 5a4083349f ("zink: add provoking vertex mode lowering")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22599>
This commit is contained in:
parent
bdb3daab7c
commit
ee4e7b9d4d
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ lower_pv_mode_emit_rotated_prim(nir_builder *b,
|
|||
* [lines, tris][even/odd index][vertex mod 3]
|
||||
*/
|
||||
static const unsigned vert_maps[2][2][3] = {
|
||||
{{1, 0, 0}, {0, 1, 0}},
|
||||
{{1, 0, 0}, {1, 0, 0}},
|
||||
{{2, 0, 1}, {2, 1, 0}}
|
||||
};
|
||||
/* When the primive supplied to the gs comes from a strip, the last provoking vertex
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue