projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb274a
)
softpipe: fix another stencil-as-float issue
author
Roland Scheidegger
<sroland@vmware.com>
Sat, 25 Apr 2015 20:10:42 +0000
(22:10 +0200)
committer
Roland Scheidegger
<sroland@vmware.com>
Mon, 27 Apr 2015 16:51:30 +0000
(18:51 +0200)
Hopefully this is the last one now (for texture X32_S8X24_UINT views).
+4 piglits.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90167
Reviewed-by: Brian Paul <brianp@vmware.com>
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 8e199200f7dcf25ba5e8d00608c66414251190a6..b91bb413a8cb0dcac0d0848f566aa450921f2878 100644
(file)
--- a/
src/gallium/auxiliary/util/u_tile.c
+++ b/
src/gallium/auxiliary/util/u_tile.c
@@
-341,13
+341,13
@@
x32_s8_get_tile_rgba(const unsigned *src,
unsigned i, j;
for (i = 0; i < h; i++) {
-
float *pRow =
p;
+
uint32_t *pRow = (uint32_t *)
p;
for (j = 0; j < w; j++, pRow += 4) {
src++;
pRow[0] =
pRow[1] =
pRow[2] =
- pRow[3] = (
float)(
*src++ & 0xff);
+ pRow[3] = (*src++ & 0xff);
}
p += dst_stride;
}