From 1e4376a68fae2156018d2e3423df521c6db70013 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 21 Aug 2009 10:27:46 +0100 Subject: llvmpipe: Back port recent softpipe-opt improvements from Keith. --- src/gallium/drivers/llvmpipe/sp2lp.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/sp2lp.sh') diff --git a/src/gallium/drivers/llvmpipe/sp2lp.sh b/src/gallium/drivers/llvmpipe/sp2lp.sh index 28adb98ebb1..c45a81ce3cf 100755 --- a/src/gallium/drivers/llvmpipe/sp2lp.sh +++ b/src/gallium/drivers/llvmpipe/sp2lp.sh @@ -2,7 +2,7 @@ # # Port changes from softpipe to llvmpipe. Invoke as # -# sp2lp.sh .. +# sp2lp.sh # # Note that this will only affect llvmpipe -- you still need to actually # cherry-pick/merge the softpipe changes themselves if they affect directories @@ -13,7 +13,7 @@ git format-patch \ --relative=src/gallium/drivers/softpipe \ --src-prefix=a/src/gallium/drivers/llvmpipe/ \ --dst-prefix=b/src/gallium/drivers/llvmpipe/ \ - --stdout $@ \ + --stdout "$1^1..$1" \ | sed \ -e 's/\/llvmpipe/g' \ -e 's/\/lp/g' \ @@ -25,4 +25,10 @@ git format-patch \ -e 's/\/lps/g' \ -e 's/\/lpfs/g' \ -e 's/\/lptex/g' \ -| git am -3 -k + -e 's/\/llvmpipe_\0/g' \ + -e 's/\/llvmpipe_cached_tex_tile/g' \ + -e 's/_get_cached_tile_tex\>/_get_cached_tex_tile/g' \ + -e 's/\/TEX_TILE_SIZE/g' \ + -e 's/\/tex_tile_address/g' \ + -e 's/\data\.color\>/tile->color/g' \ +| patch -p1 -- cgit v1.2.3