summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2013-11-22 19:49:29 -0800
committerFrancisco Jerez <currojerez@riseup.net>2014-01-15 16:42:07 +0100
commit87942749a327725014b0d160b3e48d6d83723ac2 (patch)
treeb946728e01d45243a7f86fa1cd2e872d5d451675 /src/mesa/swrast
parent16070716bca77da0d33ac2b5ae9f83c10993d912 (diff)
downloadexternal_mesa3d-87942749a327725014b0d160b3e48d6d83723ac2.zip
external_mesa3d-87942749a327725014b0d160b3e48d6d83723ac2.tar.gz
external_mesa3d-87942749a327725014b0d160b3e48d6d83723ac2.tar.bz2
mesa: Add MESA_FORMAT_ABGR2101010.
Including pack/unpack and texstore code. This texture format is a requirement for ARB_shader_image_load_store. Acked-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_texfetch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index 0196aed..67b3cf7 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -1286,6 +1286,12 @@ texfetch_funcs[] =
NULL,
NULL
},
+ {
+ MESA_FORMAT_ABGR2101010,
+ NULL,
+ NULL,
+ NULL
+ },
};