projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6216a5b
)
mesa: Fix unpack for MESA_FORMAT_INTENSITY_FLOAT16.
author
Eric Anholt
<eric@anholt.net>
Wed, 16 Nov 2011 00:47:25 +0000
(16:47 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 22 Nov 2011 21:58:38 +0000
(13:58 -0800)
Fixes failures in i965 on fbo-blending-formats when the format is enabled.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/format_unpack.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/format_unpack.c
b/src/mesa/main/format_unpack.c
index 6e2ce7a051673561d776c14cd2457da4ee93dada..ae7a04b02caeef7071f8b50e802773a3f8183a25 100644
(file)
--- a/
src/mesa/main/format_unpack.c
+++ b/
src/mesa/main/format_unpack.c
@@
-936,7
+936,7
@@
unpack_INTENSITY_FLOAT16(const void *src, GLfloat dst[][4], GLuint n)
dst[i][RCOMP] =
dst[i][GCOMP] =
dst[i][BCOMP] =
- dst[i][ACOMP] =
s[i]
;
+ dst[i][ACOMP] =
_mesa_half_to_float(s[i])
;
}
}