Mesa (master): swrast: add missing texfetch table entry for MESA_FORMAT_ARGB2101010_UINT

Brian Paul brianp at kemper.freedesktop.org
Mon Nov 28 22:41:44 UTC 2011


Module: Mesa
Branch: master
Commit: e32ada1b267c9cc84b84400a619cbca14aba2207
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e32ada1b267c9cc84b84400a619cbca14aba2207

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Nov 28 15:03:55 2011 -0700

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 <vlee at vmware.com>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/swrast/s_texfetch.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index bfa7da7..bcd63b6 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
    }
 };
 




More information about the mesa-commit mailing list