begin using new version of gryphn utils

This commit is contained in:
Greg Wells
2025-06-06 20:31:34 -04:00
parent b6cb989445
commit 48f4f9a0aa
20 changed files with 25 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ add_library(GryphnMetalImpl SHARED ${SOURCE_FILES})
target_include_directories(GryphnMetalImpl PUBLIC
${CMAKE_SOURCE_DIR}/gryphn/include/
${CMAKE_SOURCE_DIR}/gryphn/src/
${CMAKE_SOURCE_DIR}/gryphn/src/
${CMAKE_SOURCE_DIR}/gryphn/src/utils/
src/
depends/SPIRV-Cross/
)

View File

@@ -1,7 +1,7 @@
#pragma once
#include "core/framebuffer/gryphn_framebuffer.h"
#include "utils/gryphn_bool.h"
#include "utils/types/gryphn_image_format.h"
#include "utils/gryphn_image_format.h"
#import <Metal/Metal.h>
#import <Metal/MTLRenderPass.h>

View File

@@ -2,6 +2,7 @@
#include "core/debugger/gryphn_debugger.h"
#include "core/texture/metal_texture.h"
#include "core/renderpass/gryphn_render_pass_descriptor.h"
#include "core/instance/gryphn_instance.h"
gnBool isDepthFormat(gnImageFormat format) {
return gnFalse;

View File

@@ -17,7 +17,7 @@ add_library(GryphnVulkanImpl SHARED ${SOURCE_FILES} ${METAL_FILES})
target_include_directories(GryphnVulkanImpl PUBLIC
${CMAKE_SOURCE_DIR}/gryphn/include/
${CMAKE_SOURCE_DIR}/gryphn/src/
${CMAKE_SOURCE_DIR}/gryphn/src/
${CMAKE_SOURCE_DIR}/gryphn/src/utils/
src/
/Applications/vulkansdk/macOS/include/
)

View File

@@ -1,5 +1,6 @@
#include "vulkan_debugger.h"
#include <instance/vulkan_instance.h>
#include "core/instance/gryphn_instance.h"
void populateDebugMessengerCreateInfo(VkDebugUtilsMessengerCreateInfoEXT* createInfo) {
createInfo->sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT;

View File

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

View File

@@ -3,6 +3,7 @@
#include "output_device/vulkan_output_devices.h"
#include "shader_module/vulkan_shader_module.h"
#include "renderpass/vulkan_render_pass_descriptor.h"
#include "core/instance/gryphn_instance.h"
VkDynamicState vkGryphnDynamicStateToVulkanDynamicState(enum gnDynamicState_e state) {
switch (state) {