projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17256b
)
Fix regression in compressed texture decoding.
author
Jarkko Pöyry
<jpoyry@google.com>
Fri, 22 May 2015 18:42:18 +0000
(11:42 -0700)
committer
Jarkko Pöyry
<jpoyry@google.com>
Fri, 22 May 2015 18:43:32 +0000
(11:43 -0700)
Bug:
21396289
Change-Id: I015967c3ef8e3c9093aec5dd8ebfa5debcd5fe94
framework/common/tcuCompressedTexture.cpp
patch
|
blob
|
history
diff --git
a/framework/common/tcuCompressedTexture.cpp
b/framework/common/tcuCompressedTexture.cpp
index 8dae63603593d4908782c33806f69e2c431b471a..2be372e7d561b221b73c039edebb532b2216fdc7 100644
(file)
--- a/
framework/common/tcuCompressedTexture.cpp
+++ b/
framework/common/tcuCompressedTexture.cpp
@@
-374,7
+374,7
@@
inline deUint8 extend5Delta3To8 (deUint8 base5, deUint8 delta3)
inline deUint16 extend11To16 (deUint16 src)
{
DE_ASSERT((src & ~((1<<11)-1)) == 0);
- return (deUint
8
)((src << 5) | (src >> 6));
+ return (deUint
16
)((src << 5) | (src >> 6));
}
inline deInt16 extend11To16WithSign (deInt16 src)