From: Jarkko Pöyry Date: Tue, 14 Apr 2015 22:31:49 +0000 (-0700) Subject: Support getting transfer format for BGRA textures. X-Git-Tag: upstream/0.1.0~1747^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08abab445908d076888f3f61f3264a826bcd665c;p=platform%2Fupstream%2FVK-GL-CTS.git Support getting transfer format for BGRA textures. Change-Id: I3de348f27d061c91f3c54384b8bccd868137ea0a --- diff --git a/framework/opengl/gluTextureUtil.cpp b/framework/opengl/gluTextureUtil.cpp index 2333487..d2903d3 100644 --- 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); }