[Piglit] [PATCH] GL_ARB_draw_instanced/dlist: Fix crash
eric at anholt.net
Mon Dec 12 21:09:58 UTC 2016
arthur.huillet at free.fr writes:
> From: Arthur Huillet <ahuillet at nvidia.com>
> The test was passing a NULL indices pointer without an element buffer bound.
> Nothing in the GL spec requires a NULL check, so drivers were free to crash
> before checking the error condition that the test attempts to check. Fix this
> by passing an index buffer.
> Also swap vertex counts and instance counts, which I suspect were mixed up in
> the test author's head. That part is strictly cosmetic and has no functional
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the Piglit