fixed vulkan (DOES NOT COMPILE)

This commit is contained in:
Gregory Wells
2025-06-24 12:12:52 -04:00
parent d66f470a52
commit 953feebfe4
31 changed files with 63 additions and 67 deletions

View File

@@ -1,6 +1,6 @@
#include "vulkan_buffer.h"
#include "core/buffers/gryphn_buffer.h"
#include "core/output_device/gryphn_output_device.h"
#include "buffers/gryphn_buffer.h"
#include "output_device/gryphn_output_device.h"
#include "output_device/vulkan_output_devices.h"
#include "output_device/vulkan_physical_device.h"
#include "commands/command_buffer/vulkan_command_buffer.h"

View File

@@ -1,7 +1,7 @@
#pragma once
#include <vulkan/vulkan.h>
#include "utils/gryphn_bool.h"
#include <core/buffers/gryphn_buffer.h>
#include <buffers/gryphn_buffer.h>
typedef struct VkGryphnBuffer {
VkBuffer buffer;

View File

@@ -1,5 +1,5 @@
#pragma once
#include "core/command/command_buffer/gryphn_command_buffer.h"
#include "command/command_buffer/gryphn_command_buffer.h"
#include "utils/gryphn_bool.h"
#include <vulkan/vulkan.h>

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include "core/command/command_pool/gryphn_command_pool.h"
#include "command/command_pool/gryphn_command_pool.h"
typedef struct gnPlatformCommandPool_t {
VkCommandPool commandPool;

View File

@@ -1,5 +1,5 @@
#include <vulkan/vulkan.h>
#include "core/command/commands/gryphn_command.h"
#include "command/commands/gryphn_command.h"
#include <renderpass/vulkan_render_pass_descriptor.h>
#include "framebuffers/vulkan_framebuffer.h"
#include "commands/command_buffer/vulkan_command_buffer.h"

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include <core/debugger/gryphn_debugger.h>
#include <debugger/gryphn_debugger.h>
typedef struct gnPlatformDebugger_t {
VkDebugUtilsMessengerEXT debugMessenger;

View File

@@ -1,5 +1,5 @@
#pragma once
#include "core/framebuffer/gryphn_framebuffer.h"
#include "framebuffer/gryphn_framebuffer.h"
#include <vulkan/vulkan.h>
typedef struct gnPlatformFramebuffer_t {

View File

@@ -1,7 +1,7 @@
#pragma once
#include <vulkan/vulkan.h>
#include "core/debugger/gryphn_debugger.h"
#include "core/instance/gryphn_instance.h"
#include "debugger/gryphn_debugger.h"
#include "instance/gryphn_instance.h"
struct gnInstanceMessage {
gnMessageSeverity severity;

View File

@@ -2,7 +2,7 @@
#include <output_device/vulkan_physical_device.h>
#include <output_device/vulkan_output_devices.h>
#include "vulkan_device_extensions.h"
#include "core/instance/gryphn_instance.h"
#include "instance/gryphn_instance.h"
#include "commands/command_buffer/vulkan_command_buffer.h"
gnReturnCode gnCreateOutputDeviceFn(gnOutputDeviceHandle outputDevice, gnInstanceHandle instance, gnOutputDeviceInfo deviceInfo) {

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include <core/output_device/gryphn_output_device.h>
#include <output_device/gryphn_output_device.h>
typedef struct gnPlatformOutputDevice_t {
VkDevice device;

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include <core/output_device/gryphn_physical_output_device.h>
#include <output_device/gryphn_physical_output_device.h>
typedef struct gnPlatformPhysicalDevice_t {
VkPhysicalDevice device;

View File

@@ -1,5 +1,5 @@
#pragma once
#include <core/pipelines/graphics_pipeline/gryphn_graphics_pipeline.h>
#include <pipelines/graphics_pipeline/gryphn_graphics_pipeline.h>
#include <vulkan/vulkan.h>
typedef struct gnPlatformGraphicsPipeline_t {

View File

@@ -1,4 +1,4 @@
#include "core/present/gryphn_present.h"
#include "present/gryphn_present.h"
#include "sync/semaphore/vulkan_semaphore.h"
#include "presentation_queue/vulkan_presentation_queue.h"
#include "output_device/vulkan_output_devices.h"

View File

@@ -2,7 +2,7 @@
#include "vulkan_swapchain_support.h"
#include <output_device/vulkan_physical_device.h>
#include "vulkan_surface/vulkan_surface.h"
#include "core/debugger/gryphn_debugger.h"
#include "debugger/gryphn_debugger.h"
#include "textures/vulkan_texture.h"
#include "sync/semaphore/vulkan_semaphore.h"
#include "stdio.h"

View File

@@ -1,5 +1,5 @@
#pragma once
#include "core/presentation_queue/gryphn_presentation_queue.h"
#include "presentation_queue/gryphn_presentation_queue.h"
#include <vulkan/vulkan.h>
typedef struct gnPlatformPresentationQueue_t {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "core/renderpass/gryphn_render_pass_descriptor.h"
#include "renderpass/gryphn_render_pass_descriptor.h"
#include <vulkan/vulkan.h>
typedef struct gnPlatformRenderPassDescriptor_t {

View File

@@ -1,5 +1,5 @@
#pragma once
#include <core/shader_module/gryphn_shader_module.h>
#include <shader_module/gryphn_shader_module.h>
#include <vulkan/vulkan.h>
typedef struct gnPlatformShaderModule_t {

View File

@@ -1,5 +1,5 @@
#include <vulkan/vulkan.h>
#include "core/submit/gryphn_submit.h"
#include "submit/gryphn_submit.h"
#include "sync/semaphore/vulkan_semaphore.h"
#include "sync/fence/vulkan_fence.h"
#include "commands/command_buffer/vulkan_command_buffer.h"

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include "core/sync/fence/gryphn_fence.h"
#include "sync/fence/gryphn_fence.h"
typedef struct gnPlatformFence_t {
VkFence fence;

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include "core/sync/semaphore/gryphn_semaphore.h"
#include "sync/semaphore/gryphn_semaphore.h"
typedef struct gnPlatformSemaphore_t {
VkSemaphore semaphore;

View File

@@ -2,7 +2,7 @@
#include "vulkan_texture.h"
#include "output_device/vulkan_output_devices.h"
#include "output_device/vulkan_physical_device.h"
#include "core/debugger/gryphn_debugger.h"
#include "debugger/gryphn_debugger.h"
VkImageType vkGryphnTextureType(gnTextureType type) {
switch(type) {

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include "core/textures/gryphn_texture.h"
#include "textures/gryphn_texture.h"
#include "buffers/vulkan_buffer.h"
typedef struct VkGryphnImage {

View File

@@ -1,7 +1,7 @@
#include "vulkan_uniform.h"
#include "buffers/vulkan_buffer.h"
#include "output_device/vulkan_output_devices.h"
#include "core/uniforms/gryphn_uniform_pool.h"
#include "uniforms/gryphn_uniform_pool.h"
#include "textures/vulkan_texture.h"
void gnUpdateBufferUniformFn(gnUniform uniform, gnBufferUniformInfo* info) {

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include "core/uniforms/gryphn_uniform.h"
#include "uniforms/gryphn_uniform.h"
typedef struct gnPlatformUniform_t {
VkDescriptorSet set;

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include <core/uniforms/gryphn_uniform_layout.h>
#include <uniforms/gryphn_uniform_layout.h>
VkDescriptorSetLayout vkGryphnCreateSetLayouts(const gnUniformSet* set, VkDevice device);
VkDescriptorType vkGryphnUniformType(gnUniformType type);

View File

@@ -2,7 +2,7 @@
#include "vulkan_uniform_layout.h"
#include "stdlib.h"
#include "output_device/vulkan_output_devices.h"
#include "core/uniforms/gryphn_uniform.h"
#include "uniforms/gryphn_uniform.h"
#include "vulkan_uniform.h"
#include "stdio.h"

View File

@@ -1,6 +1,6 @@
#pragma once
#include <vulkan/vulkan.h>
#include <core/uniforms/gryphn_uniform_pool.h>
#include <uniforms/gryphn_uniform_pool.h>
GN_ARRAY_LIST(VkDescriptorSetLayout);

View File

@@ -1,4 +1,4 @@
#include <core/window_surface/gryphn_surface_create_functions.h>
#include <window_surface/gryphn_surface_create_functions.h>
#include <instance/vulkan_instance.h>
#include "vulkan_surface.h"
#include <output_device/vulkan_physical_device.h>

View File

@@ -1,5 +1,5 @@
#pragma once
#include <core/window_surface/gryphn_surface.h>
#include <window_surface/gryphn_surface.h>
#include <vulkan/vulkan.h>
typedef struct gnPlatformWindowSurface_t {