mesa: restrict use of GL_ABGR_EXT format to allowed data types
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 21 Nov 2014 15:31:09 +0000 (16:31 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jan 2015 10:20:30 +0000 (11:20 +0100)
commitc471b09bf480c5e66d6def4946886f8bf345e9f9
tree1225e17d1bb311c7e82284e46a7c0bb85b04e0f6
parent769de5165c71315d66bab2bc27be98ec481ea9f8
mesa: restrict use of GL_ABGR_EXT format to allowed data types

GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV,
GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV data types
are not explicitly allowed to work with GL_ABGR_EXT format neither
in GL nor GL_EXT_abgr specs.

Removed the corresponding mesa formats as there are no other functions
using them inside Mesa anymore.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/formats.c
src/mesa/main/formats.csv
src/mesa/main/formats.h
src/mesa/main/glformats.c
src/mesa/swrast/s_texfetch.c