summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-07-30 02:48:37 +0100
committerDave Airlie <airlied@redhat.com>2015-09-02 09:26:34 +1000
commitc3c242070e868225a81e1afe5fb424c33eb94c2f (patch)
tree702295029e226347b07f36777b5311e0a7bde576 /src/mesa/swrast
parent8185a02316cfb7dc3d64b8772af82ad2bb49754e (diff)
downloadexternal_mesa3d-c3c242070e868225a81e1afe5fb424c33eb94c2f.zip
external_mesa3d-c3c242070e868225a81e1afe5fb424c33eb94c2f.tar.gz
external_mesa3d-c3c242070e868225a81e1afe5fb424c33eb94c2f.tar.bz2
mesa/formats: 8-bit channel integer formats addition
Add enough 8-bit channel formats to handle all the different things CTS throws at us. Cc: "11.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_texfetch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index d319b3a..27de9b3 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -290,6 +290,10 @@ texfetch_funcs[] =
},
/* Packed signed/unsigned non-normalized integer formats */
+ FETCH_NULL(A8B8G8R8_UINT),
+ FETCH_NULL(A8R8G8B8_UINT),
+ FETCH_NULL(R8G8B8A8_UINT),
+ FETCH_NULL(B8G8R8A8_UINT),
FETCH_NULL(B10G10R10A2_UINT),
FETCH_NULL(R10G10B10A2_UINT),
FETCH_NULL(A2B10G10R10_UINT),