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

Author: Brian Paul <[email protected]>
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 <[email protected]>
Signed-off-by: Brian Paul <[email protected]>

---

 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
    }
 };
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to