[vulkan] Rename the pipeline file

The pl_prefix helps with organization, and the rest of the name makes it
clear it's for the quake deferred renderer.
This commit is contained in:
Bill Currie 2022-11-21 17:41:39 +09:00
parent 7a50cdd7a8
commit 5df9b506e0
3 changed files with 7 additions and 7 deletions

View file

@ -193,8 +193,8 @@ libs_video_renderer_librender_sw_la_SOURCES = \
libs/video/renderer/sw/transform.S \ libs/video/renderer/sw/transform.S \
libs/video/renderer/sw/vid_common_sw.c libs/video/renderer/sw/vid_common_sw.c
pipeline_src = libs/video/renderer/vulkan/qfpipeline.plist pl_quake_def_src = libs/video/renderer/vulkan/pl_quake_def.plist
pipeline_gen = libs/video/renderer/vulkan/qfpipeline.plc pl_quake_def_gen = libs/video/renderer/vulkan/pl_quake_def.plc
rp_deferred_src = libs/video/renderer/vulkan/rp_deferred.plist rp_deferred_src = libs/video/renderer/vulkan/rp_deferred.plist
rp_deferred_gen = libs/video/renderer/vulkan/rp_deferred.plc rp_deferred_gen = libs/video/renderer/vulkan/rp_deferred.plc
rp_shadow_src = libs/video/renderer/vulkan/rp_shadow.plist rp_shadow_src = libs/video/renderer/vulkan/rp_shadow.plist
@ -258,7 +258,7 @@ libs/video/renderer/vulkan/shader.lo: libs/video/renderer/vulkan/shader.c $(vksh
libs/video/renderer/vulkan/vulkan_vid_common.lo: \ libs/video/renderer/vulkan/vulkan_vid_common.lo: \
libs/video/renderer/vulkan/vulkan_vid_common.c \ libs/video/renderer/vulkan/vulkan_vid_common.c \
$(vkparse_src) \ $(vkparse_src) \
$(pipeline_gen) \ $(pl_quake_def_gen) \
${rp_deferred_gen} \ ${rp_deferred_gen} \
${rp_shadow_gen} \ ${rp_shadow_gen} \
$(rp_forward_gen) $(rp_forward_gen)
@ -495,7 +495,7 @@ EXTRA_DIST += \
$(rp_deferred_src) \ $(rp_deferred_src) \
$(rp_shadow_src) \ $(rp_shadow_src) \
$(rp_forward_src) \ $(rp_forward_src) \
$(pipeline_src) \ $(pl_quake_def_src) \
libs/video/renderer/vulkan/vkparse.plist \ libs/video/renderer/vulkan/vkparse.plist \
libs/video/renderer/vulkan/vkparse.h \ libs/video/renderer/vulkan/vkparse.h \
libs/video/renderer/vulkan/shader/alias.frag \ libs/video/renderer/vulkan/shader/alias.frag \

View file

@ -63,9 +63,9 @@
#include "libs/video/renderer/vulkan/vkparse.hinc" #include "libs/video/renderer/vulkan/vkparse.hinc"
static exprsym_t builtin_plist_syms[] = { static exprsym_t builtin_plist_syms[] = {
{ .name = "qfpipeline", { .name = "quake_deferred",
.value = (void *) .value = (void *)
#include "libs/video/renderer/vulkan/qfpipeline.plc" #include "libs/video/renderer/vulkan/pl_quake_def.plc"
}, },
{ .name = "deferred", { .name = "deferred",
.value = (void *) .value = (void *)
@ -355,7 +355,7 @@ static plitem_t *
qfv_load_pipeline (vulkan_ctx_t *ctx, const char *name) qfv_load_pipeline (vulkan_ctx_t *ctx, const char *name)
{ {
if (!ctx->pipelineDef) { if (!ctx->pipelineDef) {
ctx->pipelineDef = Vulkan_GetConfig (ctx, "qfpipeline"); ctx->pipelineDef = Vulkan_GetConfig (ctx, "quake_deferred");
} }
plitem_t *item = ctx->pipelineDef; plitem_t *item = ctx->pipelineDef;