- Build your Vulkan driver:
git clone git://anongit.freedesktop.org/mesa/mesa
cd mesa
git checkout -b vulkan origin/vulkan
b. Install your dependencies:
sudo dnf install libxshmfence-devel
c. Configure it
./autogen.sh
d. Build it
make -j4
2. Get a linker. Vulkan, like OpenCL, requires a system to go out and find the correct Vulkan install:
sudo dnf copr enable ajax/vulkan
sudo dnf install vulkan-devel
3. Get your spinning cube program. I'm using Kristian Hogsberg's vkcube:
cd
git clone https://github.com/krh/vkcube.git
cd vkcube
./autogen.sh
make -j4
4. Tell your spinning cube where Vulkan is:
export VK_ICD_FILENAMES=/home/[username]/mesa/src/intel/vulkan/dev_icd.json
5. Run it!!
./vkcube
You should see something like this, a multicolored spinning cube: