avcodec/vulkan: Add support for generating GLSL strings from comp shaders

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
IndecisiveTurtle 2024-10-05 23:44:01 +03:00 committed by Paul B Mahol
parent dc24efc2dc
commit 1d5421ac2e

View File

@ -1371,3 +1371,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 $< $@