aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/swrast/s_texfetch.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-10-06 08:46:34 +0200
committermarha <marha@users.sourceforge.net>2011-10-06 08:46:34 +0200
commitb520df571e0a319eae5231d09f36b98f28b8914a (patch)
tree0c767ea54b17a7574e8650597336a1424401dffe /mesalib/src/mesa/swrast/s_texfetch.c
parentf7025b4baa1ba35ee796785641f04eac5bedb0a6 (diff)
downloadvcxsrv-b520df571e0a319eae5231d09f36b98f28b8914a.tar.gz
vcxsrv-b520df571e0a319eae5231d09f36b98f28b8914a.tar.bz2
vcxsrv-b520df571e0a319eae5231d09f36b98f28b8914a.zip
upgraded to inputproto-2.1.99.1
xwininfo fontconfig libXau mesa xkeyboard-config git update 6 oct 2011
Diffstat (limited to 'mesalib/src/mesa/swrast/s_texfetch.c')
-rw-r--r--mesalib/src/mesa/swrast/s_texfetch.c325
1 files changed, 325 insertions, 0 deletions
diff --git a/mesalib/src/mesa/swrast/s_texfetch.c b/mesalib/src/mesa/swrast/s_texfetch.c
index 73b5af319..7573abda6 100644
--- a/mesalib/src/mesa/swrast/s_texfetch.c
+++ b/mesalib/src/mesa/swrast/s_texfetch.c
@@ -656,6 +656,226 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_rg_f16
},
+ {
+ MESA_FORMAT_ALPHA_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_ALPHA_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_ALPHA_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_ALPHA_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_ALPHA_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_ALPHA_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+
+ {
+ MESA_FORMAT_INTENSITY_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_INTENSITY_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_INTENSITY_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_INTENSITY_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_INTENSITY_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_INTENSITY_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+
+ {
+ MESA_FORMAT_LUMINANCE_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+
+ {
+ MESA_FORMAT_LUMINANCE_ALPHA_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_ALPHA_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_ALPHA_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_ALPHA_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_ALPHA_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_LUMINANCE_ALPHA_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+
+ {
+ MESA_FORMAT_R_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_RG_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
+ {
+ MESA_FORMAT_RGB_INT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+
/* non-normalized, signed int */
{
MESA_FORMAT_RGBA_INT8,
@@ -665,6 +885,27 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_rgba_int8
},
{
+ MESA_FORMAT_R_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RG_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RGB_INT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
MESA_FORMAT_RGBA_INT16,
fetch_texel_1d_rgba_int16,
fetch_texel_2d_rgba_int16,
@@ -672,6 +913,27 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_rgba_int16
},
{
+ MESA_FORMAT_R_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RG_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RGB_INT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
MESA_FORMAT_RGBA_INT32,
fetch_texel_1d_rgba_int32,
fetch_texel_2d_rgba_int32,
@@ -681,6 +943,27 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
/* non-normalized, unsigned int */
{
+ MESA_FORMAT_R_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RG_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RGB_UINT8,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
MESA_FORMAT_RGBA_UINT8,
fetch_texel_1d_rgba_uint8,
fetch_texel_2d_rgba_uint8,
@@ -688,6 +971,27 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_rgba_uint8
},
{
+ MESA_FORMAT_R_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RG_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RGB_UINT16,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
MESA_FORMAT_RGBA_UINT16,
fetch_texel_1d_rgba_uint16,
fetch_texel_2d_rgba_uint16,
@@ -695,6 +999,27 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
store_texel_rgba_uint16
},
{
+ MESA_FORMAT_R_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RG_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
+ MESA_FORMAT_RGB_UINT32,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
+ {
MESA_FORMAT_RGBA_UINT32,
fetch_texel_1d_rgba_uint32,
fetch_texel_2d_rgba_uint32,