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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user