Improve texture border color handling.
authorJarkko Pöyry <jpoyry@google.com>
Tue, 31 Mar 2015 03:28:07 +0000 (20:28 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Fri, 24 Apr 2015 23:06:16 +0000 (16:06 -0700)
commit222c1cfbf44db3a0bd251ef230e55c3602e518cc
tree4923700b5da1c93bb9475c3c9f7283cbd9b66108
parent5fbeb1a3e8159ec6c7ba74d5dcceeb3aa371f40d
Improve texture border color handling.

- Apply border color only to active channels.
- Clamp border color to format range as specified in GL.
- Support int and uint border colors.
- Convert border color of sRGB formats to linear.
- Support border color in texture compare verifier.

Change-Id: Id191c605e61aa513a1aa65c3009dabda72c81163
framework/common/tcuTexCompareVerifier.cpp
framework/common/tcuTexLookupVerifier.cpp
framework/common/tcuTexture.cpp
framework/common/tcuTexture.hpp
framework/common/tcuTextureUtil.cpp
framework/common/tcuTextureUtil.hpp