[Mesa-dev] mesa draw-instance topic v. point-only rendering in VTK tests
brian.e.paul at gmail.com
Mon Jan 17 08:46:37 PST 2011
On Mon, Jan 17, 2011 at 9:33 AM, Brad King <brad.king at kitware.com> wrote:
> On 01/17/2011 11:18 AM, Brian Paul wrote:
>> On Mon, Jan 17, 2011 at 8:58 AM, Brad King <brad.king at kitware.com> wrote:
>>> I think a63486ac is the first commit that exhibits the behavior.
>> Have you tried reversing that change?
> I started at ef3b8042 and ran "git revert a63486ac". I resolved one
> conflict (machine v. &machine) and compiled. The issue disappeared.
>> Perhaps prim[i].num_instances is zero. Could you try debugging that?
>> Maybe add an assertion that prim[i].num_instances > 0 then check the
>> stack trace if it fails.
> I started at ef3b8042 and added the assertion as shown below . I get:
> vtk: tnl/t_draw.c:474: _tnl_draw_prims: Assertion `prim[i].num_instances > 0' failed.
> Using gdb I get the backtrace below .
Thanks. Does the attached patch help?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the mesa-dev