diff options
| author | Andre Weissflog <floooh@gmail.com> | 2026-01-19 18:40:11 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2026-01-19 18:40:11 +0100 |
| commit | 5ad340c71c70d55c91eb8bcb9ed70ad18c635ee9 (patch) | |
| tree | b002c31d5a9fb7cd32b51993687c6b5b82399b52 /sokol_app.h | |
| parent | 133d1ddbcd59efc6cb8a5731b84a3c9f8b9ec00a (diff) | |
sokol_app/gfx.h: vulkan build instructions
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h index a15a97ed..d46ec9df 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -23,6 +23,7 @@ #define SOKOL_D3D11 #define SOKOL_METAL #define SOKOL_WGPU + #define SOKOL_VULKAN #define SOKOL_NOAPI Optionally provide the following defines with your own implementations: @@ -79,11 +80,17 @@ - with SOKOL_GLCORE: GL - with SOKOL_GLES3: GLESv2 - with SOKOL_WGPU: a WebGPU implementation library (tested with webgpu_dawn) + - with SOKOL_VULKAN: vulkan - with EGL: EGL - on Android: GLESv3, EGL, log, android - on Windows: - with MSVC or Clang: library dependencies are defined via `#pragma comment` - with SOKOL_WGPU: a WebGPU implementation library (tested with webgpu_dawn) + - with SOKOL_VULKAN: + - install the Vulkan SDK + - set a header search path to $VULKAN_SDK/Include + - set a library search path to $VULKAN_SDK/Lib + - link with vulkan-1.lib - with MINGW/MSYS2 gcc: - compile with '-mwin32' so that _WIN32 is defined - link with the following libs: -lkernel32 -luser32 -lshell32 |