[Mesa-dev] [PATCH 1/2] intel/dump_gpu: move output option together
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Wed Nov 7 10:55:04 UTC 2018
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/tools/intel_dump_gpu.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/intel/tools/intel_dump_gpu.in b/src/intel/tools/intel_dump_gpu.in
index aa187ba8614..2175b090622 100755
--- a/src/intel/tools/intel_dump_gpu.in
+++ b/src/intel/tools/intel_dump_gpu.in
@@ -35,11 +35,6 @@ function add_arg() {
while true; do
case "$1" in
- -o)
- file=$2
- add_arg "file=${file:-$(basename ${file}).aub}"
- shift 2
- ;;
-v)
add_arg "verbose=1"
shift 1
@@ -48,6 +43,11 @@ while true; do
add_arg "verbose=2"
shift 1
;;
+ -o)
+ file=$2
+ add_arg "file=${file:-$(basename ${file}).aub}"
+ shift 2
+ ;;
-o*)
file=${1##-o}
add_arg "file=${file:-$(basename ${file}).aub}"
--
2.19.1
More information about the mesa-dev
mailing list