mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[vulkan] Move the shaders into their own directory
This commit is contained in:
parent
55104ac430
commit
cffd48434c
10 changed files with 26 additions and 24 deletions
|
@ -262,22 +262,24 @@ vkparse_src = \
|
|||
vkparse_plist = \
|
||||
$(srcdir)/libs/video/renderer/vulkan/vkparse.plist
|
||||
|
||||
twodv_src = libs/video/renderer/vulkan/twod.vert
|
||||
twodv_c = libs/video/renderer/vulkan/twod.vert.spvc
|
||||
twodf_src = libs/video/renderer/vulkan/twod.frag
|
||||
twodf_c = libs/video/renderer/vulkan/twod.frag.spvc
|
||||
quakebspv_src = libs/video/renderer/vulkan/quakebsp.vert
|
||||
quakebspv_c = libs/video/renderer/vulkan/quakebsp.vert.spvc
|
||||
quakebspf_src = libs/video/renderer/vulkan/quakebsp.frag
|
||||
quakebspf_c = libs/video/renderer/vulkan/quakebsp.frag.spvc
|
||||
aliasv_src = libs/video/renderer/vulkan/alias.vert
|
||||
aliasv_c = libs/video/renderer/vulkan/alias.vert.spvc
|
||||
aliasf_src = libs/video/renderer/vulkan/alias.frag
|
||||
aliasf_c = libs/video/renderer/vulkan/alias.frag.spvc
|
||||
passthrough_src = libs/video/renderer/vulkan/passthrough.vert
|
||||
passthrough_c = libs/video/renderer/vulkan/passthrough.vert.spvc
|
||||
pushcolor_src = libs/video/renderer/vulkan/pushcolor.frag
|
||||
pushcolor_c = libs/video/renderer/vulkan/pushcolor.frag.spvc
|
||||
vkshaderpath = libs/video/renderer/vulkan/shader
|
||||
|
||||
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
|
||||
aliasv_src = $(vkshaderpath)/alias.vert
|
||||
aliasv_c = $(vkshaderpath)/alias.vert.spvc
|
||||
aliasf_src = $(vkshaderpath)/alias.frag
|
||||
aliasf_c = $(vkshaderpath)/alias.frag.spvc
|
||||
passthrough_src = $(vkshaderpath)/passthrough.vert
|
||||
passthrough_c = $(vkshaderpath)/passthrough.vert.spvc
|
||||
pushcolor_src = $(vkshaderpath)/pushcolor.frag
|
||||
pushcolor_c = $(vkshaderpath)/pushcolor.frag.spvc
|
||||
|
||||
$(twodv_c): $(twodv_src)
|
||||
|
||||
|
|
|
@ -55,21 +55,21 @@
|
|||
#include "vid_vulkan.h"
|
||||
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/twod.vert.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/twod.vert.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/twod.frag.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/twod.frag.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/quakebsp.vert.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/quakebsp.vert.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/quakebsp.frag.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/quakebsp.frag.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/alias.vert.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/alias.vert.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/alias.frag.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/alias.frag.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/passthrough.vert.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/passthrough.vert.spvc"
|
||||
static
|
||||
#include "libs/video/renderer/vulkan/pushcolor.frag.spvc"
|
||||
#include "libs/video/renderer/vulkan/shader/pushcolor.frag.spvc"
|
||||
|
||||
typedef struct shaderdata_s {
|
||||
const char *name;
|
||||
|
|
Loading…
Reference in a new issue