Sequence commands to compile lavapipe from mesa upstream:
- PWD=${PWD}
- git clone git://anongit.freedesktop.org/mesa/mesa
- mkdir mesa-build
- meson ../mesa --prefix=${PWD}/install
- ninja -j 4
- ninja install
- cd ..
- VK_ICD_FILENAMES=${PWD}/mesa-build/install/share/vulkan/icd.d/lvp_icd.x86_64.json vulkaninfo
Sequence commands to compile yquake for check vulkan render:
- wget -cv https://deponie.yamagi.org/quake2/idstuff/q2-314-demo-x86.exe
- unzip q2-314-demo-x86.exe
- git clone git@github.com:yquake2/yquake2.git -b ref_vk
- cd yquake2
- make
- cd ..
- cp -rv Install/Data/baseq2/pak0.pak yquake2/release/baseq2/
- cp -rv Install/Data/baseq2/players yquake2/release/baseq2
Sequence commands to check Vulkan render:
- cd yquake2/release
- VK_ICD_FILENAMES=${PWD}/mesa-build/install/share/vulkan/icd.d/lvp_icd.x86_64.json ./quake2
No comments:
Post a Comment