vc4: Walk tiles horizontally, then vertically.

I was confused looking at my addresses in dumps because I was seeing the
tile branch offsets jumping all over.
This commit is contained in:
Eric Anholt 2014-07-31 12:45:41 -07:00
parent 165ca6b5ad
commit c58f35393e
1 changed files with 2 additions and 2 deletions

View File

@ -132,8 +132,8 @@ vc4_setup_rcl(struct vc4_context *vc4)
cl_u32(&vc4->rcl, 0); /* no address, since we're in None mode */
}
for (int x = 0; x < xtiles; x++) {
for (int y = 0; y < ytiles; y++) {
for (int y = 0; y < ytiles; y++) {
for (int x = 0; x < xtiles; x++) {
bool end_of_frame = (x == xtiles - 1 &&
y == ytiles - 1);