diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2014-11-21 16:31:09 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-01-12 11:20:30 +0100 |
commit | c471b09bf480c5e66d6def4946886f8bf345e9f9 (patch) | |
tree | 1225e17d1bb311c7e82284e46a7c0bb85b04e0f6 /src/mesa/swrast | |
parent | 769de5165c71315d66bab2bc27be98ec481ea9f8 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_texfetch.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index e9bb5ebd1d5..a0f34fd100e 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), |