npv:_reasonable_ "pedanticage" of the code
[nyanmp.git] / npv / vk / main.c
blob1dab8ad5fc8b86e68b9d0a0d44b7d8e511a392c3
1 #ifndef NPV_VK_C
2 #define NPV_VK_C
3 /*
4 * code protected with a GNU affero GPLv3 license
5 * copyright (C) 2020 Sylvain BERTRAND
6 */
7 #include <stdbool.h>
8 #include <stdarg.h>
9 #include <stdio.h>
10 #include <dlfcn.h>
11 #include <stdlib.h>
12 #include <string.h>
13 #include <xcb/xcb.h>
14 #include "npv/c_fixing.h"
15 #include "npv/public.h"
16 #include "npv/nyanvk/consts.h"
17 #include "npv/nyanvk/types.h"
18 #include "npv/global.h"
19 #include "npv/xcb/public.h"
20 #include "npv/vk/public.h"
21 /*----------------------------------------------------------------------------*/
22 /* this defines the npv vk api use, hence the use of the vk_* prefix */
23 #include "npv/vk/api_usage.h"
24 /*----------------------------------------------------------------------------*/
25 #include "npv/vk/namespace/public.h"
26 #include "npv/vk/namespace/main.c"
27 /*----------------------------------------------------------------------------*/
28 /* from api_usage.h" */
29 VK_GLOBAL_SYMS
30 /*----------------------------------------------------------------------------*/
31 #include "npv/vk/local/state.frag.c"
32 /*----------------------------------------------------------------------------*/
33 #include "npv/vk/local/code.frag.c"
34 #include "npv/vk/public/code.frag.c"
35 /*----------------------------------------------------------------------------*/
36 #define CLEANUP
37 #include "npv/vk/namespace/public.h"
38 #include "npv/vk/namespace/main.c"
39 #undef CLEANUP
40 /*----------------------------------------------------------------------------*/
41 #endif