Expose tcuTexture getChannelReadMap publicly.
authorJarkko Pöyry <jpoyry@google.com>
Thu, 5 Mar 2015 23:21:30 +0000 (15:21 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Fri, 13 Mar 2015 00:59:49 +0000 (17:59 -0700)
commit6d31105cb879614b2cf87193ea90215efd13bcce
treec17b3abd8663c48833f3994d0738c9c110b8e74e
parent6476d819be75d7dae16a262620d16f13d4f2233c
Expose tcuTexture getChannelReadMap publicly.

- Add TextureSwizzle struct that can be used in future to implement
  swizzling in tcu::Sampler.
- Expose getChannelReadMap and WriteMap and rename them to
  getChannelReadSwizzle and WriteSwizzle.
- Use exposed channel maps in tcuTextureUtil instead of duplicating.

Change-Id: Ie4953f4d9814d7e493dbea761dc5734f7a50c57f
framework/common/tcuTexture.cpp
framework/common/tcuTexture.hpp
framework/common/tcuTextureUtil.cpp