Commit dbe52273 authored by Kenneth Graunke's avatar Kenneth Graunke

intel_stub: Make intel_run wrapper script set -o i965.

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
Reviewed-by: 's avatarIan Romanick <ian.d.romanick@intel.com>
parent ae0bde15
#!/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 $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment