ilo: Add support for HW primitive restart.
authorCourtney Goeltzenleuchter <courtney@lunarg.com>
Wed, 8 May 2013 20:52:13 +0000 (14:52 -0600)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 9 May 2013 16:06:14 +0000 (00:06 +0800)
commitdaa90f91ff2ea4b3b204f9e56e3223fded55972c
tree780430431c28ca6020324c5bc3acdee20b98857a
parent009d79734f24882caf834069aa1e4067109fe5fc
ilo: Add support for HW primitive restart.

Now tells Gallium that ilo supports primitive restart.
Updated ilo_draw_vbo to be able to check that the indexed
primitive being rendered can actually be supported in HW. If not,
will break up into individual prims similar to what Mesa does.

[olv: a minor fix after rebasing and formatting]
src/gallium/drivers/ilo/ilo_3d.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_screen.c