This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pre requisites | |
- Enable DRI3 as described in https://vulkan.lunarg.com/app/docs/v1.0.3.1/getting_started_linux | |
- Install a library for SHA, e.g. sudo apt-get install libgcrypt11-dev (if not already present) | |
- Otherwise the driver may throw an error with "_mesa_sha1_compute" when loading SPIR-V shaders | |
# Building | |
- Clone Mesa Master : git clone git://anongit.freedesktop.org/mesa/mesa -b master | |
- cd mesa | |
- autoreconf -vfi | |
- ./configure --enable-debug --with-dri-drivers=i965 --with-gallium-drivers= --with-sha1= --with-vulkan-drivers=intel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GDB python extension to pull the source files from a server, when executing "gdb backtrace" | |
# Modify file_server to match your needs | |
# Tested on gdb 7.10 | |
# It depends on scp and password-less login. | |
# Adapted from a GDB example [https://sourceware.org/gdb/onlinedocs/gdb/Python.html#Python] | |
import gdb | |
from gdb.FrameDecorator import FrameDecorator | |
file_server='host where you've built' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
ALTERNATIVE SEARCH & REPLACE | |
string: The text to be evaluated | |
replace: The character or string to look for in the above string | |
with: What to replace it with | |
Slightly more long winded approach if that's how you prefer to roll. | |
--> | |
<xsl:template name="string-replace"> |