piglit test for render reordering
Submitted by Rob Clark
Assigned to Rob Clark
Description
freedreno and vc4 have support to re-order draw calls to reduce tile passes and improve memory efficiency[1][2]. We should probably have a piglit test(s) for this.
Probably for simple case of rendering to FBO and then sampling from, we can do something that iterates between rendering to FBO and then sampling from, so that each step overwrites one component (ie. x, y, z, or w) and taking the rest of the components from the previous FBO sampled as a texture?
For gl(es)3+ type features, we probably need to add things like using a prior TF output bo as a UBO, and other things I'm not thinking of right now.
[1] http://bloggingthemonkey.blogspot.com/2016/07/dirty-tricks-for-moar-fps.html [2] http://anholt.livejournal.com/47610.html