summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texfetch.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-04-05 09:53:01 -0600
committerBrian Paul <[email protected]>2014-04-07 09:21:25 -0600
commitfde325838970cccbe565f7ab30d8ca3695cc997f (patch)
tree66a2f86ed308d5fe9050812a695a6edbd6022379 /src/mesa/swrast/s_texfetch.c
parente0fafd191380412082bcde1197c95c65aa6d7242 (diff)
swrast: rename texture fetch functions (pt. 1)
Rename functions to match format names. sed commands: s/signed_rgba8888_rev/R8G8B8A8_SNORM/g s/signed_rgba8888/A8B8G8R8_SNORM/g s/f_rgba8888_rev/R8G8B8A_UNORM/g s/f_rgba8888/A8B8G8R8_UNORM/g s/f_rgbx8888_rev/R8G8B8X8_UNORM/g s/f_rgbx8888/X8B8G8R8_UNORM/g s/f_argb8888_rev/A8R8G8B8_UNORM/g s/f_argb8888/B8G8R8A8_UNORM/g s/f_xrgb8888_rev/X8R8G8B8_UNORM/g s/f_xrgb8888/B8G8R8X8_UNORM/g s/signed_rgbx8888/X8B8G8R8_SNORM/g Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r--src/mesa/swrast/s_texfetch.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index cd09827052a..e041dd5cc9b 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -151,51 +151,51 @@ texfetch_funcs[] =
/* Packed unorm formats */
{
MESA_FORMAT_A8B8G8R8_UNORM,
- fetch_texel_1d_f_rgba8888,
- fetch_texel_2d_f_rgba8888,
- fetch_texel_3d_f_rgba8888
+ fetch_texel_1d_A8B8G8R8_UNORM,
+ fetch_texel_2d_A8B8G8R8_UNORM,
+ fetch_texel_3d_A8B8G8R8_UNORM
},
{
MESA_FORMAT_X8B8G8R8_UNORM,
- fetch_texel_1d_f_rgbx8888,
- fetch_texel_2d_f_rgbx8888,
- fetch_texel_3d_f_rgbx8888
+ fetch_texel_1d_X8B8G8R8_UNORM,
+ fetch_texel_2d_X8B8G8R8_UNORM,
+ fetch_texel_3d_X8B8G8R8_UNORM
},
{
MESA_FORMAT_R8G8B8A8_UNORM,
- fetch_texel_1d_f_rgba8888_rev,
- fetch_texel_2d_f_rgba8888_rev,
- fetch_texel_3d_f_rgba8888_rev
+ fetch_texel_1d_R8G8B8A_UNORM,
+ fetch_texel_2d_R8G8B8A_UNORM,
+ fetch_texel_3d_R8G8B8A_UNORM
},
{
MESA_FORMAT_R8G8B8X8_UNORM,
- fetch_texel_1d_f_rgbx8888_rev,
- fetch_texel_2d_f_rgbx8888_rev,
- fetch_texel_3d_f_rgbx8888_rev
+ fetch_texel_1d_R8G8B8X8_UNORM,
+ fetch_texel_2d_R8G8B8X8_UNORM,
+ fetch_texel_3d_R8G8B8X8_UNORM
},
{
MESA_FORMAT_B8G8R8A8_UNORM,
- fetch_texel_1d_f_argb8888,
- fetch_texel_2d_f_argb8888,
- fetch_texel_3d_f_argb8888
+ fetch_texel_1d_B8G8R8A8_UNORM,
+ fetch_texel_2d_B8G8R8A8_UNORM,
+ fetch_texel_3d_B8G8R8A8_UNORM
},
{
MESA_FORMAT_B8G8R8X8_UNORM,
- fetch_texel_1d_f_xrgb8888,
- fetch_texel_2d_f_xrgb8888,
- fetch_texel_3d_f_xrgb8888
+ fetch_texel_1d_B8G8R8X8_UNORM,
+ fetch_texel_2d_B8G8R8X8_UNORM,
+ fetch_texel_3d_B8G8R8X8_UNORM
},
{
MESA_FORMAT_A8R8G8B8_UNORM,
- fetch_texel_1d_f_argb8888_rev,
- fetch_texel_2d_f_argb8888_rev,
- fetch_texel_3d_f_argb8888_rev
+ fetch_texel_1d_A8R8G8B8_UNORM,
+ fetch_texel_2d_A8R8G8B8_UNORM,
+ fetch_texel_3d_A8R8G8B8_UNORM
},
{
MESA_FORMAT_X8R8G8B8_UNORM,
- fetch_texel_1d_f_xrgb8888_rev,
- fetch_texel_2d_f_xrgb8888_rev,
- fetch_texel_3d_f_xrgb8888_rev
+ fetch_texel_1d_X8R8G8B8_UNORM,
+ fetch_texel_2d_X8R8G8B8_UNORM,
+ fetch_texel_3d_X8R8G8B8_UNORM
},
{
MESA_FORMAT_L16A16_UNORM,
@@ -467,21 +467,21 @@ texfetch_funcs[] =
/* Packed signed/normalized formats */
{
MESA_FORMAT_A8B8G8R8_SNORM,
- fetch_texel_1d_signed_rgba8888,
- fetch_texel_2d_signed_rgba8888,
- fetch_texel_3d_signed_rgba8888
+ fetch_texel_1d_A8B8G8R8_SNORM,
+ fetch_texel_2d_A8B8G8R8_SNORM,
+ fetch_texel_3d_A8B8G8R8_SNORM
},
{
MESA_FORMAT_X8B8G8R8_SNORM,
- fetch_texel_1d_signed_rgbx8888,
- fetch_texel_2d_signed_rgbx8888,
- fetch_texel_3d_signed_rgbx8888
+ fetch_texel_1d_X8B8G8R8_SNORM,
+ fetch_texel_2d_X8B8G8R8_SNORM,
+ fetch_texel_3d_X8B8G8R8_SNORM
},
{
MESA_FORMAT_R8G8B8A8_SNORM,
- fetch_texel_1d_signed_rgba8888_rev,
- fetch_texel_2d_signed_rgba8888_rev,
- fetch_texel_3d_signed_rgba8888_rev
+ fetch_texel_1d_R8G8B8A8_SNORM,
+ fetch_texel_2d_R8G8B8A8_SNORM,
+ fetch_texel_3d_R8G8B8A8_SNORM
},
{
MESA_FORMAT_R8G8B8X8_SNORM,