summaryrefslogtreecommitdiff
path: root/src/mesa/main/texfetch.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-12-22 01:12:20 +0100
committerMarek Olšák <maraeo@gmail.com>2010-12-23 16:54:58 +0100
commitfd8aa7ac71699facf9839e2ae56b5e37579c6bcc (patch)
treec47179613e19630bbd95d7594f75edca64814864 /src/mesa/main/texfetch.c
parentbb5ace68ce9e8bd171a39162ed6bd93632bd6619 (diff)
mesa: implement new texture format I16
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 4791e36759..77bbc91795 100644
--- a/src/mesa/main/texfetch.c
+++ b/src/mesa/main/texfetch.c
@@ -314,6 +314,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_i8
},
{
+ MESA_FORMAT_I16,
+ fetch_texel_1d_f_i16,
+ fetch_texel_2d_f_i16,
+ fetch_texel_3d_f_i16,
+ store_texel_i16
+ },
+ {
MESA_FORMAT_CI8,
fetch_texel_1d_f_ci8,
fetch_texel_2d_f_ci8,