summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texfetch.c
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-11-22 19:49:29 -0800
committerFrancisco Jerez <[email protected]>2014-01-15 16:42:07 +0100
commit87942749a327725014b0d160b3e48d6d83723ac2 (patch)
treeb946728e01d45243a7f86fa1cd2e872d5d451675 /src/mesa/swrast/s_texfetch.c
parent16070716bca77da0d33ac2b5ae9f83c10993d912 (diff)
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 <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-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 0196aede15c..67b3cf7c457 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
+ },
};