I don't think anybody is using this script with any other driver.
Also take a $DEBUGGER variable so you can do:
$ DEBUGGER='gdb -q --args' ./intel_run shaders
---
intel_run | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/intel_run b/intel_run
index 5a162f8..ad9986d 100755
--- a/intel_run
+++ b/intel_run
@@ -1,5 +1,5 @@
#!/bin/bash
# -*- mode: sh -*-
-LD_PRELOAD=${PWD}/intel_stub.so${LD_PRELOAD:+:${LD_PRELOAD}} \
- exec ./run $@
+export LD_PRELOAD=${PWD}/intel_stub.so${LD_PRELOAD:+:${LD_PRELOAD}}
+exec $DEBUGGER ./run -o i965 $@
--
2.17.0
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev