Module: Mesa
Branch: master
Commit: e262cc03539ca40085abba905cce99c10a34a7e7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e262cc03539ca40085abba905cce99c10a34a7e7

Author: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Date:   Wed Nov  7 10:55:04 2018 +0000

intel/dump_gpu: move output option together

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Reviewed-by: Eric Engestrom <eric.engest...@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 a1d92bb9bf..73bef9c337 100755
--- a/src/intel/tools/intel_dump_gpu.in
+++ b/src/intel/tools/intel_dump_gpu.in
@@ -37,11 +37,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
@@ -50,6 +45,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}"

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to