Skip to content

freedreno/a6xx,a5xx: fix transform feedback resume

Each transform feedback target should have a separate buffer for an offset from which to resume, instead of just having one buffer per binding point. Otherwise, if transform feedback is paused and other tf object is bound - the offset of the previous tf object would be lost.

On A6XX fixes piglit test:

 arb_transform_feedback2-pause-counting

For A5XX I just copied A6XX code, and some tests began to pass:

dEQP-GLES3.functional.transform_feedback.*triangles*

(I checked this only on CI, so I don't know whether arb_transform_feedback2-pause-counting passes on A5XX)

Merge request reports