mesa: Add a gles3 error condition for sized internalformat in glCopyTexImage*()
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 5 Jun 2014 18:48:34 +0000 (11:48 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 5 Aug 2014 00:11:52 +0000 (17:11 -0700)
commit5c0d2a12f30d75df10ede6ab98434f55abae3fef
tree7a586691a9855179712a317b3ddcfed3cbdc9a1a
parente0fe00eeac75d8fdd378a1f7633d2efd1db0a7b0
mesa: Add a gles3 error condition for sized internalformat in glCopyTexImage*()

Fixes many failures in gles3 Khronos CTS test: packed_pixels

V2: Add the check for alpha bits to avoid confusion.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/teximage.c