From: José Fonseca Date: Mon, 27 Jul 2009 10:45:36 +0000 (+0100) Subject: llvmpipe: Simple shell script to aid port softpipe changes to llvmpipe. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b023c1dc68819e59d0d7ef6c0d86be4f21054ba4;p=mesa.git llvmpipe: Simple shell script to aid port softpipe changes to llvmpipe. --- diff --git a/src/gallium/drivers/llvmpipe/sp2lp.sh b/src/gallium/drivers/llvmpipe/sp2lp.sh new file mode 100755 index 00000000000..28adb98ebb1 --- /dev/null +++ b/src/gallium/drivers/llvmpipe/sp2lp.sh @@ -0,0 +1,28 @@ +#!/bin/sh +# +# Port changes from softpipe to llvmpipe. Invoke as +# +# 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 +# outside src/gallium/drivers/softpipe + +git format-patch \ + --keep-subject \ + --relative=src/gallium/drivers/softpipe \ + --src-prefix=a/src/gallium/drivers/llvmpipe/ \ + --dst-prefix=b/src/gallium/drivers/llvmpipe/ \ + --stdout $@ \ +| sed \ + -e 's/\/llvmpipe/g' \ + -e 's/\/lp/g' \ + -e 's/\/lpt/g' \ + -e 's/\/lps/g' \ + -e 's/\/lpfs/g' \ + -e 's/\/lptex/g' \ +| git am -3 -k