From b023c1dc68819e59d0d7ef6c0d86be4f21054ba4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 27 Jul 2009 11:45:36 +0100 Subject: [PATCH] llvmpipe: Simple shell script to aid port softpipe changes to llvmpipe. --- src/gallium/drivers/llvmpipe/sp2lp.sh | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 src/gallium/drivers/llvmpipe/sp2lp.sh 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 -- 2.30.2