diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2023-01-25 23:06:30 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2023-01-25 23:06:30 +0100 |
| commit | 90a0afd18f080088cac068d92810fb630225d6be (patch) | |
| tree | 341310124fec15c6a02708815377db0cddb6b252 /include/api-test/vk-device.hpp | |
| parent | 0a882c4b85423a170455f05a52d18f7fa7c9220b (diff) | |
Working compute api with uniforms
Diffstat (limited to 'include/api-test/vk-device.hpp')
| -rw-r--r-- | include/api-test/vk-device.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/api-test/vk-device.hpp b/include/api-test/vk-device.hpp index b09ed9e..a30b18c 100644 --- a/include/api-test/vk-device.hpp +++ b/include/api-test/vk-device.hpp @@ -28,7 +28,7 @@ class vkdevice { static void free_device(); - static inline vkdevice* get_device() { + static inline vkdevice* get_render_device() { return render_device; } @@ -68,6 +68,10 @@ class vkdevice { return bindless; } + inline VkDevice get_device() { + return device; + } + void submit(command_buffer* buffers, size_t count); void present(); |
