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 | 9eb45114fdffd2c0644b080ce70a6bca6a087ed7 (patch) | |
tree | adb87b286a9a711e284f278b1547b0e4a454a9c6 /src/mesa/swrast/s_texfetch.c | |
parent | faa8a8e8b2e71367ed747cf18697b3733b84557b (diff) |
swrast: rename texture fetch functions (pt. 5)
sed commands:
s/srgba8/A8B8G8R8_SRGB/g
s/sargb8/B8G8R8A8_SRGB/g
s/sabgr8/R8G8B8A8_SRGB/g
s/sxbgr8/R8G8B8X8_SRGB/g
s/sla8/L8A8_SRGB/g
s/sl8/L_SRGB8/g
s/srgb8/BGR_SRGB8/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 | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index cecdd5e3d01..54ef4641448 100644 --- a/src/mesa/swrast/s_texfetch.c +++ b/src/mesa/swrast/s_texfetch.c @@ -597,15 +597,15 @@ texfetch_funcs[] = /* Packed sRGB formats */ { MESA_FORMAT_A8B8G8R8_SRGB, - fetch_texel_1d_srgba8, - fetch_texel_2d_srgba8, - fetch_texel_3d_srgba8 + fetch_texel_1d_A8B8G8R8_SRGB, + fetch_texel_2d_A8B8G8R8_SRGB, + fetch_texel_3d_A8B8G8R8_SRGB }, { MESA_FORMAT_B8G8R8A8_SRGB, - fetch_texel_1d_sargb8, - fetch_texel_2d_sargb8, - fetch_texel_3d_sargb8 + fetch_texel_1d_B8G8R8A8_SRGB, + fetch_texel_2d_B8G8R8A8_SRGB, + fetch_texel_3d_B8G8R8A8_SRGB }, { MESA_FORMAT_B8G8R8X8_SRGB, @@ -615,35 +615,35 @@ texfetch_funcs[] = }, { MESA_FORMAT_R8G8B8A8_SRGB, - fetch_texel_1d_sabgr8, - fetch_texel_2d_sabgr8, - fetch_texel_3d_sabgr8 + fetch_texel_1d_R8G8B8A8_SRGB, + fetch_texel_2d_R8G8B8A8_SRGB, + fetch_texel_3d_R8G8B8A8_SRGB }, { MESA_FORMAT_R8G8B8X8_SRGB, - fetch_texel_1d_sxbgr8, - fetch_texel_2d_sxbgr8, - fetch_texel_3d_sxbgr8 + fetch_texel_1d_R8G8B8X8_SRGB, + fetch_texel_2d_R8G8B8X8_SRGB, + fetch_texel_3d_R8G8B8X8_SRGB }, { MESA_FORMAT_L8A8_SRGB, - fetch_texel_1d_sla8, - fetch_texel_2d_sla8, - fetch_texel_3d_sla8 + fetch_texel_1d_L8A8_SRGB, + fetch_texel_2d_L8A8_SRGB, + fetch_texel_3d_L8A8_SRGB }, /* Array sRGB formats */ { MESA_FORMAT_L_SRGB8, - fetch_texel_1d_sl8, - fetch_texel_2d_sl8, - fetch_texel_3d_sl8 + fetch_texel_1d_L_SRGB8, + fetch_texel_2d_L_SRGB8, + fetch_texel_3d_L_SRGB8 }, { MESA_FORMAT_BGR_SRGB8, - fetch_texel_1d_srgb8, - fetch_texel_2d_srgb8, - fetch_texel_3d_srgb8 + fetch_texel_1d_BGR_SRGB8, + fetch_texel_2d_BGR_SRGB8, + fetch_texel_3d_BGR_SRGB8 }, /* Packed float formats */ |