[Piglit] [PATCH] GL_ARB_draw_instanced/dlist: Fix crash
Eric Anholt
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
> impact.
Pushed. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20161212/25af18ae/attachment.sig>
More information about the Piglit
mailing list