summaryrefslogtreecommitdiff
path: root/src/mesa/main/texfetch.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-12-22 00:32:33 +0100
committerMarek Olšák <maraeo@gmail.com>2010-12-23 16:54:58 +0100
commiteb31837a0d4fa4fe115bb288ddb37cbedea954ae (patch)
treede384dba7f46628e6a9d24900ce3c030b7067989 /src/mesa/main/texfetch.c
parentbae9d511f343c7bd5eb66d1d1d18d32b47e738e3 (diff)
mesa: implement new texture format A16
Diffstat (limited to 'src/mesa/main/texfetch.c')
-rw-r--r--src/mesa/main/texfetch.c7
1 files changed, 7 insertions, 0 deletions
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
@@ -286,6 +286,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
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,
fetch_texel_2d_f_l8,