[Mesa-dev] [PATCH] draw: fix prim ids when there's no gs
Roland Scheidegger
sroland at vmware.com
Wed Apr 22 18:45:35 PDT 2015
Am 23.04.2015 um 02:35 schrieb Matt Turner:
> 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.
I don't think this really matters, but it's probably a good idea anyway.
DRYRUN=yes ./bin/bugzilla_mesa.sh HEAD~1..HEAD
https://bugs.freedesktop.org/show_bug.cgi?id=90130
I probably should add a mesa-stable cc too...
Roland
More information about the mesa-dev
mailing list