projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b551883
)
r300g: set squared microtiling for the dummy zbuffer
author
Marek Olšák
<maraeo@gmail.com>
Tue, 31 May 2011 13:53:11 +0000
(15:53 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 31 May 2011 16:19:27 +0000
(18:19 +0200)
The pitch of 4 is allowed for squared microtiling only.
src/gallium/drivers/r300/r300_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_emit.c
b/src/gallium/drivers/r300/r300_emit.c
index
5d6188e
..
d214af4
100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-450,7
+450,7
@@
void r300_emit_fb_state(struct r300_context* r300, unsigned size, void* state)
OUT_CS_REG(R300_ZB_DEPTHOFFSET, 0);
OUT_CS_RELOC(surf);
- OUT_CS_REG(R300_ZB_DEPTHPITCH, 4 | R300_DEPTHMICROTILE_TILED);
+ OUT_CS_REG(R300_ZB_DEPTHPITCH, 4 | R300_DEPTHMICROTILE_TILED
_SQUARE
);
OUT_CS_RELOC(surf);
}