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:
5527531
)
Remove invalid check from tcu::CompressedTexture
author
Pyry Haulos
<phaulos@google.com>
Fri, 22 Jan 2016 21:41:11 +0000
(13:41 -0800)
committer
Pyry Haulos
<phaulos@google.com>
Fri, 22 Jan 2016 21:42:50 +0000
(13:42 -0800)
No real 3D ASTC block formats are supported, but sliced 3D textures work
as expected.
framework/common/tcuCompressedTexture.cpp
patch
|
blob
|
history
diff --git
a/framework/common/tcuCompressedTexture.cpp
b/framework/common/tcuCompressedTexture.cpp
index
916ce09
..
4521a08
100644
(file)
--- a/
framework/common/tcuCompressedTexture.cpp
+++ b/
framework/common/tcuCompressedTexture.cpp
@@
-1104,9
+1104,6
@@
void CompressedTexture::setStorage (CompressedTexFormat format, int width, int h
m_height = height;
m_depth = depth;
- if (isAstcFormat(m_format) && m_depth > 1)
- throw InternalError("3D ASTC textures not currently supported");
-
if (m_format != COMPRESSEDTEXFORMAT_LAST)
{
const IVec3 blockPixelSize = getBlockPixelSize(m_format);