From: Brian Paul Date: Mon, 28 Nov 2011 22:03:55 +0000 (-0700) Subject: swrast: add missing texfetch table entry for MESA_FORMAT_ARGB2101010_UINT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e32ada1b267c9cc84b84400a619cbca14aba2207;p=mesa.git swrast: add missing texfetch table entry for MESA_FORMAT_ARGB2101010_UINT As with the other integer-valued formats, use NULL until we support integer textures. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43316 Tested-by: Vinson Lee Signed-off-by: Brian Paul --- diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index bfa7da79d67..bcd63b60273 100644 --- a/src/mesa/swrast/s_texfetch.c +++ b/src/mesa/swrast/s_texfetch.c @@ -1260,6 +1260,13 @@ texfetch_funcs[MESA_FORMAT_COUNT] = fetch_texel_2d_z32f_x24s8, fetch_texel_3d_z32f_x24s8, store_texel_z32f_x24s8 + }, + { + MESA_FORMAT_ARGB2101010_UINT, + NULL, + NULL, + NULL, + NULL } };