diff options
author | Brian Paul <[email protected]> | 2014-04-05 09:53:01 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-04-07 09:21:26 -0600 |
commit | d41fe0aec287429ab76a2d646c68c35b8d1c687c (patch) | |
tree | 5bfe4c3aa3700104308f2b7b72748c43013aab55 /src/mesa/swrast/s_texfetch.c | |
parent | 9eb45114fdffd2c0644b080ce70a6bca6a087ed7 (diff) |
swrast: rename texture fetch functions (pt. 6)
sed commands:
s/rgb9_e5/R9G9B9E5_FLOAT/g
s/r11_g11_b10f/R11G11B10_FLOAT/g
s/f_alpha_f16/A_FLOAT16/g
s/f_alpha_f32/A_FLOAT32/g
s/f_luminance_f16/L_FLOAT16/g
s/f_luminance_f32/L_FLOAT32/g
s/f_luminance_alpha_f16/LA_FLOAT16/g
s/f_luminance_alpha_f32/LA_FLOAT32/g
s/f_intensity_f16/I_FLOAT16/g
s/f_intensity_f32/I_FLOAT32/g
s/f_r_f16/R_FLOAT16/g
s/f_r_f32/R_FLOAT32/g
s/f_rg_f16/RG_FLOAT16/g
s/f_rg_f32/RG_FLOAT32/g
s/f_rgb_f16/RGB_FLOAT16/g
s/f_rgb_f32/RGB_FLOAT32/g
s/f_rgba_f16/RGBA_FLOAT16/g
s/f_rgba_f32/RGBA_FLOAT32/g
s/xbgr16161616_float/RGBX_FLOAT16/g
s/xbgr32323232_float/RGBX_FLOAT32/g
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r-- | src/mesa/swrast/s_texfetch.c | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index 54ef4641448..dec75a12d47 100644 --- a/src/mesa/swrast/s_texfetch.c +++ b/src/mesa/swrast/s_texfetch.c @@ -649,15 +649,15 @@ texfetch_funcs[] = /* Packed float formats */ { MESA_FORMAT_R9G9B9E5_FLOAT, - fetch_texel_1d_rgb9_e5, - fetch_texel_2d_rgb9_e5, - fetch_texel_3d_rgb9_e5 + fetch_texel_1d_R9G9B9E5_FLOAT, + fetch_texel_2d_R9G9B9E5_FLOAT, + fetch_texel_3d_R9G9B9E5_FLOAT }, { MESA_FORMAT_R11G11B10_FLOAT, - fetch_texel_1d_r11_g11_b10f, - fetch_texel_2d_r11_g11_b10f, - fetch_texel_3d_r11_g11_b10f + fetch_texel_1d_R11G11B10_FLOAT, + fetch_texel_2d_R11G11B10_FLOAT, + fetch_texel_3d_R11G11B10_FLOAT }, { MESA_FORMAT_Z32_FLOAT_S8X24_UINT, @@ -669,117 +669,117 @@ texfetch_funcs[] = /* Array float formats */ { MESA_FORMAT_A_FLOAT16, - fetch_texel_1d_f_alpha_f16, - fetch_texel_2d_f_alpha_f16, - fetch_texel_3d_f_alpha_f16 + fetch_texel_1d_A_FLOAT16, + fetch_texel_2d_A_FLOAT16, + fetch_texel_3d_A_FLOAT16 }, { MESA_FORMAT_A_FLOAT32, - fetch_texel_1d_f_alpha_f32, - fetch_texel_2d_f_alpha_f32, - fetch_texel_3d_f_alpha_f32 + fetch_texel_1d_A_FLOAT32, + fetch_texel_2d_A_FLOAT32, + fetch_texel_3d_A_FLOAT32 }, { MESA_FORMAT_L_FLOAT16, - fetch_texel_1d_f_luminance_f16, - fetch_texel_2d_f_luminance_f16, - fetch_texel_3d_f_luminance_f16 + fetch_texel_1d_L_FLOAT16, + fetch_texel_2d_L_FLOAT16, + fetch_texel_3d_L_FLOAT16 }, { MESA_FORMAT_L_FLOAT32, - fetch_texel_1d_f_luminance_f32, - fetch_texel_2d_f_luminance_f32, - fetch_texel_3d_f_luminance_f32 + fetch_texel_1d_L_FLOAT32, + fetch_texel_2d_L_FLOAT32, + fetch_texel_3d_L_FLOAT32 }, { MESA_FORMAT_LA_FLOAT16, - fetch_texel_1d_f_luminance_alpha_f16, - fetch_texel_2d_f_luminance_alpha_f16, - fetch_texel_3d_f_luminance_alpha_f16 + fetch_texel_1d_LA_FLOAT16, + fetch_texel_2d_LA_FLOAT16, + fetch_texel_3d_LA_FLOAT16 }, { MESA_FORMAT_LA_FLOAT32, - fetch_texel_1d_f_luminance_alpha_f32, - fetch_texel_2d_f_luminance_alpha_f32, - fetch_texel_3d_f_luminance_alpha_f32 + fetch_texel_1d_LA_FLOAT32, + fetch_texel_2d_LA_FLOAT32, + fetch_texel_3d_LA_FLOAT32 }, { MESA_FORMAT_I_FLOAT16, - fetch_texel_1d_f_intensity_f16, - fetch_texel_2d_f_intensity_f16, - fetch_texel_3d_f_intensity_f16 + fetch_texel_1d_I_FLOAT16, + fetch_texel_2d_I_FLOAT16, + fetch_texel_3d_I_FLOAT16 }, { MESA_FORMAT_I_FLOAT32, - fetch_texel_1d_f_intensity_f32, - fetch_texel_2d_f_intensity_f32, - fetch_texel_3d_f_intensity_f32 + fetch_texel_1d_I_FLOAT32, + fetch_texel_2d_I_FLOAT32, + fetch_texel_3d_I_FLOAT32 }, { MESA_FORMAT_R_FLOAT16, - fetch_texel_1d_f_r_f16, - fetch_texel_2d_f_r_f16, - fetch_texel_3d_f_r_f16 + fetch_texel_1d_R_FLOAT16, + fetch_texel_2d_R_FLOAT16, + fetch_texel_3d_R_FLOAT16 }, { MESA_FORMAT_R_FLOAT32, - fetch_texel_1d_f_r_f32, - fetch_texel_2d_f_r_f32, - fetch_texel_3d_f_r_f32 + fetch_texel_1d_R_FLOAT32, + fetch_texel_2d_R_FLOAT32, + fetch_texel_3d_R_FLOAT32 }, { MESA_FORMAT_RG_FLOAT16, - fetch_texel_1d_f_rg_f16, - fetch_texel_2d_f_rg_f16, - fetch_texel_3d_f_rg_f16 + fetch_texel_1d_RG_FLOAT16, + fetch_texel_2d_RG_FLOAT16, + fetch_texel_3d_RG_FLOAT16 }, { MESA_FORMAT_RG_FLOAT32, - fetch_texel_1d_f_rg_f32, - fetch_texel_2d_f_rg_f32, - fetch_texel_3d_f_rg_f32 + fetch_texel_1d_RG_FLOAT32, + fetch_texel_2d_RG_FLOAT32, + fetch_texel_3d_RG_FLOAT32 }, { MESA_FORMAT_RGB_FLOAT16, - fetch_texel_1d_f_rgb_f16, - fetch_texel_2d_f_rgb_f16, - fetch_texel_3d_f_rgb_f16 + fetch_texel_1d_RGB_FLOAT16, + fetch_texel_2d_RGB_FLOAT16, + fetch_texel_3d_RGB_FLOAT16 }, { MESA_FORMAT_RGB_FLOAT32, - fetch_texel_1d_f_rgb_f32, - fetch_texel_2d_f_rgb_f32, - fetch_texel_3d_f_rgb_f32 + fetch_texel_1d_RGB_FLOAT32, + fetch_texel_2d_RGB_FLOAT32, + fetch_texel_3d_RGB_FLOAT32 }, { MESA_FORMAT_RGBA_FLOAT16, - fetch_texel_1d_f_rgba_f16, - fetch_texel_2d_f_rgba_f16, - fetch_texel_3d_f_rgba_f16 + fetch_texel_1d_RGBA_FLOAT16, + fetch_texel_2d_RGBA_FLOAT16, + fetch_texel_3d_RGBA_FLOAT16 }, { MESA_FORMAT_RGBA_FLOAT32, - fetch_texel_1d_f_rgba_f32, - fetch_texel_2d_f_rgba_f32, - fetch_texel_3d_f_rgba_f32 + fetch_texel_1d_RGBA_FLOAT32, + fetch_texel_2d_RGBA_FLOAT32, + fetch_texel_3d_RGBA_FLOAT32 }, { MESA_FORMAT_RGBX_FLOAT16, - fetch_texel_1d_xbgr16161616_float, - fetch_texel_2d_xbgr16161616_float, - fetch_texel_3d_xbgr16161616_float + fetch_texel_1d_RGBX_FLOAT16, + fetch_texel_2d_RGBX_FLOAT16, + fetch_texel_3d_RGBX_FLOAT16 }, { MESA_FORMAT_RGBX_FLOAT32, - fetch_texel_1d_xbgr32323232_float, - fetch_texel_2d_xbgr32323232_float, - fetch_texel_3d_xbgr32323232_float + fetch_texel_1d_RGBX_FLOAT32, + fetch_texel_2d_RGBX_FLOAT32, + fetch_texel_3d_RGBX_FLOAT32 }, { MESA_FORMAT_Z_FLOAT32, - fetch_texel_1d_f_r_f32, /* Reuse the R32F functions. */ - fetch_texel_2d_f_r_f32, - fetch_texel_3d_f_r_f32 + fetch_texel_1d_R_FLOAT32, /* Reuse the R32F functions. */ + fetch_texel_2d_R_FLOAT32, + fetch_texel_3d_R_FLOAT32 }, /* Packed signed/unsigned non-normalized integer formats */ |