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:27 -0600
commit56db16fb5b26103512b4573ea7dda893d0b89d13 (patch)
tree9dc04d62369f08d0f4a1226cec54792f95518e9d /src/mesa/swrast/s_texfetch.c
parentd41fe0aec287429ab76a2d646c68c35b8d1c687c (diff)
swrast: rename texture fetch functions (pt. 7)
sed commands: s/f_z24_s8/S8_UINT_Z24_UNORM/g s/f_s8_z24/Z24_UNORM_S8_UINT/g s/f_z16/Z_UNORM16/g s/f_z32/Z_UNORM32/g s/z32f_x24s8/Z32_FLOAT_S8X24_UINT/g s/f_ycbcr_rev/YCBCR_REV/g s/f_ycbcr/YCBCR/g s/dudv8/DUDV8/g Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r--src/mesa/swrast/s_texfetch.c60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index dec75a12d47..3ad4a5b86c6 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -331,45 +331,45 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_S8_UINT_Z24_UNORM,
- fetch_texel_1d_f_z24_s8,
- fetch_texel_2d_f_z24_s8,
- fetch_texel_3d_f_z24_s8
+ fetch_texel_1d_S8_UINT_Z24_UNORM,
+ fetch_texel_2d_S8_UINT_Z24_UNORM,
+ fetch_texel_3d_S8_UINT_Z24_UNORM
},
{
MESA_FORMAT_X8_UINT_Z24_UNORM,
- fetch_texel_1d_f_z24_s8,
- fetch_texel_2d_f_z24_s8,
- fetch_texel_3d_f_z24_s8
+ fetch_texel_1d_S8_UINT_Z24_UNORM,
+ fetch_texel_2d_S8_UINT_Z24_UNORM,
+ fetch_texel_3d_S8_UINT_Z24_UNORM
},
{
MESA_FORMAT_Z24_UNORM_S8_UINT,
- fetch_texel_1d_f_s8_z24,
- fetch_texel_2d_f_s8_z24,
- fetch_texel_3d_f_s8_z24
+ fetch_texel_1d_Z24_UNORM_S8_UINT,
+ fetch_texel_2d_Z24_UNORM_S8_UINT,
+ fetch_texel_3d_Z24_UNORM_S8_UINT
},
{
MESA_FORMAT_Z24_UNORM_X8_UINT,
- fetch_texel_1d_f_s8_z24,
- fetch_texel_2d_f_s8_z24,
- fetch_texel_3d_f_s8_z24
+ fetch_texel_1d_Z24_UNORM_S8_UINT,
+ fetch_texel_2d_Z24_UNORM_S8_UINT,
+ fetch_texel_3d_Z24_UNORM_S8_UINT
},
{
MESA_FORMAT_YCBCR,
- fetch_texel_1d_f_ycbcr,
- fetch_texel_2d_f_ycbcr,
- fetch_texel_3d_f_ycbcr
+ fetch_texel_1d_YCBCR,
+ fetch_texel_2d_YCBCR,
+ fetch_texel_3d_YCBCR
},
{
MESA_FORMAT_YCBCR_REV,
- fetch_texel_1d_f_ycbcr_rev,
- fetch_texel_2d_f_ycbcr_rev,
- fetch_texel_3d_f_ycbcr_rev
+ fetch_texel_1d_YCBCR_REV,
+ fetch_texel_2d_YCBCR_REV,
+ fetch_texel_3d_YCBCR_REV
},
{
MESA_FORMAT_DUDV8,
- fetch_texel_1d_dudv8,
- fetch_texel_2d_dudv8,
- fetch_texel_3d_dudv8
+ fetch_texel_1d_DUDV8,
+ fetch_texel_2d_DUDV8,
+ fetch_texel_3d_DUDV8
},
/* Array unorm formats */
@@ -447,15 +447,15 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_Z_UNORM16,
- fetch_texel_1d_f_z16,
- fetch_texel_2d_f_z16,
- fetch_texel_3d_f_z16
+ fetch_texel_1d_Z_UNORM16,
+ fetch_texel_2d_Z_UNORM16,
+ fetch_texel_3d_Z_UNORM16
},
{
MESA_FORMAT_Z_UNORM32,
- fetch_texel_1d_f_z32,
- fetch_texel_2d_f_z32,
- fetch_texel_3d_f_z32
+ fetch_texel_1d_Z_UNORM32,
+ fetch_texel_2d_Z_UNORM32,
+ fetch_texel_3d_Z_UNORM32
},
{
MESA_FORMAT_S_UINT8,
@@ -661,9 +661,9 @@ texfetch_funcs[] =
},
{
MESA_FORMAT_Z32_FLOAT_S8X24_UINT,
- fetch_texel_1d_z32f_x24s8,
- fetch_texel_2d_z32f_x24s8,
- fetch_texel_3d_z32f_x24s8
+ fetch_texel_1d_Z32_FLOAT_S8X24_UINT,
+ fetch_texel_2d_Z32_FLOAT_S8X24_UINT,
+ fetch_texel_3d_Z32_FLOAT_S8X24_UINT
},
/* Array float formats */