[vulkan] Make some headers order-indepenedent

In that they don't need Vulkan/qf_vid.h included first.
This commit is contained in:
Bill Currie 2022-05-04 13:55:56 +09:00
parent 419d91edc5
commit a77aa16318
3 changed files with 15 additions and 0 deletions

View file

@ -1,6 +1,11 @@
#ifndef __QF_Vulkan_barrier_h
#define __QF_Vulkan_barrier_h
#ifndef VK_NO_PROTOTYPES
#define VK_NO_PROTOTYPES
#endif
#include <vulkan/vulkan.h>
typedef struct {
VkPipelineStageFlags srcStages;
VkPipelineStageFlags dstStages;

View file

@ -1,6 +1,11 @@
#ifndef __QF_Vulkan_buffer_h
#define __QF_Vulkan_buffer_h
#ifndef VK_NO_PROTOTYPES
#define VK_NO_PROTOTYPES
#endif
#include <vulkan/vulkan.h>
#include "QF/darray.h"
typedef struct qfv_buffertransition_s {

View file

@ -1,6 +1,11 @@
#ifndef __QF_Vulkan_image_h
#define __QF_Vulkan_image_h
#ifndef VK_NO_PROTOTYPES
#define VK_NO_PROTOTYPES
#endif
#include <vulkan/vulkan.h>
#include "QF/darray.h"
typedef struct qfv_imageset_s