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

Matt Turner mattst88 at gmail.com
Wed Apr 22 17:35:22 PDT 2015


On Wed, Apr 22, 2015 at 4:06 PM,  <sroland at vmware.com> wrote:
> From: Roland Scheidegger <sroland at vmware.com>
>
> 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 it to zero explicitly
> for every new instance (this possibly could use the same variable but that
> isn't doable without some heavy refactoring and I'm not sure it makes sense).
>
> This fixes https://bugs.freedesktop.org/show_bug.cgi?id=90130.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90130

so that the bin/bugzilla_mesa.sh script can find it.


More information about the mesa-dev mailing list