Re: [Mesa-dev] [PATCH 6/6] radeonsi: fix gl_BaseVertex in non-indexed draws

2017-04-12 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Wed, Apr 12, 2017 at 11:20 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > gl_BaseVertex is supposed to be 0 in non-indexed draws. Unfortunately, the > way they're implemented, the VGT always generates indices starting at 0, > and the VS

[Mesa-dev] [PATCH 6/6] radeonsi: fix gl_BaseVertex in non-indexed draws

2017-04-12 Thread Nicolai Hähnle
From: Nicolai Hähnle gl_BaseVertex is supposed to be 0 in non-indexed draws. Unfortunately, the way they're implemented, the VGT always generates indices starting at 0, and the VS prolog adds the start index. There's a VGT_INDX_OFFSET register which causes the VGT to start at a driver-defined in