fix the last few vulkan warnings

This commit is contained in:
Gregory Wells
2025-08-03 15:29:13 -04:00
parent 5f298554fd
commit b1790b59d8
21 changed files with 127 additions and 142 deletions

View File

@@ -2,7 +2,7 @@
#include <commands/command_buffer/vulkan_command_buffer.h>
#include <commands/commands/vulkan_commands.h>
gnCommandFunctions loadVulkanCommandFunctions() {
gnCommandFunctions loadVulkanCommandFunctions(void) {
return (gnCommandFunctions){
._gnCommandPoolAllocateCommandBuffers = allocateCommandBuffers,
._gnBeginCommandBuffer = beginCommandBuffer,

View File

@@ -13,7 +13,7 @@
#include <submit/vulkan_submit.h>
#include <output_device/vulkan_output_devices.h>
gnDeviceFunctions loadVulkanDeviceFunctions() {
gnDeviceFunctions loadVulkanDeviceFunctions(void) {
return (gnDeviceFunctions){
._gnCreatePresentationQueue = createPresentationQueue,
._gnPresentationQueueGetImage = getVulkanPresentQueueImage,

View File

@@ -4,7 +4,7 @@
#include <output_device/vulkan_output_devices.h>
#include <vulkan_surface/vulkan_surface.h>
gryphnInstanceFunctionLayers loadVulkanAPILayer() {
gryphnInstanceFunctionLayers loadVulkanAPILayer(void) {
return (gryphnInstanceFunctionLayers) {
.createInstance = vulkanCreateInstance,
.destroyInstance = vulkanDestroyInstance,
@@ -12,7 +12,7 @@ gryphnInstanceFunctionLayers loadVulkanAPILayer() {
};
}
gnInstanceFunctions loadVulkanInstanceFunctions() {
gnInstanceFunctions loadVulkanInstanceFunctions(void) {
return (gnInstanceFunctions){
._gnGetPhysicalDevices = getPhysicalDevices,

View File

@@ -7,12 +7,12 @@
#include "core/gryphn_extensions.h"
typedef struct gryphnInstanceFunctionLayers gryphnInstanceFunctionLayers;
gryphnInstanceFunctionLayers loadVulkanAPILayer();
gryphnInstanceFunctionLayers loadVulkanAPILayer(void);
gnInstanceFunctions loadVulkanInstanceFunctions();
gnDeviceFunctions loadVulkanDeviceFunctions();
gnCommandFunctions loadVulkanCommandFunctions();
gnSyncExtFunctions loadVulkanSyncFunctions();
gnQueueExtFunctions loadVulkanQueueFunctions();
gnInstanceFunctions loadVulkanInstanceFunctions(void);
gnDeviceFunctions loadVulkanDeviceFunctions(void);
gnCommandFunctions loadVulkanCommandFunctions(void);
gnSyncExtFunctions loadVulkanSyncFunctions(void);
gnQueueExtFunctions loadVulkanQueueFunctions(void);
gnBool vulkanIsExtensionSupported(gnExtension extension);

View File

@@ -3,7 +3,7 @@
#include <submit/vulkan_submit.h>
#include <present/vulkan_present.h>
gnQueueExtFunctions loadVulkanQueueFunctions() {
gnQueueExtFunctions loadVulkanQueueFunctions(void) {
return (gnQueueExtFunctions) {
._gnGetPhysicalDeviceQueueProperties = vulkanPhysicalDeviceQueueProperties,
._gnQueueSubmit = vulkanSubmitQueue,

View File

@@ -5,7 +5,7 @@
#include "submit/vulkan_submit.h"
#include "present/vulkan_present.h"
gnSyncExtFunctions loadVulkanSyncFunctions() {
gnSyncExtFunctions loadVulkanSyncFunctions(void) {
return (gnSyncExtFunctions){
._gnPresentationQueueGetImageAsync = getPresentQueueImageAsync,