From 621e5254ef6714520f106bd3707fe6ddc279aa0c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 21 Dec 2010 18:54:50 +0100 Subject: mesa: implement new texture format ARGB2101010 Radeon GPUs do support GL_RGB10_A2. --- src/mesa/main/texfetch.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/main/texfetch.c') diff --git a/src/mesa/main/texfetch.c b/src/mesa/main/texfetch.c index 372ef2654a..dff5963117 100644 --- a/src/mesa/main/texfetch.c +++ b/src/mesa/main/texfetch.c @@ -355,6 +355,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] = fetch_texel_3d_f_rg1616_rev, store_texel_rg1616_rev, }, + { + MESA_FORMAT_ARGB2101010, + fetch_texel_1d_f_argb2101010, + fetch_texel_2d_f_argb2101010, + fetch_texel_3d_f_argb2101010, + store_texel_argb2101010 + }, { MESA_FORMAT_Z24_S8, fetch_texel_1d_f_z24_s8, -- cgit v1.2.3