projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
165ca6b
)
vc4: Walk tiles horizontally, then vertically.
author
Eric Anholt
<eric@anholt.net>
Thu, 31 Jul 2014 19:45:41 +0000
(12:45 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 11 Aug 2014 21:45:30 +0000
(14:45 -0700)
I was confused looking at my addresses in dumps because I was seeing the
tile branch offsets jumping all over.
src/gallium/drivers/vc4/vc4_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_context.c
b/src/gallium/drivers/vc4/vc4_context.c
index 759fc0280b4c8d1cebbcc261f286fc2c8406bca0..c69d620d6b64cce253729fb1d141efaf1f646765 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_context.c
+++ b/
src/gallium/drivers/vc4/vc4_context.c
@@
-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);