Skip to content

Commit 5754ca1

Browse files
vulkan manifest: set cpu_family in layer name
1 parent 0b3904f commit 5754ca1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/mangohud.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"file_format_version" : "1.0.0",
33
"layer" : {
4-
"name": "VK_LAYER_MANGOHUD_overlay",
4+
"name": "VK_LAYER_MANGOHUD_overlay_@cpu_family@",
55
"type": "GLOBAL",
66
"api_version": "1.3.0",
77
"library_path": "@ld_libdir_mangohud_abs@/libMangoHud.so",

src/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ conf_data = configuration_data()
1313

1414
conf_data.set('ld_libdir_mangohud_abs', libdir_mangohud)
1515
conf_data.set('ld_libdir_mangohud', ld_libdir_mangohud)
16+
conf_data.set('cpu_family', host_machine.cpu_family())
1617

1718
overlay_shaders = [
1819
'overlay.frag',

0 commit comments

Comments
 (0)