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:
parent
165ca6b5ad
commit
c58f35393e
|
@ -132,8 +132,8 @@ vc4_setup_rcl(struct vc4_context *vc4)
|
||||||
cl_u32(&vc4->rcl, 0); /* no address, since we're in None mode */
|
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 &&
|
bool end_of_frame = (x == xtiles - 1 &&
|
||||||
y == ytiles - 1);
|
y == ytiles - 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue