Skip to content

Commit 156305b

Browse files
authored
Add missing extern lock definition (#9)
1 parent f46b3a2 commit 156305b

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/build_test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,33 @@ jobs:
6060
run: |
6161
cd layer_example
6262
bash ./android_build.sh Release
63+
64+
build-ubuntu-x64-clang-new-common:
65+
name: Ubuntu x64 generate common
66+
runs-on: ubuntu-22.04
67+
steps:
68+
- name: Git checkout
69+
uses: actions/checkout@v4
70+
with:
71+
submodules: 'true'
72+
73+
- name: Generate layer_test
74+
run: |
75+
python3 ./generator/generate_vulkan_common.py
76+
77+
build-ubuntu-x64-clang-new-project:
78+
name: Ubuntu x64 generate new layer
79+
runs-on: ubuntu-22.04
80+
steps:
81+
- name: Git checkout
82+
uses: actions/checkout@v4
83+
with:
84+
submodules: 'true'
85+
86+
- name: Generate layer_test
87+
run: |
88+
python3 ./generator/generate_vulkan_layer.py --project-name Test --layer-name VkLayerTest --output layer_test
89+
mkdir layer_test/build_rel
90+
cd layer_test/build_rel
91+
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
92+
make -j4

source_common/framework/entry_utils.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include "device_dispatch_table.hpp"
4444
#include "device_functions.hpp"
4545

46+
extern std::mutex g_vulkanLock;
4647

4748
#define VK_LAYER_EXPORT __attribute__((visibility("default")))
4849

0 commit comments

Comments
 (0)