From eb31837a0d4fa4fe115bb288ddb37cbedea954ae Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 22 Dec 2010 00:32:33 +0100 Subject: mesa: implement new texture format A16 --- 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 5c7e728c13..6a650d1d14 100644 --- a/src/mesa/main/texfetch.c +++ b/src/mesa/main/texfetch.c @@ -285,6 +285,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] = fetch_texel_3d_f_a8, store_texel_a8 }, + { + MESA_FORMAT_A16, + fetch_texel_1d_f_a16, + fetch_texel_2d_f_a16, + fetch_texel_3d_f_a16, + store_texel_a16 + }, { MESA_FORMAT_L8, fetch_texel_1d_f_l8, -- cgit v1.2.3