summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>2014-11-21 16:31:09 +0100
committerIago Toral Quiroga <itoral@igalia.com>2015-01-12 11:20:30 +0100
commitc471b09bf480c5e66d6def4946886f8bf345e9f9 (patch)
tree1225e17d1bb311c7e82284e46a7c0bb85b04e0f6 /src/mesa/swrast
parent769de5165c71315d66bab2bc27be98ec481ea9f8 (diff)
downloadexternal_mesa3d-c471b09bf480c5e66d6def4946886f8bf345e9f9.zip
external_mesa3d-c471b09bf480c5e66d6def4946886f8bf345e9f9.tar.gz
external_mesa3d-c471b09bf480c5e66d6def4946886f8bf345e9f9.tar.bz2
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>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_texfetch.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index e9bb5eb..a0f34fd 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -183,13 +183,9 @@ texfetch_funcs[] =
FETCH_NULL(R3G3B2_UNORM),
FETCH_NULL(A4B4G4R4_UNORM),
FETCH_NULL(R4G4B4A4_UNORM),
- FETCH_NULL(R1G5B5A5_UNORM),
FETCH_NULL(R5G5B5A1_UNORM),
- FETCH_NULL(A5B5G5R1_UNORM),
FETCH_NULL(A2B10G10R10_UNORM),
FETCH_NULL(A2R10G10B10_UNORM),
- FETCH_NULL(R2G10B10A10_UNORM),
- FETCH_NULL(A10B10G10R2_UNORM),
FETCH_FUNCS(YCBCR),
FETCH_FUNCS(YCBCR_REV),