sync-ing asm and dis for minimal shaders
[vulkan-misc.git] / 2d / kickstart / app_state.c
blob4abdb43fe41ddfd759d2fdef92d38e2931369700
1 #ifndef APP_STATE_C
2 #define APP_STATE_C
3 /*
4 * this is public domain without any warranties of any kind
5 * Sylvain BERTRAND
6 */
7 /* XXX: KEEP AN EYE ON ABBREVIATIONS */
8 #include "app_core_types.h"
9 #include "app_state_types.h"
11 #include "namespace/app_state_types.h"
12 #include "namespace/app_state.c"
14 static u8 state_g;
15 static bool do_render_g;
16 static u32 fill_texel_g;
17 /*----------------------------------------------------------------------------*/
18 static void *instance_g;
19 static struct surf_t surf_g;
20 /*============================================================================*/
21 /* tmp storage */
22 static struct tmp_phydev_t tmp_phydevs_g[tmp_phydevs_n_max];
23 static u32 tmp_phydevs_n_g;
24 static struct vk_surf_caps_t tmp_surf_caps_g;
25 static u32 tmp_present_modes_g[tmp_present_modes_n_max];
26 static u32 tmp_present_modes_n_g;
27 static struct vk_mem_rqmts_t tmp_mem_rqmts_g[swpchn_imgs_n_max];
28 #define CLEANUP
29 #include "namespace/app_state_types.h"
30 #include "namespace/app_state.c"
31 #undef CLEANUP
32 #endif /* APP_STATE_C */