2021-01-15 13:50:04 +00:00
|
|
|
include libs/video/renderer/vulkan/test/Makemodule.am
|
2020-06-28 10:08:18 +00:00
|
|
|
include libs/video/renderer/vulkan/vkgen/Makemodule.am
|
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
#lib_LTLIBRARIES += @VID_REND_TARGETS@
|
|
|
|
plugin_LTLIBRARIES += @vid_render_plugins@
|
2021-03-03 04:04:26 +00:00
|
|
|
noinst_LTLIBRARIES += \
|
|
|
|
libs/video/renderer/libQFrenderer.la \
|
|
|
|
@render_libs@ \
|
|
|
|
@vid_render_static_plugins@
|
2020-06-21 14:15:17 +00:00
|
|
|
|
2021-03-03 04:04:26 +00:00
|
|
|
#plugins
|
2020-06-25 05:03:52 +00:00
|
|
|
EXTRA_LTLIBRARIES += \
|
|
|
|
libs/video/renderer/vid_render_sw.la \
|
|
|
|
libs/video/renderer/vid_render_gl.la \
|
|
|
|
libs/video/renderer/vid_render_glsl.la \
|
|
|
|
libs/video/renderer/vid_render_vulkan.la
|
2020-06-21 14:15:17 +00:00
|
|
|
|
2021-03-03 04:04:26 +00:00
|
|
|
#helper libraries
|
|
|
|
EXTRA_LTLIBRARIES += \
|
|
|
|
libs/video/renderer/librender_sw.la \
|
|
|
|
libs/video/renderer/librender_gl.la \
|
|
|
|
libs/video/renderer/librender_glsl.la \
|
|
|
|
libs/video/renderer/librender_vulkan.la
|
|
|
|
|
2020-06-25 05:03:52 +00:00
|
|
|
video_renderer_common_sources = \
|
|
|
|
libs/video/renderer/crosshair.c \
|
2021-01-08 05:37:52 +00:00
|
|
|
libs/video/renderer/font8x8.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/noisetextures.c \
|
|
|
|
libs/video/renderer/r_alias.c \
|
2021-12-10 05:34:04 +00:00
|
|
|
libs/video/renderer/r_billboard.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/r_dyn_textures.c \
|
|
|
|
libs/video/renderer/r_ent.c \
|
|
|
|
libs/video/renderer/r_iqm.c \
|
2021-12-14 16:18:02 +00:00
|
|
|
libs/video/renderer/r_sprite.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/vid_common.c
|
2020-06-21 14:15:17 +00:00
|
|
|
|
|
|
|
renderer_libs= \
|
|
|
|
@vid_render_static_plugin_libs@ \
|
2022-09-13 08:38:58 +00:00
|
|
|
libs/util/libQFutil.la
|
|
|
|
|
|
|
|
renderer_libadd= \
|
2022-09-04 11:56:38 +00:00
|
|
|
$(FREETYPE_LIBS) \
|
|
|
|
$(HARFBUZZ_LIBS)
|
2020-06-21 14:15:17 +00:00
|
|
|
|
|
|
|
libs_video_renderer_libQFrenderer_la_LDFLAGS= @STATIC@
|
2022-09-22 06:05:49 +00:00
|
|
|
libs_video_renderer_libQFrenderer_la_LIBADD=\
|
|
|
|
$(renderer_libs) \
|
|
|
|
$(renderer_libadd)
|
2020-06-21 14:15:17 +00:00
|
|
|
libs_video_renderer_libQFrenderer_la_DEPENDENCIES= $(renderer_libs)
|
|
|
|
libs_video_renderer_libQFrenderer_la_SOURCES=\
|
2022-03-17 08:50:38 +00:00
|
|
|
libs/video/renderer/r_bsp.c \
|
2021-01-12 07:14:46 +00:00
|
|
|
libs/video/renderer/r_cvar.c \
|
2022-09-15 05:24:33 +00:00
|
|
|
libs/video/renderer/r_draw.c \
|
2022-03-07 17:10:47 +00:00
|
|
|
libs/video/renderer/r_fog.c \
|
2022-03-17 01:51:29 +00:00
|
|
|
libs/video/renderer/r_graph.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/r_init.c \
|
2022-03-07 04:40:04 +00:00
|
|
|
libs/video/renderer/r_light.c \
|
|
|
|
libs/video/renderer/r_main.c \
|
2022-03-17 08:50:38 +00:00
|
|
|
libs/video/renderer/r_part.c \
|
2021-01-12 12:10:22 +00:00
|
|
|
libs/video/renderer/r_scrap.c \
|
2021-01-12 07:14:46 +00:00
|
|
|
libs/video/renderer/r_screen.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/r_progs.c
|
|
|
|
|
|
|
|
video_renderer_gl_libs= \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/librender_gl.la \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/models/libmodels_gl.la
|
|
|
|
libs_video_renderer_vid_render_gl_la_LDFLAGS= $(plugin_ldflags)
|
2022-09-22 06:05:49 +00:00
|
|
|
libs_video_renderer_vid_render_gl_la_LIBADD=\
|
|
|
|
$(video_renderer_gl_libs) \
|
|
|
|
$(renderer_libadd)
|
2020-06-21 14:15:17 +00:00
|
|
|
libs_video_renderer_vid_render_gl_la_DEPENDENCIES= $(video_renderer_gl_libs)
|
|
|
|
libs_video_renderer_vid_render_gl_la_SOURCES=\
|
|
|
|
$(video_renderer_common_sources) \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/vid_render_gl.c
|
|
|
|
|
|
|
|
libs_video_renderer_librender_gl_la_SOURCES = \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/gl/gl_draw.c \
|
|
|
|
libs/video/renderer/gl/gl_dyn_lights.c \
|
|
|
|
libs/video/renderer/gl/gl_dyn_part.c \
|
|
|
|
libs/video/renderer/gl/gl_dyn_textures.c \
|
2022-03-26 03:08:06 +00:00
|
|
|
libs/video/renderer/gl/gl_fisheye.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/gl/gl_fog.c \
|
|
|
|
libs/video/renderer/gl/gl_graph.c \
|
|
|
|
libs/video/renderer/gl/gl_lightmap.c \
|
|
|
|
libs/video/renderer/gl/gl_mod_alias.c \
|
|
|
|
libs/video/renderer/gl/gl_mod_iqm.c \
|
|
|
|
libs/video/renderer/gl/gl_mod_sprite.c \
|
|
|
|
libs/video/renderer/gl/gl_rmain.c \
|
|
|
|
libs/video/renderer/gl/gl_rmisc.c \
|
|
|
|
libs/video/renderer/gl/gl_rsurf.c \
|
|
|
|
libs/video/renderer/gl/gl_sky.c \
|
|
|
|
libs/video/renderer/gl/gl_sky_clip.c \
|
|
|
|
libs/video/renderer/gl/gl_textures.c \
|
|
|
|
libs/video/renderer/gl/gl_warp.c \
|
|
|
|
libs/video/renderer/gl/qfgl_ext.c \
|
|
|
|
libs/video/renderer/gl/vid_common_gl.c \
|
|
|
|
libs/video/renderer/gl/vtxarray.c
|
|
|
|
|
|
|
|
shader_src= libs/video/renderer/glsl/quakeforge.glsl
|
|
|
|
shader_gen= libs/video/renderer/glsl/quakeforge.slc
|
|
|
|
|
2022-05-04 05:07:27 +00:00
|
|
|
SUFFIXES += .frag .vert .spv .spvc .fc .vc .slc .glsl
|
2020-06-21 14:15:17 +00:00
|
|
|
.glsl.slc:
|
2020-07-16 16:20:02 +00:00
|
|
|
$(V_SED)sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@.t &&\
|
|
|
|
$(am__mv) $@.t $@
|
2020-06-21 14:15:17 +00:00
|
|
|
|
|
|
|
video_renderer_glsl_libs= \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/librender_glsl.la \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/models/libmodels_glsl.la
|
|
|
|
libs_video_renderer_vid_render_glsl_la_LDFLAGS= $(plugin_ldflags)
|
2022-09-22 06:05:49 +00:00
|
|
|
libs_video_renderer_vid_render_glsl_la_LIBADD=\
|
|
|
|
$(video_renderer_glsl_libs) \
|
|
|
|
$(renderer_libadd)
|
2020-06-21 14:15:17 +00:00
|
|
|
libs_video_renderer_vid_render_glsl_la_DEPENDENCIES=$(video_renderer_glsl_libs)
|
|
|
|
libs_video_renderer_vid_render_glsl_la_SOURCES=\
|
|
|
|
$(video_renderer_common_sources) \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/vid_render_glsl.c
|
|
|
|
|
|
|
|
libs_video_renderer_librender_glsl_la_SOURCES = \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/glsl/glsl_alias.c \
|
|
|
|
libs/video/renderer/glsl/glsl_bsp.c \
|
|
|
|
libs/video/renderer/glsl/glsl_draw.c \
|
2022-03-25 03:22:16 +00:00
|
|
|
libs/video/renderer/glsl/glsl_fisheye.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/glsl/glsl_iqm.c \
|
|
|
|
libs/video/renderer/glsl/glsl_lightmap.c \
|
|
|
|
libs/video/renderer/glsl/glsl_main.c \
|
|
|
|
libs/video/renderer/glsl/glsl_particles.c \
|
|
|
|
libs/video/renderer/glsl/glsl_shader.c \
|
|
|
|
libs/video/renderer/glsl/glsl_sprite.c \
|
|
|
|
libs/video/renderer/glsl/glsl_textures.c \
|
2022-03-24 16:24:38 +00:00
|
|
|
libs/video/renderer/glsl/glsl_warp.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/glsl/qfglsl.c \
|
|
|
|
libs/video/renderer/glsl/quakeforge.glsl \
|
|
|
|
libs/video/renderer/glsl/vid_common_glsl.c
|
|
|
|
|
|
|
|
video_renderer_sw_libs= \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/librender_sw.la \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/models/libmodels_sw.la
|
|
|
|
libs_video_renderer_vid_render_sw_la_LDFLAGS= $(plugin_ldflags)
|
2022-09-22 06:05:49 +00:00
|
|
|
libs_video_renderer_vid_render_sw_la_LIBADD=\
|
|
|
|
$(video_renderer_sw_libs) \
|
|
|
|
$(renderer_libadd)
|
2020-06-21 14:15:17 +00:00
|
|
|
libs_video_renderer_vid_render_sw_la_DEPENDENCIES= $(video_renderer_sw_libs)
|
|
|
|
libs_video_renderer_vid_render_sw_la_SOURCES=\
|
|
|
|
$(video_renderer_common_sources) \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/vid_render_sw.c
|
|
|
|
|
|
|
|
libs_video_renderer_librender_sw_la_SOURCES = \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/sw/d_copy.S \
|
|
|
|
libs/video/renderer/sw/d_draw.S \
|
|
|
|
libs/video/renderer/sw/d_edge.c \
|
|
|
|
libs/video/renderer/sw/d_init.c \
|
|
|
|
libs/video/renderer/sw/d_modech.c \
|
|
|
|
libs/video/renderer/sw/d_part.c \
|
|
|
|
libs/video/renderer/sw/d_parta.S \
|
|
|
|
libs/video/renderer/sw/d_polysa.S \
|
|
|
|
libs/video/renderer/sw/d_polyse.c \
|
|
|
|
libs/video/renderer/sw/d_scan.c \
|
|
|
|
libs/video/renderer/sw/d_scana.S \
|
|
|
|
libs/video/renderer/sw/d_sky.c \
|
|
|
|
libs/video/renderer/sw/d_spr8.S \
|
|
|
|
libs/video/renderer/sw/d_sprite.c \
|
|
|
|
libs/video/renderer/sw/d_surf.c \
|
|
|
|
libs/video/renderer/sw/d_vars.c \
|
|
|
|
libs/video/renderer/sw/d_varsa.S \
|
|
|
|
libs/video/renderer/sw/d_zpoint.c \
|
|
|
|
libs/video/renderer/sw/draw.c \
|
|
|
|
libs/video/renderer/sw/fpu.c \
|
|
|
|
libs/video/renderer/sw/fpua.S \
|
|
|
|
libs/video/renderer/sw/nonintel.c \
|
|
|
|
libs/video/renderer/sw/surf8.S \
|
2022-03-24 06:45:01 +00:00
|
|
|
libs/video/renderer/sw/sw_fisheye.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
libs/video/renderer/sw/sw_graph.c \
|
|
|
|
libs/video/renderer/sw/sw_raclip.c \
|
|
|
|
libs/video/renderer/sw/sw_raclipa.S \
|
|
|
|
libs/video/renderer/sw/sw_ralias.c \
|
|
|
|
libs/video/renderer/sw/sw_raliasa.S \
|
|
|
|
libs/video/renderer/sw/sw_rbsp.c \
|
|
|
|
libs/video/renderer/sw/sw_rdraw.c \
|
|
|
|
libs/video/renderer/sw/sw_rdrawa.S \
|
|
|
|
libs/video/renderer/sw/sw_redge.c \
|
|
|
|
libs/video/renderer/sw/sw_redgea.S \
|
|
|
|
libs/video/renderer/sw/sw_riqm.c \
|
|
|
|
libs/video/renderer/sw/sw_rmain.c \
|
|
|
|
libs/video/renderer/sw/sw_rmisc.c \
|
|
|
|
libs/video/renderer/sw/sw_rpart.c \
|
|
|
|
libs/video/renderer/sw/sw_rsky.c \
|
|
|
|
libs/video/renderer/sw/sw_rsprite.c \
|
|
|
|
libs/video/renderer/sw/sw_rsurf.c \
|
|
|
|
libs/video/renderer/sw/sw_rvarsa.S \
|
|
|
|
libs/video/renderer/sw/transform.S \
|
|
|
|
libs/video/renderer/sw/vid_common_sw.c
|
|
|
|
|
2022-11-21 08:41:39 +00:00
|
|
|
pl_quake_def_src = libs/video/renderer/vulkan/pl_quake_def.plist
|
|
|
|
pl_quake_def_gen = libs/video/renderer/vulkan/pl_quake_def.plc
|
2022-11-22 08:47:36 +00:00
|
|
|
pl_output_src = libs/video/renderer/vulkan/pl_output.plist
|
|
|
|
pl_output_gen = libs/video/renderer/vulkan/pl_output.plc
|
2023-01-23 02:14:06 +00:00
|
|
|
rp_defcube_src = libs/video/renderer/vulkan/rp_defcube.plist
|
|
|
|
rp_defcube_gen = libs/video/renderer/vulkan/rp_defcube.plc
|
2022-11-21 04:11:50 +00:00
|
|
|
rp_deferred_src = libs/video/renderer/vulkan/rp_deferred.plist
|
|
|
|
rp_deferred_gen = libs/video/renderer/vulkan/rp_deferred.plc
|
|
|
|
rp_forward_src = libs/video/renderer/vulkan/rp_forward.plist
|
|
|
|
rp_forward_gen = libs/video/renderer/vulkan/rp_forward.plc
|
2023-02-10 02:04:11 +00:00
|
|
|
rp_main_def_src = libs/video/renderer/vulkan/rp_main_def.plist
|
|
|
|
rp_main_def_gen = libs/video/renderer/vulkan/rp_main_def.plc
|
2022-11-22 08:47:36 +00:00
|
|
|
rp_output_src = libs/video/renderer/vulkan/rp_output.plist
|
|
|
|
rp_output_gen = libs/video/renderer/vulkan/rp_output.plc
|
2022-11-22 04:29:11 +00:00
|
|
|
rp_shadow_src = libs/video/renderer/vulkan/rp_shadow.plist
|
|
|
|
rp_shadow_gen = libs/video/renderer/vulkan/rp_shadow.plc
|
2020-07-16 06:42:49 +00:00
|
|
|
|
2021-01-19 04:53:08 +00:00
|
|
|
video_renderer_vulkan_libs = \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/librender_vulkan.la \
|
2021-01-19 04:53:08 +00:00
|
|
|
libs/models/libmodels_vulkan.la
|
2020-06-25 05:03:52 +00:00
|
|
|
libs_video_renderer_vid_render_vulkan_la_LDFLAGS= $(plugin_ldflags)
|
2022-09-22 06:05:49 +00:00
|
|
|
libs_video_renderer_vid_render_vulkan_la_LIBADD=\
|
|
|
|
$(video_renderer_vulkan_libs) \
|
|
|
|
$(renderer_libadd)
|
2021-01-19 04:53:08 +00:00
|
|
|
libs_video_renderer_vid_render_vulkan_la_DEPENDENCIES=$(video_renderer_vulkan_libs)
|
2020-06-25 05:03:52 +00:00
|
|
|
libs_video_renderer_vid_render_vulkan_la_SOURCES = \
|
2021-01-10 06:52:27 +00:00
|
|
|
$(video_renderer_common_sources) \
|
2021-03-03 04:04:26 +00:00
|
|
|
libs/video/renderer/vid_render_vulkan.c
|
|
|
|
|
|
|
|
libs_video_renderer_librender_vulkan_la_SOURCES = \
|
2021-01-10 16:24:15 +00:00
|
|
|
libs/video/renderer/vulkan/barrier.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/vulkan/buffer.c \
|
|
|
|
libs/video/renderer/vulkan/command.c \
|
2021-03-24 10:20:53 +00:00
|
|
|
libs/video/renderer/vulkan/capture.c \
|
2022-05-07 03:38:31 +00:00
|
|
|
libs/video/renderer/vulkan/debug.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/vulkan/descriptor.c \
|
|
|
|
libs/video/renderer/vulkan/device.c \
|
|
|
|
libs/video/renderer/vulkan/image.c \
|
|
|
|
libs/video/renderer/vulkan/instance.c \
|
|
|
|
libs/video/renderer/vulkan/memory.c \
|
|
|
|
libs/video/renderer/vulkan/pipeline.c \
|
2021-04-25 06:47:50 +00:00
|
|
|
libs/video/renderer/vulkan/projection.c \
|
2023-02-09 05:52:43 +00:00
|
|
|
libs/video/renderer/vulkan/render.c \
|
2022-05-04 04:59:38 +00:00
|
|
|
libs/video/renderer/vulkan/resource.c \
|
2021-01-21 07:39:11 +00:00
|
|
|
libs/video/renderer/vulkan/scrap.c \
|
2020-12-23 05:32:29 +00:00
|
|
|
libs/video/renderer/vulkan/shader.c \
|
2021-01-10 16:24:15 +00:00
|
|
|
libs/video/renderer/vulkan/staging.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/vulkan/swapchain.c \
|
|
|
|
libs/video/renderer/vulkan/util.c \
|
|
|
|
libs/video/renderer/vulkan/util.h \
|
2020-07-16 06:42:49 +00:00
|
|
|
libs/video/renderer/vulkan/vkparse.c \
|
2021-01-26 11:58:24 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_alias.c \
|
2021-01-19 16:25:54 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_bsp.c \
|
2021-02-24 10:58:31 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_compose.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_draw.c \
|
2022-05-04 05:07:27 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_iqm.c \
|
2021-02-24 10:58:31 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_lighting.c \
|
2021-01-19 16:25:54 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_main.c \
|
2021-01-12 02:26:20 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_matrices.c \
|
2022-11-22 08:47:36 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_output.c \
|
2022-11-15 00:26:17 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_palette.c \
|
2021-01-18 03:46:06 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_particles.c \
|
2022-05-30 03:10:00 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_renderpass.c \
|
2022-05-24 15:17:57 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_scene.c \
|
2021-12-14 16:22:05 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_sprite.c \
|
2021-01-17 17:10:56 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_texture.c \
|
2022-11-30 18:00:47 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_translucent.c \
|
2020-06-25 05:03:52 +00:00
|
|
|
libs/video/renderer/vulkan/vulkan_vid_common.c
|
|
|
|
|
2022-11-24 14:44:07 +00:00
|
|
|
libs/video/renderer/vulkan/vkparse.lo: \
|
|
|
|
libs/video/renderer/vulkan/vkparse.c \
|
2022-05-29 12:53:38 +00:00
|
|
|
$(vkparse_src) \
|
2022-11-21 08:41:39 +00:00
|
|
|
$(pl_quake_def_gen) \
|
2022-11-22 08:47:36 +00:00
|
|
|
$(pl_output_gen) \
|
2023-01-23 02:14:06 +00:00
|
|
|
${rp_defcube_gen} \
|
2022-11-21 04:11:50 +00:00
|
|
|
${rp_deferred_gen} \
|
2022-11-22 04:29:11 +00:00
|
|
|
$(rp_forward_gen) \
|
2023-02-10 02:04:11 +00:00
|
|
|
$(rp_main_def_gen) \
|
2022-11-22 08:47:36 +00:00
|
|
|
$(rp_output_gen) \
|
2022-11-22 04:29:11 +00:00
|
|
|
${rp_shadow_gen}
|
2020-07-16 06:42:49 +00:00
|
|
|
|
2022-11-24 14:44:07 +00:00
|
|
|
libs/video/renderer/vulkan/shader.lo: \
|
|
|
|
libs/video/renderer/vulkan/shader.c \
|
|
|
|
$(vkshader_c)
|
|
|
|
|
2020-07-03 16:40:02 +00:00
|
|
|
|
2021-07-06 02:55:29 +00:00
|
|
|
qwaq_cmd = $(top_builddir)/ruamoko/qwaq/qwaq-cmd$(EXEEXT)
|
2021-03-29 08:35:30 +00:00
|
|
|
vkparse_cinc = $(top_builddir)/libs/video/renderer/vulkan/vkparse.cinc
|
|
|
|
vkparse_hinc = $(top_builddir)/libs/video/renderer/vulkan/vkparse.hinc
|
2020-07-03 16:40:02 +00:00
|
|
|
vkparse_src = \
|
2020-12-23 05:32:29 +00:00
|
|
|
$(vkparse_cinc) \
|
|
|
|
$(vkparse_hinc)
|
2020-07-05 05:59:56 +00:00
|
|
|
vkparse_plist = \
|
|
|
|
$(srcdir)/libs/video/renderer/vulkan/vkparse.plist
|
2020-07-03 16:40:02 +00:00
|
|
|
|
2021-02-10 08:43:11 +00:00
|
|
|
vkshaderpath = libs/video/renderer/vulkan/shader
|
|
|
|
|
2022-11-18 00:44:01 +00:00
|
|
|
slice_src = $(vkshaderpath)/slice.vert
|
|
|
|
slice_c = $(vkshaderpath)/slice.vert.spvc
|
2022-10-03 01:29:49 +00:00
|
|
|
linev_src = $(vkshaderpath)/line.vert
|
|
|
|
linev_c = $(vkshaderpath)/line.vert.spvc
|
|
|
|
linef_src = $(vkshaderpath)/line.frag
|
|
|
|
linef_c = $(vkshaderpath)/line.frag.spvc
|
2021-12-16 14:17:01 +00:00
|
|
|
partphysicsc_src = $(vkshaderpath)/partphysics.comp
|
|
|
|
partphysicsc_c = $(vkshaderpath)/partphysics.comp.spvc
|
|
|
|
partupdatec_src = $(vkshaderpath)/partupdate.comp
|
|
|
|
partupdatec_c = $(vkshaderpath)/partupdate.comp.spvc
|
|
|
|
particlev_src = $(vkshaderpath)/particle.vert
|
|
|
|
particlev_c = $(vkshaderpath)/particle.vert.spvc
|
|
|
|
particleg_src = $(vkshaderpath)/particle.geom
|
|
|
|
particleg_c = $(vkshaderpath)/particle.geom.spvc
|
|
|
|
particlef_src = $(vkshaderpath)/particle.frag
|
|
|
|
particlef_c = $(vkshaderpath)/particle.frag.spvc
|
2021-12-14 05:44:16 +00:00
|
|
|
sprite_gbufv_src = $(vkshaderpath)/sprite_gbuf.vert
|
|
|
|
sprite_gbufv_c = $(vkshaderpath)/sprite_gbuf.vert.spvc
|
|
|
|
sprite_gbuff_src = $(vkshaderpath)/sprite_gbuf.frag
|
|
|
|
sprite_gbuff_c = $(vkshaderpath)/sprite_gbuf.frag.spvc
|
|
|
|
sprite_depthv_src = $(vkshaderpath)/sprite_depth.vert
|
|
|
|
sprite_depthv_c = $(vkshaderpath)/sprite_depth.vert.spvc
|
|
|
|
sprite_depthf_src = $(vkshaderpath)/sprite_depth.frag
|
|
|
|
sprite_depthf_c = $(vkshaderpath)/sprite_depth.frag.spvc
|
2022-11-20 17:29:03 +00:00
|
|
|
twod_depthf_src = $(vkshaderpath)/twod_depth.frag
|
|
|
|
twod_depthf_c = $(vkshaderpath)/twod_depth.frag.spvc
|
2021-02-10 08:43:11 +00:00
|
|
|
twodv_src = $(vkshaderpath)/twod.vert
|
|
|
|
twodv_c = $(vkshaderpath)/twod.vert.spvc
|
|
|
|
twodf_src = $(vkshaderpath)/twod.frag
|
|
|
|
twodf_c = $(vkshaderpath)/twod.frag.spvc
|
|
|
|
quakebspv_src = $(vkshaderpath)/quakebsp.vert
|
|
|
|
quakebspv_c = $(vkshaderpath)/quakebsp.vert.spvc
|
|
|
|
quakebspf_src = $(vkshaderpath)/quakebsp.frag
|
|
|
|
quakebspf_c = $(vkshaderpath)/quakebsp.frag.spvc
|
2021-02-19 02:14:54 +00:00
|
|
|
|
|
|
|
bsp_depth_src = $(vkshaderpath)/bsp_depth.vert
|
|
|
|
bsp_depth_c = $(vkshaderpath)/bsp_depth.vert.spvc
|
|
|
|
bsp_gbufv_src = $(vkshaderpath)/bsp_gbuf.vert
|
|
|
|
bsp_gbufv_c = $(vkshaderpath)/bsp_gbuf.vert.spvc
|
|
|
|
bsp_gbufg_src = $(vkshaderpath)/bsp_gbuf.geom
|
|
|
|
bsp_gbufg_c = $(vkshaderpath)/bsp_gbuf.geom.spvc
|
|
|
|
bsp_gbuff_src = $(vkshaderpath)/bsp_gbuf.frag
|
|
|
|
bsp_gbuff_c = $(vkshaderpath)/bsp_gbuf.frag.spvc
|
2021-04-24 01:40:39 +00:00
|
|
|
bsp_shadow_src = $(vkshaderpath)/bsp_shadow.vert
|
|
|
|
bsp_shadow_c = $(vkshaderpath)/bsp_shadow.vert.spvc
|
2021-02-23 06:43:02 +00:00
|
|
|
bsp_skyf_src = $(vkshaderpath)/bsp_sky.frag
|
|
|
|
bsp_skyf_c = $(vkshaderpath)/bsp_sky.frag.spvc
|
2021-03-23 03:24:24 +00:00
|
|
|
bsp_turbf_src = $(vkshaderpath)/bsp_turb.frag
|
|
|
|
bsp_turbf_c = $(vkshaderpath)/bsp_turb.frag.spvc
|
2021-02-24 10:58:31 +00:00
|
|
|
lightingf_src = $(vkshaderpath)/lighting.frag
|
|
|
|
lightingf_c = $(vkshaderpath)/lighting.frag.spvc
|
|
|
|
composef_src = $(vkshaderpath)/compose.frag
|
|
|
|
composef_c = $(vkshaderpath)/compose.frag.spvc
|
2022-12-01 14:03:55 +00:00
|
|
|
oit_blend = $(vkshaderpath)/oit_blend.finc
|
2022-11-30 18:00:47 +00:00
|
|
|
oit_store = $(vkshaderpath)/oit_store.finc
|
|
|
|
oit_h = $(vkshaderpath)/oit.h
|
2022-12-02 08:10:04 +00:00
|
|
|
matrices_h = $(vkshaderpath)/matrices.h
|
|
|
|
entity_h = $(vkshaderpath)/entity.h
|
2021-02-10 08:43:11 +00:00
|
|
|
aliasv_src = $(vkshaderpath)/alias.vert
|
|
|
|
aliasv_c = $(vkshaderpath)/alias.vert.spvc
|
|
|
|
aliasf_src = $(vkshaderpath)/alias.frag
|
|
|
|
aliasf_c = $(vkshaderpath)/alias.frag.spvc
|
2021-02-17 04:35:19 +00:00
|
|
|
alias_depth_src = $(vkshaderpath)/alias_depth.vert
|
|
|
|
alias_depth_c = $(vkshaderpath)/alias_depth.vert.spvc
|
|
|
|
alias_gbuf_src = $(vkshaderpath)/alias_gbuf.frag
|
|
|
|
alias_gbuf_c = $(vkshaderpath)/alias_gbuf.frag.spvc
|
2021-04-24 01:40:39 +00:00
|
|
|
alias_shadow_src = $(vkshaderpath)/alias_shadow.vert
|
|
|
|
alias_shadow_c = $(vkshaderpath)/alias_shadow.vert.spvc
|
2022-05-04 05:07:27 +00:00
|
|
|
iqmv_src = $(vkshaderpath)/iqm.vert
|
|
|
|
iqmv_c = $(vkshaderpath)/iqm.vert.spvc
|
|
|
|
iqmf_src = $(vkshaderpath)/iqm.frag
|
|
|
|
iqmf_c = $(vkshaderpath)/iqm.frag.spvc
|
2022-11-22 08:47:36 +00:00
|
|
|
output_src = $(vkshaderpath)/output.frag
|
|
|
|
output_c = $(vkshaderpath)/output.frag.spvc
|
2021-02-10 08:43:11 +00:00
|
|
|
passthrough_src = $(vkshaderpath)/passthrough.vert
|
|
|
|
passthrough_c = $(vkshaderpath)/passthrough.vert.spvc
|
2022-04-01 10:50:41 +00:00
|
|
|
fstriangle_src = $(vkshaderpath)/fstriangle.vert
|
|
|
|
fstriangle_c = $(vkshaderpath)/fstriangle.vert.spvc
|
2022-11-27 03:48:51 +00:00
|
|
|
fstrianglest_src = $(vkshaderpath)/fstrianglest.vert
|
|
|
|
fstrianglest_c = $(vkshaderpath)/fstrianglest.vert.spvc
|
2021-02-10 08:43:11 +00:00
|
|
|
pushcolor_src = $(vkshaderpath)/pushcolor.frag
|
|
|
|
pushcolor_c = $(vkshaderpath)/pushcolor.frag.spvc
|
2023-01-23 02:14:06 +00:00
|
|
|
fisheye_src = $(vkshaderpath)/fisheye.frag
|
|
|
|
fisheye_c = $(vkshaderpath)/fisheye.frag.spvc
|
2022-11-27 03:48:51 +00:00
|
|
|
waterwarp_src = $(vkshaderpath)/waterwarp.frag
|
|
|
|
waterwarp_c = $(vkshaderpath)/waterwarp.frag.spvc
|
2020-12-23 05:32:29 +00:00
|
|
|
|
2023-01-22 08:30:25 +00:00
|
|
|
$(slice_c): $(slice_src) $(matrices_h)
|
2022-11-18 00:44:01 +00:00
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(linev_c): $(linev_src) $(matrices_h)
|
2022-10-03 01:29:49 +00:00
|
|
|
$(linef_c): $(linef_src)
|
|
|
|
|
2021-12-16 14:17:01 +00:00
|
|
|
$(partphysicsc_c): $(partphysicsc_src)
|
|
|
|
$(partupdatec_c): $(partupdatec_src)
|
2022-12-02 08:10:04 +00:00
|
|
|
$(particlev_c): $(particlev_src) $(matrices_h)
|
2023-01-22 08:30:25 +00:00
|
|
|
$(particleg_c): $(particleg_src) $(matrices_h)
|
2022-11-30 18:00:47 +00:00
|
|
|
$(particlef_c): $(particlef_src) $(oit_store) $(oit_h)
|
2021-12-16 14:17:01 +00:00
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(sprite_gbufv_c): $(sprite_gbufv_src) $(matrices_h)
|
2021-12-14 05:44:16 +00:00
|
|
|
|
|
|
|
$(sprite_gbuff_c): $(sprite_gbuff_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(sprite_depthv_c): $(sprite_depthv_src) $(matrices_h)
|
2021-12-14 05:44:16 +00:00
|
|
|
|
|
|
|
$(sprite_depthf_c): $(sprite_depthf_src)
|
|
|
|
|
2022-11-20 17:29:03 +00:00
|
|
|
$(twod_depthf_c): $(twod_depthf_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(twodv_c): $(twodv_src) $(matrices_h)
|
2021-01-10 06:52:27 +00:00
|
|
|
|
|
|
|
$(twodf_c): $(twodf_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(quakebspv_c): $(quakebspv_src) $(entity_h) $(matrices_h)
|
2021-01-18 08:13:52 +00:00
|
|
|
|
|
|
|
$(quakebspf_c): $(quakebspf_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(bsp_depth_c): $(bsp_depth_src) $(entity_h) $(matrices_h)
|
2021-02-19 02:14:54 +00:00
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(bsp_gbufv_c): $(bsp_gbufv_src) $(entity_h) $(matrices_h)
|
2021-02-19 02:14:54 +00:00
|
|
|
|
2023-01-22 08:30:25 +00:00
|
|
|
$(bsp_gbufg_c): $(bsp_gbufg_src) $(matrices_h)
|
2021-02-19 02:14:54 +00:00
|
|
|
|
|
|
|
$(bsp_gbuff_c): $(bsp_gbuff_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(bsp_shadow_c): $(bsp_shadow_src) $(entity_h)
|
2021-04-24 01:40:39 +00:00
|
|
|
|
2022-11-30 18:00:47 +00:00
|
|
|
$(bsp_skyf_c): $(bsp_skyf_src) $(oit_store) $(oit_h)
|
2021-02-23 06:43:02 +00:00
|
|
|
|
2022-11-30 18:00:47 +00:00
|
|
|
$(bsp_turbf_c): $(bsp_turbf_src) $(oit_store) $(oit_h)
|
2021-03-23 03:24:24 +00:00
|
|
|
|
2021-02-24 10:58:31 +00:00
|
|
|
$(lightingf_c): $(lightingf_src)
|
|
|
|
|
2022-12-01 14:03:55 +00:00
|
|
|
$(composef_c): $(composef_src) $(oit_blend) $(oit_h)
|
2022-11-30 18:00:47 +00:00
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(aliasv_c): $(aliasv_src) $(matrices_h)
|
2021-01-25 15:55:45 +00:00
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(alias_depth_c): $(alias_depth_src) $(matrices_h)
|
2021-02-17 04:35:19 +00:00
|
|
|
|
2021-01-25 15:55:45 +00:00
|
|
|
$(aliasf_c): $(aliasf_src)
|
|
|
|
|
2021-02-17 04:35:19 +00:00
|
|
|
$(alias_gbuf_c): $(alias_gbuf_src)
|
|
|
|
|
2021-04-24 01:40:39 +00:00
|
|
|
$(alias_shadow_c): $(alias_shadow_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(iqmv_c): $(iqmv_src) $(matrices_h)
|
2022-05-04 05:07:27 +00:00
|
|
|
|
|
|
|
$(iqmf_c): $(iqmf_src)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(output_c): $(output_src) $(matrices_h)
|
2022-11-22 08:47:36 +00:00
|
|
|
|
2020-12-23 05:32:29 +00:00
|
|
|
$(passthrough_c): $(passthrough_src)
|
|
|
|
|
2022-04-01 10:50:41 +00:00
|
|
|
$(fstriangle_c): $(fstriangle_src)
|
|
|
|
|
2022-11-27 03:48:51 +00:00
|
|
|
$(fstrianglest_c): $(fstrianglest_src)
|
|
|
|
|
2020-12-23 05:32:29 +00:00
|
|
|
$(pushcolor_c): $(pushcolor_src)
|
|
|
|
|
2023-01-23 02:14:06 +00:00
|
|
|
$(fisheye_c): $(fisheye_src) $(matrices_h)
|
|
|
|
|
2022-12-02 08:10:04 +00:00
|
|
|
$(waterwarp_c): $(waterwarp_src) $(matrices_h)
|
2022-11-27 03:48:51 +00:00
|
|
|
|
2020-12-23 05:32:29 +00:00
|
|
|
vkshader_c = \
|
2022-11-18 00:44:01 +00:00
|
|
|
$(slice_c) \
|
2022-10-03 01:29:49 +00:00
|
|
|
$(linev_c) \
|
|
|
|
$(linef_c) \
|
2021-12-16 14:17:01 +00:00
|
|
|
$(partphysicsc_c) \
|
|
|
|
$(partupdatec_c) \
|
|
|
|
$(particlev_c) \
|
|
|
|
$(particleg_c) \
|
|
|
|
$(particlef_c) \
|
2021-12-14 05:44:16 +00:00
|
|
|
$(sprite_gbufv_c) \
|
|
|
|
$(sprite_gbuff_c) \
|
|
|
|
$(sprite_depthv_c) \
|
|
|
|
$(sprite_depthf_c) \
|
2022-11-25 02:12:05 +00:00
|
|
|
$(twodv_c) \
|
|
|
|
$(twodf_c) \
|
2022-11-20 17:29:03 +00:00
|
|
|
$(twod_depthf_c) \
|
2021-01-18 08:13:52 +00:00
|
|
|
$(quakebspv_c) \
|
|
|
|
$(quakebspf_c) \
|
2021-02-19 02:14:54 +00:00
|
|
|
$(bsp_depth_c) \
|
|
|
|
$(bsp_gbufv_c) \
|
|
|
|
$(bsp_gbufg_c) \
|
|
|
|
$(bsp_gbuff_c) \
|
2021-04-24 01:40:39 +00:00
|
|
|
$(bsp_shadow_c) \
|
2021-02-23 06:43:02 +00:00
|
|
|
$(bsp_skyf_c) \
|
2021-03-23 03:24:24 +00:00
|
|
|
$(bsp_turbf_c) \
|
2021-02-24 10:58:31 +00:00
|
|
|
$(lightingf_c) \
|
|
|
|
$(composef_c) \
|
2021-01-25 15:55:45 +00:00
|
|
|
$(aliasv_c) \
|
2021-02-17 04:35:19 +00:00
|
|
|
$(alias_depth_c) \
|
2021-01-25 15:55:45 +00:00
|
|
|
$(aliasf_c) \
|
2021-02-17 04:35:19 +00:00
|
|
|
$(alias_gbuf_c) \
|
2021-04-24 01:40:39 +00:00
|
|
|
$(alias_shadow_c) \
|
2022-05-04 05:07:27 +00:00
|
|
|
$(iqmv_c) \
|
|
|
|
$(iqmf_c) \
|
2022-11-22 08:47:36 +00:00
|
|
|
$(output_c) \
|
2020-12-23 05:32:29 +00:00
|
|
|
$(passthrough_c) \
|
2022-04-01 10:50:41 +00:00
|
|
|
$(fstriangle_c) \
|
2022-11-27 03:48:51 +00:00
|
|
|
$(fstrianglest_c) \
|
2021-04-24 01:40:39 +00:00
|
|
|
$(pushcolor_c) \
|
2022-11-27 03:48:51 +00:00
|
|
|
$(shadow_c) \
|
2023-01-23 02:14:06 +00:00
|
|
|
$(fisheye_c) \
|
2022-11-27 03:48:51 +00:00
|
|
|
$(waterwarp_c)
|
2020-12-23 05:32:29 +00:00
|
|
|
|
2020-07-03 16:40:02 +00:00
|
|
|
V_VKGEN = $(V_VKGEN_@AM_V@)
|
|
|
|
V_VKGEN_ = $(V_VKGEN_@AM_DEFAULT_V@)
|
|
|
|
V_VKGEN_0 = @echo " VKGEN " $@;
|
|
|
|
V_VKGEN_1 =
|
|
|
|
|
2021-07-06 02:55:29 +00:00
|
|
|
$(vkparse_cinc): $(vkgen) $(qwaq_cmd) $(vkparse_plist)
|
|
|
|
$(V_VKGEN)$(QWAQ) $(vkgen) -- $(vkparse_plist) $(vkparse_cinc).t $(vkparse_hinc).t &&\
|
2020-12-23 05:32:29 +00:00
|
|
|
$(am__mv) $(vkparse_cinc).t $(vkparse_cinc) &&\
|
|
|
|
$(am__mv) $(vkparse_hinc).t $(vkparse_hinc)
|
2020-12-21 09:38:31 +00:00
|
|
|
|
2020-12-23 05:32:29 +00:00
|
|
|
$(vkparse_hinc): $(vkparse_cinc)
|
2020-12-21 09:38:31 +00:00
|
|
|
# do nothing: hinc generated at the same time as cinc
|
2020-06-28 10:08:18 +00:00
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
CLEANFILES += \
|
|
|
|
libs/video/renderer/glsl/*.vc \
|
|
|
|
libs/video/renderer/glsl/*.fc \
|
2020-07-03 16:40:02 +00:00
|
|
|
libs/video/renderer/glsl/*.slc \
|
2020-07-16 06:42:49 +00:00
|
|
|
libs/video/renderer/vulkan/*.plc \
|
2021-03-29 08:35:30 +00:00
|
|
|
libs/video/renderer/vulkan/shader/*.spv \
|
|
|
|
libs/video/renderer/vulkan/shader/*.spvc \
|
2021-08-02 04:47:00 +00:00
|
|
|
vkgen.sym \
|
2020-07-03 16:40:02 +00:00
|
|
|
$(vkparse_src)
|
2020-07-16 06:42:49 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES += $(shader_gen)
|
2020-12-23 05:32:29 +00:00
|
|
|
|
|
|
|
#shader_DATA += \
|
|
|
|
# libs/video/renderer/vulkan/passthrough.vert.spv \
|
|
|
|
# libs/video/renderer/vulkan/pushcolor.frag.spv
|
|
|
|
|
2021-03-29 08:35:30 +00:00
|
|
|
EXTRA_DIST += \
|
2022-12-02 08:10:04 +00:00
|
|
|
libs/video/renderer/vulkan/vkparse.plist \
|
|
|
|
libs/video/renderer/vulkan/vkparse.h \
|
2023-01-23 02:14:06 +00:00
|
|
|
$(rp_defcube_src) \
|
2022-11-21 04:11:50 +00:00
|
|
|
$(rp_deferred_src) \
|
|
|
|
$(rp_forward_src) \
|
2023-02-10 02:04:11 +00:00
|
|
|
$(rp_main_def_src) \
|
2022-11-22 08:47:36 +00:00
|
|
|
$(rp_output_src) \
|
2022-11-22 04:29:11 +00:00
|
|
|
$(rp_shadow_src) \
|
2022-11-21 08:41:39 +00:00
|
|
|
$(pl_quake_def_src) \
|
2022-11-22 08:47:36 +00:00
|
|
|
$(pl_output_src) \
|
2022-12-01 14:03:55 +00:00
|
|
|
$(oit_blend) \
|
|
|
|
$(oit_store) \
|
|
|
|
$(oit_h) \
|
2022-12-02 08:10:04 +00:00
|
|
|
$(matrices_h) \
|
|
|
|
$(entity_h) \
|
|
|
|
$(slice_src) \
|
|
|
|
$(linev_src) \
|
|
|
|
$(linef_src) \
|
|
|
|
$(partphysicsc_src) \
|
|
|
|
$(partupdatec_src) \
|
|
|
|
$(particlev_src) \
|
|
|
|
$(particleg_src) \
|
|
|
|
$(particlef_src) \
|
|
|
|
$(sprite_gbufv_src) \
|
|
|
|
$(sprite_gbuff_src) \
|
|
|
|
$(sprite_depthv_src) \
|
|
|
|
$(sprite_depthf_src) \
|
|
|
|
$(twod_depthf_src) \
|
|
|
|
$(twodv_src) \
|
|
|
|
$(twodf_src) \
|
|
|
|
$(quakebspv_src) \
|
|
|
|
$(quakebspf_src) \
|
|
|
|
$(bsp_depth_src) \
|
|
|
|
$(bsp_gbufv_src) \
|
|
|
|
$(bsp_gbufg_src) \
|
|
|
|
$(bsp_gbuff_src) \
|
|
|
|
$(bsp_shadow_src) \
|
|
|
|
$(bsp_skyf_src) \
|
|
|
|
$(bsp_turbf_src) \
|
|
|
|
$(lightingf_src) \
|
|
|
|
$(composef_src) \
|
|
|
|
$(aliasv_src) \
|
|
|
|
$(aliasf_src) \
|
|
|
|
$(alias_depth_src) \
|
|
|
|
$(alias_gbuf_src) \
|
|
|
|
$(alias_shadow_src) \
|
|
|
|
$(iqmv_src) \
|
|
|
|
$(iqmf_src) \
|
|
|
|
$(output_src) \
|
|
|
|
$(passthrough_src) \
|
|
|
|
$(fstriangle_src) \
|
|
|
|
$(fstrianglest_src) \
|
|
|
|
$(pushcolor_src) \
|
2023-01-23 02:14:06 +00:00
|
|
|
$(fisheye_src) \
|
2022-12-02 08:10:04 +00:00
|
|
|
$(waterwarp_src)
|