Skip to content

Instantly share code, notes, and snippets.

@groleo
groleo / gist:e6e1bb8fb626b5bf7db362854914055b
Last active August 10, 2016 20:52 — forked from SaschaWillems/gist:47be6970a3e99a3d30e1
Intel Vulkan Mesa on Ubuntu 15.10
# 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
@groleo
groleo / search-and-replace-2.xsl
Created March 15, 2016 10:05 — forked from ijy/search-and-replace-2.xsl
Alternative search and replace template for XSLT 1.0.
<!--
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">