aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2017-05-03 11:20:34 +0500
committerAwais Belal <awais_belal@mentor.com>2017-05-03 11:20:39 +0500
commit9389897bf363bd84d20dea71fcec02fb143ce140 (patch)
tree85e53e511ad06300d9553bed0d4443452aa6b68e /meta-amdfalconx86
parent961767b0b0078c81495323aa2ef549072ea713d2 (diff)
downloadmeta-amd-9389897bf363bd84d20dea71fcec02fb143ce140.tar.gz
meta-amd-9389897bf363bd84d20dea71fcec02fb143ce140.tar.bz2
meta-amd-9389897bf363bd84d20dea71fcec02fb143ce140.zip
vulkan: correct path for vulkan layers
The Vulkan loader looks for pre-installed layers in various hardcoded paths on the system and broadcasts this information to the application when requested. This now corrects the path for these layers and moves the layers to one of the loader defined paths so they are found automatically when searched. Signed-off-by: Awais Belal <awais_belal@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
-rw-r--r--meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-loader-layers_1.0.26.bb4
-rw-r--r--meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb6
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-loader-layers_1.0.26.bb b/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-loader-layers_1.0.26.bb
index e18e7353..e8ea2605 100644
--- a/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-loader-layers_1.0.26.bb
+++ b/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-loader-layers_1.0.26.bb
@@ -50,8 +50,8 @@ do_install_append() {
mv ${D}${bindir}/tri ${D}${bindir}/tri-vulkan
mv ${D}${bindir}/cube ${D}${bindir}/cube-vulkan
- install -d ${D}${sysconfdir}/explicit_layer.d
- cp -f ${B}/layers/*.json ${D}${sysconfdir}/explicit_layer.d
+ install -d ${D}${sysconfdir}/vulkan/explicit_layer.d
+ cp -f ${B}/layers/*.json ${D}${sysconfdir}/vulkan/explicit_layer.d
install -d ${D}${includedir}
cp -rf ${S}/include/vulkan ${D}${includedir}
diff --git a/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb b/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb
index 6c0fcf29..c7e65dfe 100644
--- a/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb
+++ b/meta-amdfalconx86/recipes-graphics/lunarg-sdk/vulkan-tools_1.0.26.bb
@@ -47,7 +47,7 @@ do_install_append() {
install -d ${D}${libdir}
cp -f ${B}/vktrace/libVkLayer_vktrace_layer.so ${D}${libdir}
- install -d ${D}${sysconfdir}/explicit_layer.d
- cp -f ${S}/layersvt/${HOST_OS}/*.json ${D}${sysconfdir}/explicit_layer.d
- cp -f ${S}/vktrace/src/vktrace_layer/${HOST_OS}/*.json ${D}${sysconfdir}/explicit_layer.d
+ install -d ${D}${sysconfdir}/vulkan/explicit_layer.d
+ cp -f ${S}/layersvt/${HOST_OS}/*.json ${D}${sysconfdir}/vulkan/explicit_layer.d
+ cp -f ${S}/vktrace/src/vktrace_layer/${HOST_OS}/*.json ${D}${sysconfdir}/vulkan/explicit_layer.d
}