rewrite device creation in C
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
#pragma once
|
||||
#include <vulkan/vulkan.h>
|
||||
#include "core/output_device/gryphn_output_device.h"
|
||||
|
||||
struct gnPlatformPhysicalOutputDevice {
|
||||
VkPhysicalDevice device;
|
||||
gnInstance* instance;
|
||||
};
|
||||
#include <core/output_device/gryphn_output_device.h>
|
||||
|
||||
struct gnPlatformOutputDevice {
|
||||
VkDevice device;
|
||||
VkQueue presentQueue;
|
||||
VkQueue graphicsQueue;
|
||||
|
||||
VkCommandPool commandPool;
|
||||
// VkCommandPool commandPool;
|
||||
};
|
||||
|
Reference in New Issue
Block a user