mesa/texstore: Don't use the _mesa_swizzle_and_convert if we need transfer ops
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Aug 2014 18:03:36 +0000 (11:03 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Aug 2014 02:43:33 +0000 (19:43 -0700)
commita8379a405aaca0c76252a45de00d6324baedfb85
treecd8342dc6ae0b07e7d6c5bfe4f2ad62b8c69d87e
parentf1ef4be4be186b0c725f56ea5b52b3306e16fcd2
mesa/texstore: Don't use the _mesa_swizzle_and_convert if we need transfer ops

The _mesa_swizzle_and_convert path can't do transfer ops, so we should bail
if they're needed.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/texstore.c