summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texfetch.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-09 19:28:10 -0600
committerBrian Paul <[email protected]>2010-05-09 21:19:42 -0600
commit17e96718946486ef77927fcf3bb299d8bff32b98 (patch)
treea906df83adb97e08089023a1c48c36fa81c817bc /src/mesa/main/texfetch.c
parent7a57af6d11a8fae9838a0d2e42eac6200b8f027e (diff)
mesa: added unsigned 16-bit/channel tex format
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 48a22c19455..3169f3b3f56 100644
--- a/src/mesa/main/texfetch.c
+++ b/src/mesa/main/texfetch.c
@@ -622,6 +622,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
fetch_texel_3d_signed_rgba_16,
store_texel_signed_rgba_16
},
+ {
+ MESA_FORMAT_RGBA_16,
+ fetch_texel_1d_rgba_16,
+ fetch_texel_2d_rgba_16,
+ fetch_texel_3d_rgba_16,
+ store_texel_rgba_16
+ }
};