From b2ece42822225fd67a1286a2ef51f7b76c634255 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 26 Dec 2024 16:11:33 +1100 Subject: seperate descriptor sets from pipelines to allow swapping out shader resources without recreating pipelines --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d56363b..ac6149c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ target = c2 data_dir = data shaders = $(data_dir)/triangle.csh -textures = $(data_dir)/22.tex +textures = $(data_dir)/22.tex $(data_dir)/kita.tex packed_files = $(shaders) $(textures) tools = qstd cfg sc objects = app.o c2.o video.o pipeline.o asset.o @@ -40,6 +40,9 @@ data/triangle.csh: intermediate/triangle.glsl | $(data_dir) sc data/22.tex: intermediate/22.bmp | $(data_dir) convtexture ./convtexture intermediate/22.bmp $(data_dir)/22.tex bc1 +data/kita.tex: intermediate/kita.bmp | $(data_dir) convtexture + ./convtexture intermediate/kita.bmp $(data_dir)/kita.tex bc1 + app.o: $(CXX) -c $(cflags) app.cpp -o app.o -- cgit v1.2.3-54-g00ecf