feat(layout)!: move /gl and /vk into rendering directory
as I was adding the audio module I realized it looks really ugly that the audio-related stuff will be in its own directory and the renderer modules will be scattered in root directory it makes way more sense this way Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
This commit is contained in:
parent
5a4db88436
commit
1070d03815
14 changed files with 6187 additions and 8 deletions
20
rendering/vk/vk.h
Normal file
20
rendering/vk/vk.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* SPDX-License-Identifier:BSD-3-Clause */
|
||||
#ifndef VK_H
|
||||
#define VK_H
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#include "../../types.h"
|
||||
|
||||
struct queue_family_indices {
|
||||
u32 graphics, present;
|
||||
};
|
||||
|
||||
struct renderer_context {
|
||||
VkInstance instance;
|
||||
VkPhysicalDevice physical_device;
|
||||
VkDevice device;
|
||||
VkQueue graphics_queue;
|
||||
struct queue_family_indices queue_indices;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue