Revert "i965: Implement GL_PRIMITIVES_GENERATED with non-zero streams."
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 16 Jul 2014 18:35:59 +0000 (11:35 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 16 Jul 2014 21:19:29 +0000 (14:19 -0700)
commit99f8ea295fe370fe0572ca29ad8bf48108cb722b
tree0b5e8a60a63cb731a46848bcde586a8e1f2a22b4
parent1661f7559b0c482f9365a99fe68ff33a8dc650c4
Revert "i965: Implement GL_PRIMITIVES_GENERATED with non-zero streams."

This reverts commit 3178d2474ae5bdd1102fb3d76a60d1d63c961ff5.

This caused GPU hangs on Ivybridge for some users and huge (80%)
performance regressions across the board on multiple platforms.

We need to find a better solution.  I've made several attempts, but none
of them have worked yet.  In the meantime, we should revert this.

Reverting it breaks GL_PRIMITIVES_GENERATED for non-zero streams, but
that's okay, since we don't expose GL_ARB_gpu_shader5 yet.

Fixes Piglit's EXT_transform_feedback/generatemipmap prims_generated
test case on Haswell.
src/mesa/drivers/dri/i965/gen6_queryobj.c
src/mesa/drivers/dri/i965/gen7_sol_state.c