diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-04-26 02:18:24 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-04-29 11:31:55 +0200 |
commit | 9d7698c468f4ea7da8bb4ec00520c98f11cca0fa (patch) | |
tree | da4a82690218f5a3c78f0961e4ca105ff3bc20ed /src/mesa/main/texfetch.c | |
parent | 1d5f16ff8fae936f2e920800b169cf7736a8052a (diff) | |
download | external_mesa3d-9d7698c468f4ea7da8bb4ec00520c98f11cca0fa.zip external_mesa3d-9d7698c468f4ea7da8bb4ec00520c98f11cca0fa.tar.gz external_mesa3d-9d7698c468f4ea7da8bb4ec00520c98f11cca0fa.tar.bz2 |
mesa: implement EXT_texture_shared_exponent
swrast support done.
There is no renderbuffer support in swrast, because it's not required
by the extension.
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/texfetch.c')
-rw-r--r-- | src/mesa/main/texfetch.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/texfetch.c b/src/mesa/main/texfetch.c index d091789..4acc938 100644 --- a/src/mesa/main/texfetch.c +++ b/src/mesa/main/texfetch.c @@ -41,6 +41,7 @@ #include "texcompress_rgtc.h" #include "texfetch.h" #include "teximage.h" +#include "rgb9e5.h" /** @@ -898,6 +899,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] = fetch_texel_3d_signed_i16, store_texel_signed_i16 }, + { + MESA_FORMAT_RGB9_E5_FLOAT, + fetch_texel_1d_rgb9_e5, + fetch_texel_2d_rgb9_e5, + fetch_texel_3d_rgb9_e5, + store_texel_rgb9_e5 + }, }; |