From e32ada1b267c9cc84b84400a619cbca14aba2207 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 28 Nov 2011 15:03:55 -0700 Subject: [PATCH] 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 --- src/mesa/swrast/s_texfetch.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 } }; -- 2.30.2