OSDN Git Service

i965: Implement the GL_ARB_base_instance extension.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Jan 2013 19:11:10 +0000 (11:11 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Jan 2013 23:41:30 +0000 (15:41 -0800)
commitcdd3f5496ad2d6a252bd7ad78f5034db549d4921
tree14464b5fa29a719a2ce69012bf99258bd349fb35
parent0d108116bd80b757fb01a84a9f1946ef870b57b8
i965: Implement the GL_ARB_base_instance extension.

Thanks to Fredrik Höglund, all the hard work was already done.

Tested using a modified oglconform (that actually runs these tests on
our driver); it looks like there may be some bugs when using client
arrays.  All applicable non-compatibility tests passed.

For now, only enable it in core profiles.

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Ian Romanick <idr@freedesktop.org>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/intel/intel_extensions.c