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:26 -0600
commitfaa8a8e8b2e71367ed747cf18697b3733b84557b (patch)
treef21113bfa18cd6b463caeb067889764be184b10d /src/mesa/swrast/s_texfetch.c
parenta401362019a21a80a104b0a0bb69d6d163f4e03d (diff)
swrast: rename texture fetch functions (pt. 4)
sed commands: s/signed_rg1616/R16G16_SNORM/g s/signed_rg88_rev/R8G8_SNORM/g s/signed_al88/L8A8_SNORM/g s/signed_a8/A_SNORM8/g s/signed_a16/A_SNORM16/g s/signed_l8/L_SNORM8/g s/signed_l16/L_SNORM16/g s/signed_i8/I_SNORM8/g s/signed_i16/I_SNORM16/g s/signed_r8/R_SNORM8/g s/signed_r16/R_SNORM16/g s/signed_al1616/LA_SNORM16/g s/signed_rgb_16/RGB_SNORM16/g s/signed_rgba_16/RGBA_SNORM16/g Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r--src/mesa/swrast/s_texfetch.c84
1 files changed, 42 insertions, 42 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index 173c0f9a375..cecdd5e3d01 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -491,9 +491,9 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_R16G16_SNORM,
- fetch_texel_1d_signed_rg1616,
- fetch_texel_2d_signed_rg1616,
- fetch_texel_3d_signed_rg1616
+ fetch_texel_1d_R16G16_SNORM,
+ fetch_texel_2d_R16G16_SNORM,
+ fetch_texel_3d_R16G16_SNORM
},
{
MESA_FORMAT_G16R16_SNORM,
@@ -503,9 +503,9 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_R8G8_SNORM,
- fetch_texel_1d_signed_rg88_rev,
- fetch_texel_2d_signed_rg88_rev,
- fetch_texel_3d_signed_rg88_rev
+ fetch_texel_1d_R8G8_SNORM,
+ fetch_texel_2d_R8G8_SNORM,
+ fetch_texel_3d_R8G8_SNORM
},
{
MESA_FORMAT_G8R8_SNORM,
@@ -515,77 +515,77 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_L8A8_SNORM,
- fetch_texel_1d_signed_al88,
- fetch_texel_2d_signed_al88,
- fetch_texel_3d_signed_al88
+ fetch_texel_1d_L8A8_SNORM,
+ fetch_texel_2d_L8A8_SNORM,
+ fetch_texel_3d_L8A8_SNORM
},
/* Array signed/normalized formats */
{
MESA_FORMAT_A_SNORM8,
- fetch_texel_1d_signed_a8,
- fetch_texel_2d_signed_a8,
- fetch_texel_3d_signed_a8
+ fetch_texel_1d_A_SNORM8,
+ fetch_texel_2d_A_SNORM8,
+ fetch_texel_3d_A_SNORM8
},
{
MESA_FORMAT_A_SNORM16,
- fetch_texel_1d_signed_a16,
- fetch_texel_2d_signed_a16,
- fetch_texel_3d_signed_a16
+ fetch_texel_1d_A_SNORM16,
+ fetch_texel_2d_A_SNORM16,
+ fetch_texel_3d_A_SNORM16
},
{
MESA_FORMAT_L_SNORM8,
- fetch_texel_1d_signed_l8,
- fetch_texel_2d_signed_l8,
- fetch_texel_3d_signed_l8
+ fetch_texel_1d_L_SNORM8,
+ fetch_texel_2d_L_SNORM8,
+ fetch_texel_3d_L_SNORM8
},
{
MESA_FORMAT_L_SNORM16,
- fetch_texel_1d_signed_l16,
- fetch_texel_2d_signed_l16,
- fetch_texel_3d_signed_l16
+ fetch_texel_1d_L_SNORM16,
+ fetch_texel_2d_L_SNORM16,
+ fetch_texel_3d_L_SNORM16
},
{
MESA_FORMAT_I_SNORM8,
- fetch_texel_1d_signed_i8,
- fetch_texel_2d_signed_i8,
- fetch_texel_3d_signed_i8
+ fetch_texel_1d_I_SNORM8,
+ fetch_texel_2d_I_SNORM8,
+ fetch_texel_3d_I_SNORM8
},
{
MESA_FORMAT_I_SNORM16,
- fetch_texel_1d_signed_i16,
- fetch_texel_2d_signed_i16,
- fetch_texel_3d_signed_i16
+ fetch_texel_1d_I_SNORM16,
+ fetch_texel_2d_I_SNORM16,
+ fetch_texel_3d_I_SNORM16
},
{
MESA_FORMAT_R_SNORM8,
- fetch_texel_1d_signed_r8,
- fetch_texel_2d_signed_r8,
- fetch_texel_3d_signed_r8
+ fetch_texel_1d_R_SNORM8,
+ fetch_texel_2d_R_SNORM8,
+ fetch_texel_3d_R_SNORM8
},
{
MESA_FORMAT_R_SNORM16,
- fetch_texel_1d_signed_r16,
- fetch_texel_2d_signed_r16,
- fetch_texel_3d_signed_r16
+ fetch_texel_1d_R_SNORM16,
+ fetch_texel_2d_R_SNORM16,
+ fetch_texel_3d_R_SNORM16
},
{
MESA_FORMAT_LA_SNORM16,
- fetch_texel_1d_signed_al1616,
- fetch_texel_2d_signed_al1616,
- fetch_texel_3d_signed_al1616
+ fetch_texel_1d_LA_SNORM16,
+ fetch_texel_2d_LA_SNORM16,
+ fetch_texel_3d_LA_SNORM16
},
{
MESA_FORMAT_RGB_SNORM16,
- fetch_texel_1d_signed_rgb_16,
- fetch_texel_2d_signed_rgb_16,
- fetch_texel_3d_signed_rgb_16
+ fetch_texel_1d_RGB_SNORM16,
+ fetch_texel_2d_RGB_SNORM16,
+ fetch_texel_3d_RGB_SNORM16
},
{
MESA_FORMAT_RGBA_SNORM16,
- fetch_texel_1d_signed_rgba_16,
- fetch_texel_2d_signed_rgba_16,
- fetch_texel_3d_signed_rgba_16
+ fetch_texel_1d_RGBA_SNORM16,
+ fetch_texel_2d_RGBA_SNORM16,
+ fetch_texel_3d_RGBA_SNORM16
},
{
MESA_FORMAT_RGBX_SNORM16,