mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
[vulkan] Add a very basic forward rendering pass
It's not fully compliant yet, but it sorta kinda maybe worked on my pinebook (still slow, but no hardware vulkan :( )
This commit is contained in:
parent
1caa9ed8c3
commit
260a10d75c
3 changed files with 1463 additions and 0 deletions
|
@ -194,6 +194,8 @@ libs_video_renderer_librender_sw_la_SOURCES = \
|
||||||
|
|
||||||
rp_main_def_src = libs/video/renderer/vulkan/rp_main_def.plist
|
rp_main_def_src = libs/video/renderer/vulkan/rp_main_def.plist
|
||||||
rp_main_def_gen = libs/video/renderer/vulkan/rp_main_def.plc
|
rp_main_def_gen = libs/video/renderer/vulkan/rp_main_def.plc
|
||||||
|
rp_main_fwd_src = libs/video/renderer/vulkan/rp_main_fwd.plist
|
||||||
|
rp_main_fwd_gen = libs/video/renderer/vulkan/rp_main_fwd.plc
|
||||||
smp_quake_src = libs/video/renderer/vulkan/smp_quake.plist
|
smp_quake_src = libs/video/renderer/vulkan/smp_quake.plist
|
||||||
smp_quake_gen = libs/video/renderer/vulkan/smp_quake.plc
|
smp_quake_gen = libs/video/renderer/vulkan/smp_quake.plc
|
||||||
|
|
||||||
|
@ -254,6 +256,7 @@ libs/video/renderer/vulkan/vkparse.lo: \
|
||||||
libs/video/renderer/vulkan/vkparse.c \
|
libs/video/renderer/vulkan/vkparse.c \
|
||||||
$(vkparse_src) \
|
$(vkparse_src) \
|
||||||
$(rp_main_def_gen) \
|
$(rp_main_def_gen) \
|
||||||
|
$(rp_main_fwd_gen) \
|
||||||
$(smp_quake_gen)
|
$(smp_quake_gen)
|
||||||
|
|
||||||
libs/video/renderer/vulkan/shader.lo: \
|
libs/video/renderer/vulkan/shader.lo: \
|
||||||
|
@ -531,6 +534,7 @@ EXTRA_DIST += \
|
||||||
libs/video/renderer/vulkan/vkparse.plist \
|
libs/video/renderer/vulkan/vkparse.plist \
|
||||||
libs/video/renderer/vulkan/vkparse.h \
|
libs/video/renderer/vulkan/vkparse.h \
|
||||||
$(rp_main_def_src) \
|
$(rp_main_def_src) \
|
||||||
|
$(rp_main_fwd_src) \
|
||||||
$(smp_quake_src) \
|
$(smp_quake_src) \
|
||||||
$(oit_blend) \
|
$(oit_blend) \
|
||||||
$(oit_store) \
|
$(oit_store) \
|
||||||
|
|
1455
libs/video/renderer/vulkan/rp_main_fwd.plist
Normal file
1455
libs/video/renderer/vulkan/rp_main_fwd.plist
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1200,6 +1200,10 @@ static exprsym_t builtin_plist_syms[] = {
|
||||||
.value = (void *)
|
.value = (void *)
|
||||||
#include "libs/video/renderer/vulkan/rp_main_def.plc"
|
#include "libs/video/renderer/vulkan/rp_main_def.plc"
|
||||||
},
|
},
|
||||||
|
{ .name = "main_fwd",
|
||||||
|
.value = (void *)
|
||||||
|
#include "libs/video/renderer/vulkan/rp_main_fwd.plc"
|
||||||
|
},
|
||||||
{ .name = "smp_quake",
|
{ .name = "smp_quake",
|
||||||
.value = (void *)
|
.value = (void *)
|
||||||
#include "libs/video/renderer/vulkan/smp_quake.plc"
|
#include "libs/video/renderer/vulkan/smp_quake.plc"
|
||||||
|
|
Loading…
Reference in a new issue