mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
[vulkan] Clean up a lot of unnecessary includes
Too much copying of base files.
This commit is contained in:
parent
495dd759f0
commit
d35154ecf1
21 changed files with 24 additions and 345 deletions
|
@ -15,10 +15,10 @@ size_t QFV_ScrapSize (scrap_t *scrap) __attribute__((pure));
|
||||||
void QFV_ScrapClear (scrap_t *scrap);
|
void QFV_ScrapClear (scrap_t *scrap);
|
||||||
void QFV_DestroyScrap (scrap_t *scrap);
|
void QFV_DestroyScrap (scrap_t *scrap);
|
||||||
VkImageView QFV_ScrapImageView (scrap_t *scrap) __attribute__((pure));
|
VkImageView QFV_ScrapImageView (scrap_t *scrap) __attribute__((pure));
|
||||||
subpic_t *QFV_ScrapSubpic (scrap_t *scrap, int width, int height);
|
struct subpic_s *QFV_ScrapSubpic (scrap_t *scrap, int width, int height);
|
||||||
void QFV_SubpicDelete (subpic_t *subpic);
|
void QFV_SubpicDelete (struct subpic_s *subpic);
|
||||||
|
|
||||||
void *QFV_SubpicBatch (subpic_t *subpic, struct qfv_stagebuf_s *stage);
|
void *QFV_SubpicBatch (struct subpic_s *subpic, struct qfv_stagebuf_s *stage);
|
||||||
|
|
||||||
void QFV_ScrapFlush (scrap_t *scrap);
|
void QFV_ScrapFlush (scrap_t *scrap);
|
||||||
|
|
||||||
|
|
|
@ -29,36 +29,11 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/mathlib.h"
|
#include "QF/mathlib.h"
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/buffer.h"
|
#include "QF/Vulkan/buffer.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/memory.h"
|
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
VkBuffer
|
VkBuffer
|
||||||
QFV_CreateBuffer (qfv_device_t *device, VkDeviceSize size,
|
QFV_CreateBuffer (qfv_device_t *device, VkDeviceSize size,
|
||||||
|
|
|
@ -29,17 +29,6 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/capture.h"
|
#include "QF/Vulkan/capture.h"
|
||||||
#include "QF/Vulkan/command.h"
|
#include "QF/Vulkan/command.h"
|
||||||
|
@ -48,8 +37,6 @@
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/swapchain.h"
|
#include "QF/Vulkan/swapchain.h"
|
||||||
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
qfv_capture_t *
|
qfv_capture_t *
|
||||||
QFV_CreateCapture (qfv_device_t *device, int numframes,
|
QFV_CreateCapture (qfv_device_t *device, int numframes,
|
||||||
qfv_swapchain_t *swapchain, VkCommandPool cmdPool)
|
qfv_swapchain_t *swapchain, VkCommandPool cmdPool)
|
||||||
|
|
|
@ -29,39 +29,9 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/mathlib.h"
|
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/buffer.h"
|
|
||||||
#include "QF/Vulkan/image.h"
|
|
||||||
#include "QF/Vulkan/renderpass.h"
|
|
||||||
#include "QF/Vulkan/pipeline.h"
|
|
||||||
#include "QF/Vulkan/command.h"
|
#include "QF/Vulkan/command.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
VkCommandPool
|
VkCommandPool
|
||||||
QFV_CreateCommandPool (qfv_device_t *device, uint32_t queueFamily,
|
QFV_CreateCommandPool (qfv_device_t *device, uint32_t queueFamily,
|
||||||
|
|
|
@ -29,35 +29,11 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/hash.h"
|
#include "QF/hash.h"
|
||||||
#include "QF/mathlib.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/descriptor.h"
|
#include "QF/Vulkan/descriptor.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
VkSampler
|
VkSampler
|
||||||
QFV_CreateSampler (qfv_device_t *device,
|
QFV_CreateSampler (qfv_device_t *device,
|
||||||
|
|
|
@ -29,31 +29,14 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/mathlib.h"
|
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
#include "QF/sys.h"
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
#include "vid_vulkan.h"
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
|
@ -29,37 +29,13 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/mathlib.h"
|
#include "QF/mathlib.h"
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/barrier.h"
|
#include "QF/Vulkan/barrier.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/image.h"
|
#include "QF/Vulkan/image.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/memory.h"
|
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
VkImage
|
VkImage
|
||||||
QFV_CreateImage (qfv_device_t *device, int cubemap,
|
QFV_CreateImage (qfv_device_t *device, int cubemap,
|
||||||
|
|
|
@ -26,21 +26,11 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/mathlib.h"
|
#include "QF/mathlib.h"
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
|
|
||||||
#include "vid_vulkan.h"
|
#include "vid_vulkan.h"
|
||||||
|
|
|
@ -29,36 +29,10 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/mathlib.h"
|
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
#include "QF/Vulkan/memory.h"
|
#include "QF/Vulkan/memory.h"
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
void *
|
void *
|
||||||
QFV_MapMemory (qfv_device_t *device, VkDeviceMemory object,
|
QFV_MapMemory (qfv_device_t *device, VkDeviceMemory object,
|
||||||
VkDeviceSize offset, VkDeviceSize size)
|
VkDeviceSize offset, VkDeviceSize size)
|
||||||
|
|
|
@ -29,39 +29,12 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
#include "QF/dstring.h"
|
||||||
#include "QF/hash.h"
|
|
||||||
#include "QF/mathlib.h"
|
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/descriptor.h"
|
#include "QF/Vulkan/descriptor.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/image.h"
|
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
#include "QF/Vulkan/pipeline.h"
|
#include "QF/Vulkan/pipeline.h"
|
||||||
#include "QF/Vulkan/renderpass.h"
|
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
VkPipelineCache
|
VkPipelineCache
|
||||||
QFV_CreatePipelineCache (qfv_device_t *device, dstring_t *cacheData)
|
QFV_CreatePipelineCache (qfv_device_t *device, dstring_t *cacheData)
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/Vulkan/projection.h"
|
#include "QF/Vulkan/projection.h"
|
||||||
|
|
|
@ -29,38 +29,13 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/hash.h"
|
|
||||||
#include "QF/mathlib.h"
|
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/image.h"
|
#include "QF/Vulkan/image.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
#include "QF/Vulkan/renderpass.h"
|
#include "QF/Vulkan/renderpass.h"
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
VkRenderPass
|
VkRenderPass
|
||||||
QFV_CreateRenderPass (qfv_device_t *device,
|
QFV_CreateRenderPass (qfv_device_t *device,
|
||||||
qfv_attachmentdescription_t *attachments,
|
qfv_attachmentdescription_t *attachments,
|
||||||
|
|
|
@ -28,24 +28,12 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/alloc.h"
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
#include "QF/dstring.h"
|
||||||
#include "QF/hash.h"
|
|
||||||
#include "QF/image.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/render.h"
|
#include "QF/render.h"
|
||||||
#include "QF/sys.h"
|
#include "QF/ui/vrect.h"
|
||||||
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/barrier.h"
|
#include "QF/Vulkan/barrier.h"
|
||||||
#include "QF/Vulkan/buffer.h"
|
#include "QF/Vulkan/buffer.h"
|
||||||
|
@ -53,12 +41,10 @@
|
||||||
#include "QF/Vulkan/debug.h"
|
#include "QF/Vulkan/debug.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/image.h"
|
#include "QF/Vulkan/image.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
#include "QF/Vulkan/scrap.h"
|
#include "QF/Vulkan/scrap.h"
|
||||||
#include "QF/Vulkan/staging.h"
|
#include "QF/Vulkan/staging.h"
|
||||||
|
|
||||||
#include "r_scrap.h"
|
#include "r_scrap.h"
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
struct scrap_s {
|
struct scrap_s {
|
||||||
rscrap_t rscrap;
|
rscrap_t rscrap;
|
||||||
|
|
|
@ -28,32 +28,16 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/alloc.h"
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
#include "QF/dstring.h"
|
||||||
#include "QF/hash.h"
|
|
||||||
#include "QF/quakefs.h"
|
#include "QF/quakefs.h"
|
||||||
#include "QF/sys.h"
|
#include "QF/sys.h"
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
|
||||||
#include "QF/Vulkan/debug.h"
|
#include "QF/Vulkan/debug.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/image.h"
|
|
||||||
#include "QF/Vulkan/instance.h"
|
|
||||||
#include "QF/Vulkan/renderpass.h"
|
|
||||||
#include "QF/Vulkan/shader.h"
|
#include "QF/Vulkan/shader.h"
|
||||||
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
static
|
static
|
||||||
#include "libs/video/renderer/vulkan/shader/particle.vert.spvc"
|
#include "libs/video/renderer/vulkan/shader/particle.vert.spvc"
|
||||||
static
|
static
|
||||||
|
|
|
@ -28,22 +28,8 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/alloc.h"
|
|
||||||
#include "QF/cvar.h"
|
|
||||||
#include "QF/dstring.h"
|
#include "QF/dstring.h"
|
||||||
#include "QF/hash.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/buffer.h"
|
#include "QF/Vulkan/buffer.h"
|
||||||
#include "QF/Vulkan/command.h"
|
#include "QF/Vulkan/command.h"
|
||||||
|
@ -52,8 +38,6 @@
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/staging.h"
|
#include "QF/Vulkan/staging.h"
|
||||||
|
|
||||||
#include "vid_vulkan.h"
|
|
||||||
|
|
||||||
qfv_stagebuf_t *
|
qfv_stagebuf_t *
|
||||||
QFV_CreateStagingBuffer (qfv_device_t *device, const char *name, size_t size,
|
QFV_CreateStagingBuffer (qfv_device_t *device, const char *name, size_t size,
|
||||||
VkCommandPool cmdPool)
|
VkCommandPool cmdPool)
|
||||||
|
|
|
@ -3,27 +3,21 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
#ifdef HAVE_MATH_H
|
||||||
# include <math.h>
|
//# include <math.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/mathlib.h"
|
#include "QF/mathlib.h"
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/cvars.h"
|
|
||||||
#include "QF/Vulkan/command.h"
|
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/image.h"
|
#include "QF/Vulkan/image.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/swapchain.h"
|
#include "QF/Vulkan/swapchain.h"
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
#include "r_internal.h"
|
||||||
#include "vid_vulkan.h"
|
#include "vid_vulkan.h"
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
qfv_swapchain_t *
|
qfv_swapchain_t *
|
||||||
QFV_CreateSwapchain (vulkan_ctx_t *ctx, VkSwapchainKHR old_swapchain)
|
QFV_CreateSwapchain (vulkan_ctx_t *ctx, VkSwapchainKHR old_swapchain)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,12 +26,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/hash.h"
|
#include "QF/hash.h"
|
||||||
|
|
||||||
|
|
|
@ -28,48 +28,25 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MATH_H
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "QF/cexpr.h"
|
|
||||||
#include "QF/cmem.h"
|
#include "QF/cmem.h"
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/dstring.h"
|
|
||||||
#include "QF/hash.h"
|
#include "QF/hash.h"
|
||||||
#include "QF/mathlib.h"
|
#include "QF/mathlib.h"
|
||||||
#include "QF/plist.h"
|
|
||||||
#include "QF/qargs.h"
|
|
||||||
#include "QF/quakefs.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
#include "QF/va.h"
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/simd/vec4f.h"
|
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/descriptor.h"
|
|
||||||
#include "QF/Vulkan/debug.h"
|
#include "QF/Vulkan/debug.h"
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/command.h"
|
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/image.h"
|
#include "QF/Vulkan/image.h"
|
||||||
#include "QF/Vulkan/pipeline.h"
|
#include "QF/Vulkan/pipeline.h"
|
||||||
#include "QF/Vulkan/renderpass.h"
|
|
||||||
#include "QF/Vulkan/shader.h"
|
#include "QF/Vulkan/shader.h"
|
||||||
#include "QF/Vulkan/swapchain.h"
|
#include "QF/Vulkan/swapchain.h"
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
#include "d_iface.h"
|
|
||||||
#include "r_internal.h"
|
|
||||||
#include "vid_vulkan.h"
|
#include "vid_vulkan.h"
|
||||||
|
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
#define vkparse_internal
|
#define vkparse_internal
|
||||||
#include "vkparse.h"
|
#include "vkparse.h"
|
||||||
#undef vkparse_internal
|
#undef vkparse_internal
|
||||||
|
|
|
@ -33,22 +33,9 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_STRING_H
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_STRINGS_H
|
|
||||||
# include <strings.h>
|
|
||||||
#endif
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "qfalloca.h"
|
|
||||||
|
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/darray.h"
|
|
||||||
#include "QF/image.h"
|
|
||||||
#include "QF/render.h"
|
|
||||||
#include "QF/skin.h"
|
|
||||||
#include "QF/sys.h"
|
|
||||||
#include "QF/va.h"
|
#include "QF/va.h"
|
||||||
|
|
||||||
#include "QF/scene/entity.h"
|
#include "QF/scene/entity.h"
|
||||||
|
@ -56,10 +43,7 @@
|
||||||
#include "QF/Vulkan/qf_alias.h"
|
#include "QF/Vulkan/qf_alias.h"
|
||||||
#include "QF/Vulkan/qf_matrices.h"
|
#include "QF/Vulkan/qf_matrices.h"
|
||||||
#include "QF/Vulkan/qf_texture.h"
|
#include "QF/Vulkan/qf_texture.h"
|
||||||
#include "QF/Vulkan/buffer.h"
|
|
||||||
#include "QF/Vulkan/command.h"
|
|
||||||
#include "QF/Vulkan/debug.h"
|
#include "QF/Vulkan/debug.h"
|
||||||
#include "QF/Vulkan/descriptor.h"
|
|
||||||
#include "QF/Vulkan/device.h"
|
#include "QF/Vulkan/device.h"
|
||||||
#include "QF/Vulkan/instance.h"
|
#include "QF/Vulkan/instance.h"
|
||||||
#include "QF/Vulkan/renderpass.h"
|
#include "QF/Vulkan/renderpass.h"
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
#include "QF/cvar.h"
|
#include "QF/cvar.h"
|
||||||
#include "QF/sys.h"
|
#include "QF/sys.h"
|
||||||
#include "QF/va.h"
|
#include "QF/va.h"
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_matrices.h"
|
#include "QF/Vulkan/qf_matrices.h"
|
||||||
#include "QF/Vulkan/barrier.h"
|
#include "QF/Vulkan/barrier.h"
|
||||||
#include "QF/Vulkan/buffer.h"
|
#include "QF/Vulkan/buffer.h"
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
#include "QF/quakefs.h"
|
#include "QF/quakefs.h"
|
||||||
#include "QF/sys.h"
|
#include "QF/sys.h"
|
||||||
#include "QF/va.h"
|
#include "QF/va.h"
|
||||||
#include "QF/vid.h"
|
|
||||||
#include "QF/Vulkan/qf_matrices.h"
|
#include "QF/Vulkan/qf_matrices.h"
|
||||||
#include "QF/Vulkan/qf_vid.h"
|
#include "QF/Vulkan/qf_vid.h"
|
||||||
#include "QF/Vulkan/barrier.h"
|
#include "QF/Vulkan/barrier.h"
|
||||||
|
|
Loading…
Reference in a new issue