Now change back to the base `~/opt` directory and clone the `mesa` git repo from the `mesa` gitlab instance. Change to the `mesa` directory. Create a build directory and cd into it.
cd ~/opt
- git clone https://gitlab.freedesktop.org/vivekvpandya/mesa.git
+ git clone https://git.libre-soc.org/git/mesa.git
git pull --rebase origin libresoc_dev
git checkout -b libresoc_dev
cd mesa
# From here on is solely Vivek's instructions
To test the code I am sing simple tests built by
+
https://github.com/GameTechDev/IntroductionToVulkan
I am also using debug build for vulkan loader if any one interested in that
previously it was on master so it will cause me problems working on master
branch.
-Also note slight change in meson configure command
-meson -Dbuildtype=debug -Dprefix=/home/vivek/install \
--Dvulkan-drivers=libre-soc ..
-
-instead of libresoc it is libre-soc for vulkan-drivers option.
-
# Running vulkan intro tutorial
* <https://github.com/GameTechDev/IntroductionToVulkan/tree/master/Project/Tutorials/01>
* <http://lists.libre-soc.org/pipermail/libre-soc-dev/2020-August/000368.html>
+
+# Demos with lavapipe
+
+> It can be built with
+> meson configure -Dvulkan-drivers=swrast -Dgallium-drivers=swrast
+> set VK_ICD_FILENAMES to the lvp_icd.x86_64.json file and vulkaninfo should
+> show it.
+>
+> I tried running demos from
+> https://software.intel.com/content/www/us/en/develop/articles/api-without-
+> secrets-introduction-to-vulkan-part-1.html and all 7 runs fine with lavapipe.
+
+* <https://bugs.libre-soc.org/show_bug.cgi?id=251#c58>