diff options
author | Marek Olšák <[email protected]> | 2010-12-22 01:12:20 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-12-23 16:54:58 +0100 |
commit | fd8aa7ac71699facf9839e2ae56b5e37579c6bcc (patch) | |
tree | c47179613e19630bbd95d7594f75edca64814864 /src/mesa/main/texfetch.c | |
parent | bb5ace68ce9e8bd171a39162ed6bd93632bd6619 (diff) |
mesa: implement new texture format I16
Diffstat (limited to 'src/mesa/main/texfetch.c')
-rw-r--r-- | src/mesa/main/texfetch.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/texfetch.c b/src/mesa/main/texfetch.c index 4791e367598..77bbc91795f 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, |