Re: [Mesa-dev] [PATCH] draw: fix prim ids when there's no gs

2015-04-23 Thread Jose Fonseca
On 23/04/15 00:06, srol...@vmware.com wrote: From: Roland Scheidegger We were resetting the prim id count for each run of the prim assembler, hence this only worked when the draw calls were very small (the exact limit depending on the vertex size), since larger draw calls get split up. So, do t

Re: [Mesa-dev] [PATCH] draw: fix prim ids when there's no gs

2015-04-22 Thread Roland Scheidegger
Am 23.04.2015 um 02:35 schrieb Matt Turner: > On Wed, Apr 22, 2015 at 4:06 PM, wrote: >> From: Roland Scheidegger >> >> We were resetting the prim id count for each run of the prim assembler, >> hence this only worked when the draw calls were very small (the exact limit >> depending on the verte

Re: [Mesa-dev] [PATCH] draw: fix prim ids when there's no gs

2015-04-22 Thread Matt Turner
On Wed, Apr 22, 2015 at 4:06 PM, wrote: > From: Roland Scheidegger > > We were resetting the prim id count for each run of the prim assembler, > hence this only worked when the draw calls were very small (the exact limit > depending on the vertex size), since larger draw calls get split up. > So

[Mesa-dev] [PATCH] draw: fix prim ids when there's no gs

2015-04-22 Thread sroland
From: Roland Scheidegger We were resetting the prim id count for each run of the prim assembler, hence this only worked when the draw calls were very small (the exact limit depending on the vertex size), since larger draw calls get split up. So, do the same as we do already if there's a gs, reset