Skip to content

Commit

Permalink
Add missing extern lock definition (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel authored Nov 12, 2024
1 parent f46b3a2 commit 156305b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,33 @@ jobs:
run: |
cd layer_example
bash ./android_build.sh Release
build-ubuntu-x64-clang-new-common:
name: Ubuntu x64 generate common
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Generate layer_test
run: |
python3 ./generator/generate_vulkan_common.py
build-ubuntu-x64-clang-new-project:
name: Ubuntu x64 generate new layer
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Generate layer_test
run: |
python3 ./generator/generate_vulkan_layer.py --project-name Test --layer-name VkLayerTest --output layer_test
mkdir layer_test/build_rel
cd layer_test/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
1 change: 1 addition & 0 deletions source_common/framework/entry_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "device_dispatch_table.hpp"
#include "device_functions.hpp"

extern std::mutex g_vulkanLock;

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

Expand Down

0 comments on commit 156305b

Please sign in to comment.