projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
840af5f
)
util: Unsaved change missing from last commit.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 2 Jun 2009 23:41:45 +0000
(16:41 -0700)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 2 Jun 2009 23:41:45 +0000
(16:41 -0700)
src/gallium/auxiliary/util/u_tile.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_tile.c
b/src/gallium/auxiliary/util/u_tile.c
index a2fcdad9e4d0ae3068ac1d3641a9a00d62903c5e..9747a55cbfa778a39cc1bd5f6300163985a015df 100644
(file)
--- a/
src/gallium/auxiliary/util/u_tile.c
+++ b/
src/gallium/auxiliary/util/u_tile.c
@@
-1141,7
+1141,7
@@
pipe_get_tile_z(struct pipe_transfer *pt,
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
/* convert 24-bit Z to 32-bit Z */
- pDest[j] = (ptrc[j] & 0xffffff00) | (
ptrc[j]
& 0xff);
+ pDest[j] = (ptrc[j] & 0xffffff00) | (
(ptrc[j] >> 24)
& 0xff);
}
pDest += dstStride;
ptrc += pt->stride/4;