Fix invalid channel order in tcuTextureUtil.
authorJarkko Pöyry <jpoyry@google.com>
Thu, 19 Mar 2015 21:58:31 +0000 (14:58 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Thu, 19 Mar 2015 22:08:36 +0000 (15:08 -0700)
commited7aa26e96ce420ea1d269ed45c62ed65f8c6bd4
tree772bc4930be64955712c5e6d9e01973c8e200f71
parent257b8b626a76dd3e4cff3b5b252e0151146b2a1d
Fix invalid channel order in tcuTextureUtil.

- tcuTextureUtil stored channel bit depths of combined formats in
  swizzled form. Reorder combined formats so that depth of the first
  channel is in the first component and depth of the second channel is
  in the second, not 4th, component. Since these values are swizzled
  using the channel read swizzle when queried, this change prevents
  combined formats from being swizzled two times.

Bug: 19846703
Change-Id: I2afd47ae2ecb9f93f982ef2c9dbd24f5223bf172
framework/common/tcuTextureUtil.cpp