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:
955ed88
)
Support getting transfer format for BGRA textures.
author
Jarkko Pöyry
<jpoyry@google.com>
Tue, 14 Apr 2015 22:31:49 +0000
(15:31 -0700)
committer
Jarkko Pöyry
<jpoyry@google.com>
Fri, 17 Apr 2015 02:16:31 +0000
(19:16 -0700)
Change-Id: I3de348f27d061c91f3c54384b8bccd868137ea0a
framework/opengl/gluTextureUtil.cpp
patch
|
blob
|
history
diff --git
a/framework/opengl/gluTextureUtil.cpp
b/framework/opengl/gluTextureUtil.cpp
index 23334879a49a81dceb00a43963b9761a2fef222f..d2903d3cccae1b70c0b53d7ab76ad7e5b76ad8c2 100644
(file)
--- a/
framework/opengl/gluTextureUtil.cpp
+++ b/
framework/opengl/gluTextureUtil.cpp
@@
-84,6
+84,11
@@
TransferFormat getTransferFormat (tcu::TextureFormat texFormat)
case TextureFormat::DS: format = GL_DEPTH_STENCIL; break;
case TextureFormat::S: format = GL_STENCIL_INDEX; break;
+ case TextureFormat::BGRA:
+ DE_ASSERT(!isInt);
+ format = GL_BGRA;
+ break;
+
default:
DE_ASSERT(false);
}