(no commit message)
[libreriscv.git] / 3d_gpu / mesa.mdwn
index b5e2f6033f15cbdef322f1cc90fc1518fdc69208..16cbd91c4fe310042dd53ad08cb597e4c8d976ab 100644 (file)
@@ -74,16 +74,15 @@ In order for meson to be able to find the up-to-date `drm` files we have just bu
 
 These following `vulkan`-specific environment variables are necessary to build our branch of mesa successfully:
 
-    export VK_ICD_FILENAMES=/home/$USER/opt/lsoc_mesa/share/vulkan/icd.\
-     /libresoc_icd.x86_64.json
+    export VK_ICD_FILENAMES=/home/$USER/opt/lsoc_mesa/share/vulkan/icd.d/libresoc_icd.x86_64.json
     export VK_LOADER_DEBUG=warn
     export LIBRESOC_TRACE=1
 
 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 pull origin libresoc_dev
+    git clone https://git.libre-soc.org/git/mesa.git
+    git pull --rebase origin libresoc_dev
     git checkout -b libresoc_dev
     cd mesa
     mkdir build && cd build
@@ -100,6 +99,7 @@ After configuration has completed, run ninja to build and install the `mesa` lib
 # 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
@@ -112,12 +112,6 @@ https://gitlab.freedesktop.org/vivekvpandya/mesa/-/tree/libresoc_dev
 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>