[Mesa-dev] Ivybridge support for ARB_transform_feedback2

Ian Romanick idr at freedesktop.org
Sat Oct 26 00:56:08 CEST 2013


On 10/17/2013 11:09 PM, Kenneth Graunke wrote:
> Here's my implementation of ARB_transform_feedback2.  I believe it's
> complete; it passes all of our Piglit tests and a lot of Intel's
> oglconform tests.
> 
> This should work out of the box on Ivybridge and Baytrail.  It won't
> work on Haswell at the moment, due to restrictions on register writes
> (to be solved in a future kernel version).  Patch 9 will need to be
> replaced with something that detects whether or not we can write
> registers from userspace batchbuffers.
> 
> In the meantime, I figured I'd send out the rest for review.
> 
> Porting this back to Sandybridge is probably doable, but annoying.
> Sandybridge doesn't have the MI_LOAD_REGISTER_MEM command, so we'd have
> to map the buffers and use MI_LOAD_REGISTER_IMM.  Seems pretty gross.
> Plus, transform feedback is done very differently pre-Ivybridge.  I'm
> not sure it's worth it, seeing as it's a GL 4.0 feature.

Patches 5, 7, 8, and 9 (with Eric's suggested change) are all

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

I share Eric's concern about patch 4.

It sounds like you, Eric, and Marek are trending towards a solution for
patch 6, so I'll stay out of it. :)

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list