Make repo working again
I rewrote basically all pipeline specific code to make it more customizable. I made it work, which is insane. I never thought I would be able to go back to working state again.
This commit is contained in:
1 parent
bd05c03a12
commit
9cb692344f
11 files changed
+62
-80
No files matched your search
@@ -110,6 +110,7 @@ static rse_err_t setup_debug_messenger(VkInstance instance, VkDebugUtilsMessenge
|
||||
create_info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT;
|
||||
create_info.pNext = NULL;
|
||||
create_info.messageSeverity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT |
|
||||
VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT |
|
||||
VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT |
|
||||
VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT;
|
||||
create_info.messageType = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT |
|
||||
@@ -177,13 +178,13 @@ static rse_err_t create_instance(VkInstance* instance)
|
||||
#endif /* _WIN32 || WIN32 */
|
||||
"VK_EXT_debug_utils",
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
uint32_t enabled_instance_extensions_count = 4;
|
||||
uint32_t enabled_instance_layers_count = 1;
|
||||
const char* enabled_instance_layers_names[] = {
|
||||
"VK_LAYER_KHRONOS_validation",
|
||||
};
|
||||
#if 0
|
||||
#else
|
||||
uint32_t enabled_instance_extensions_count = 3;
|
||||
uint32_t enabled_instance_layers_count = 0;
|
||||
const char* enabled_instance_layers_names[] = {};
|
||||
@@ -248,7 +249,7 @@ static rse_err_t create_instance(VkInstance* instance)
|
||||
application_info.applicationVersion = VK_MAKE_VERSION(0, 1, 0);
|
||||
application_info.pEngineName = ENGINE_NAME;
|
||||
application_info.engineVersion = VK_MAKE_VERSION(0, 1, 0);
|
||||
application_info.apiVersion = VK_API_VERSION_1_3;
|
||||
application_info.apiVersion = VK_API_VERSION_1_4;
|
||||
|
||||
create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
|
||||
create_info.pNext = NULL;
|
||||
|
||||
Reference in new issue
Block a user