diff options
author | quou <quou@disroot.org> | 2024-12-26 16:11:33 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-26 16:12:02 +1100 |
commit | b2ece42822225fd67a1286a2ef51f7b76c634255 (patch) | |
tree | 6256a55abb9dbda2b6a2e8da973033a3aab4c321 /Makefile | |
parent | 32e3b7e01a6a0a9c433966f5fe77066e389fade6 (diff) |
seperate descriptor sets from pipelines to allow swapping out shader resources without recreating pipelines
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |