vkQuake2 doxygen  1.0 dev
vk_shaders.c
Go to the documentation of this file.
1 /*
2 Copyright (C) 2018-2019 Krzysztof Kondrak
3 
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13 See the GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 
19 */
20 
21 #include "vk_shaders.h"
22 
23 // ingame shaders stored as uint32_t arrays (autogenerated by glslangValidator)
24 #include "spirv/basic_vert.c"
25 #include "spirv/basic_frag.c"
28 #include "spirv/model_vert.c"
29 #include "spirv/model_frag.c"
30 #include "spirv/nullmodel_vert.c"
31 #include "spirv/particle_vert.c"
34 #include "spirv/sprite_vert.c"
35 #include "spirv/beam_vert.c"
36 #include "spirv/skybox_vert.c"
37 #include "spirv/d_light_vert.c"
38 #include "spirv/polygon_vert.c"
42 #include "spirv/shadows_vert.c"
43 #include "spirv/postprocess_vert.c"
44 #include "spirv/postprocess_frag.c"
45 #include "spirv/world_warp_vert.c"
46 #include "spirv/world_warp_frag.c"
47 
48 const size_t basic_vert_size = sizeof(basic_vert_spv);
49 const size_t basic_frag_size = sizeof(basic_frag_spv);
50 
53 
54 const size_t model_vert_size = sizeof(model_vert_spv);
55 const size_t model_frag_size = sizeof(model_frag_spv);
56 
57 const size_t nullmodel_vert_size = sizeof(nullmodel_vert_spv);
58 
59 const size_t particle_vert_size = sizeof(particle_vert_spv);
60 
63 
64 const size_t sprite_vert_size = sizeof(sprite_vert_spv);
65 
66 const size_t beam_vert_size = sizeof(beam_vert_spv);
67 
68 const size_t skybox_vert_size = sizeof(skybox_vert_spv);
69 
70 const size_t d_light_vert_size = sizeof(d_light_vert_spv);
71 
72 const size_t polygon_vert_size = sizeof(polygon_vert_spv);
73 
76 
78 
79 const size_t shadows_vert_size = sizeof(shadows_vert_spv);
80 
83 
point_particle_frag.c
particle_vert.c
postprocess_vert_spv
const uint32_t postprocess_vert_spv[]
Definition: postprocess_vert.c:3
sprite_vert_size
const size_t sprite_vert_size
Definition: vk_shaders.c:64
basic_vert_size
const size_t basic_vert_size
Definition: vk_shaders.c:48
beam_vert_spv
const uint32_t beam_vert_spv[]
Definition: beam_vert.c:3
polygon_warp_vert_size
const size_t polygon_warp_vert_size
Definition: vk_shaders.c:77
basic_frag.c
basic_color_quad_vert.c
basic_color_quad_frag.c
model_vert.c
shadows_vert.c
polygon_vert_spv
const uint32_t polygon_vert_spv[]
Definition: polygon_vert.c:3
skybox_vert.c
basic_vert.c
polygon_lmap_vert.c
model_frag_spv
const uint32_t model_frag_spv[]
Definition: model_frag.c:3
skybox_vert_spv
const uint32_t skybox_vert_spv[]
Definition: skybox_vert.c:3
polygon_warp_vert.c
shadows_vert_size
const size_t shadows_vert_size
Definition: vk_shaders.c:79
point_particle_vert.c
beam_vert.c
sprite_vert.c
basic_frag_size
const size_t basic_frag_size
Definition: vk_shaders.c:49
particle_vert_spv
const uint32_t particle_vert_spv[]
Definition: particle_vert.c:3
d_light_vert_size
const size_t d_light_vert_size
Definition: vk_shaders.c:70
postprocess_frag_spv
const uint32_t postprocess_frag_spv[]
Definition: postprocess_frag.c:3
vk_shaders.h
postprocess_vert.c
basic_color_quad_frag_spv
const uint32_t basic_color_quad_frag_spv[]
Definition: basic_color_quad_frag.c:3
point_particle_frag_spv
const uint32_t point_particle_frag_spv[]
Definition: point_particle_frag.c:3
shadows_vert_spv
const uint32_t shadows_vert_spv[]
Definition: shadows_vert.c:3
world_warp_vert_size
const size_t world_warp_vert_size
Definition: vk_shaders.c:84
polygon_lmap_frag_spv
const uint32_t polygon_lmap_frag_spv[]
Definition: polygon_lmap_frag.c:3
point_particle_vert_spv
const uint32_t point_particle_vert_spv[]
Definition: point_particle_vert.c:3
world_warp_frag_spv
const uint32_t world_warp_frag_spv[]
Definition: world_warp_frag.c:3
polygon_lmap_vert_spv
const uint32_t polygon_lmap_vert_spv[]
Definition: polygon_lmap_vert.c:3
nullmodel_vert_spv
const uint32_t nullmodel_vert_spv[]
Definition: nullmodel_vert.c:3
polygon_lmap_frag_size
const size_t polygon_lmap_frag_size
Definition: vk_shaders.c:75
model_vert_size
const size_t model_vert_size
Definition: vk_shaders.c:54
nullmodel_vert_size
const size_t nullmodel_vert_size
Definition: vk_shaders.c:57
basic_color_quad_vert_spv
const uint32_t basic_color_quad_vert_spv[]
Definition: basic_color_quad_vert.c:3
particle_vert_size
const size_t particle_vert_size
Definition: vk_shaders.c:59
model_frag_size
const size_t model_frag_size
Definition: vk_shaders.c:55
beam_vert_size
const size_t beam_vert_size
Definition: vk_shaders.c:66
nullmodel_vert.c
world_warp_vert_spv
const uint32_t world_warp_vert_spv[]
Definition: world_warp_vert.c:3
d_light_vert_spv
const uint32_t d_light_vert_spv[]
Definition: d_light_vert.c:3
postprocess_frag.c
polygon_vert.c
skybox_vert_size
const size_t skybox_vert_size
Definition: vk_shaders.c:68
sprite_vert_spv
const uint32_t sprite_vert_spv[]
Definition: sprite_vert.c:3
basic_frag_spv
const uint32_t basic_frag_spv[]
Definition: basic_frag.c:3
world_warp_vert.c
world_warp_frag_size
const size_t world_warp_frag_size
Definition: vk_shaders.c:85
d_light_vert.c
postprocess_frag_size
const size_t postprocess_frag_size
Definition: vk_shaders.c:82
basic_color_quad_frag_size
const size_t basic_color_quad_frag_size
Definition: vk_shaders.c:52
polygon_vert_size
const size_t polygon_vert_size
Definition: vk_shaders.c:72
basic_color_quad_vert_size
const size_t basic_color_quad_vert_size
Definition: vk_shaders.c:51
model_vert_spv
const uint32_t model_vert_spv[]
Definition: model_vert.c:3
point_particle_vert_size
const size_t point_particle_vert_size
Definition: vk_shaders.c:61
point_particle_frag_size
const size_t point_particle_frag_size
Definition: vk_shaders.c:62
basic_vert_spv
const uint32_t basic_vert_spv[]
Definition: basic_vert.c:3
world_warp_frag.c
model_frag.c
polygon_lmap_vert_size
const size_t polygon_lmap_vert_size
Definition: vk_shaders.c:74
polygon_lmap_frag.c
postprocess_vert_size
const size_t postprocess_vert_size
Definition: vk_shaders.c:81
polygon_warp_vert_spv
const uint32_t polygon_warp_vert_spv[]
Definition: polygon_warp_vert.c:3