aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texfetch.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-03-29 17:29:37 +1300
committerChris Forbes <[email protected]>2014-04-10 18:27:40 +1200
commit6ef720561326b3ef9a2eb9e20f1a4ef0395d111b (patch)
tree1c7756e7856a3fad7748d3b34556efa3c1fcd8aa /src/mesa/swrast/s_texfetch.c
parenta421be1dcbf0c8aca4ec0a1862299c27c04d7e6c (diff)
swrast: Add support for fetching from MESA_FORMAT_R10G10B10A2_UNORM
V4: Fix rebase conflicts with Brian's renaming of the texfetch functions. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]> Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r--src/mesa/swrast/s_texfetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index 3ad4a5b86c6..098a32fd4be 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -325,9 +325,9 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_R10G10B10A2_UNORM,
- NULL,
- NULL,
- NULL
+ fetch_texel_1d_R10G10B10A2_UNORM,
+ fetch_texel_2d_R10G10B10A2_UNORM,
+ fetch_texel_3d_R10G10B10A2_UNORM
},
{
MESA_FORMAT_S8_UINT_Z24_UNORM,