[Piglit] [PATCH] GL_ARB_draw_instanced/dlist: Fix crash
eric at anholt.net
Wed Dec 7 19:20:23 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.
Commit messages should be wrapped at 80 columns-ish. Other than that,
Reviewed-by: Eric Anohlt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the Piglit