[FFmpeg-cvslog] avcodec/vulkan: Add support for generating GLSL strings from comp shaders
IndecisiveTurtle
git at videolan.org
Sun Oct 6 02:35:03 EEST 2024
ffmpeg | branch: master | IndecisiveTurtle <geoster3d at gmail.com> | Sat Oct 5 23:44:01 2024 +0300| [f456522e32ec2577745d4669dc333be298d85907] | committer: Lynne
avcodec/vulkan: Add support for generating GLSL strings from comp shaders
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f456522e32ec2577745d4669dc333be298d85907
---
libavcodec/Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 9950a9d1db..706d425cb7 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -1375,3 +1375,12 @@ $(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
$(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
$(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h
endif
+
+clean::
+ $(RM) $(CLEANSUFFIXES:%=libavcodec/vulkan/%)
+
+VULKAN = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavcodec/vulkan/*.comp))
+.SECONDARY: $(VULKAN:.comp=.c)
+libavcodec/vulkan/%.c: TAG = VULKAN
+libavcodec/vulkan/%.c: $(SRC_PATH)/libavcodec/vulkan/%.comp
+ $(M)$(SRC_PATH)/tools/source2c $< $@
More information about the ffmpeg-cvslog
mailing list