3 # Port changes from softpipe to llvmpipe. Invoke as
7 # Note that this will only affect llvmpipe -- you still need to actually
8 # cherry-pick/merge the softpipe changes themselves if they affect directories
9 # outside src/gallium/drivers/softpipe
13 --relative=src
/gallium
/drivers
/softpipe \
14 --src-prefix=a
/src
/gallium
/drivers
/llvmpipe
/ \
15 --dst-prefix=b
/src
/gallium
/drivers
/llvmpipe
/ \
18 -e 's/\<softpipe\>/llvmpipe/g' \
20 -e 's/\<softpipe_/llvmpipe_/g' \
23 -e 's/\<SOFTPIPE_/LLVMPIPE_/g' \
24 -e 's/\<spt\>/lpt/g' \
25 -e 's/\<sps\>/lps/g' \
26 -e 's/\<spfs\>/lpfs/g' \
27 -e 's/\<sptex\>/lptex/g' \
28 -e 's/\<setup_\(point\|line\|tri\)\>/llvmpipe_\0/g' \
29 -e 's/\<llvmpipe_cached_tile\>/llvmpipe_cached_tex_tile/g' \
30 -e 's/_get_cached_tile_tex\>/_get_cached_tex_tile/g' \
31 -e 's/\<TILE_SIZE\>/TEX_TILE_SIZE/g' \
32 -e 's/\<tile_address\>/tex_tile_address/g' \
33 -e 's/\<tile->data\.color\>/tile->color/g' \