Skip to content

Commit 2561ace

Browse files
committedAug 23, 2020
Added python converter for shader scripts
1 parent 362368c commit 2561ace

11 files changed

+18323
-5
lines changed
 

‎Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ build_linux:
4343
-o ./bin/main
4444

4545
build_shaders:
46-
$(SCMP) -V shaders/glsl/computeheadless.comp -o shaders/glsl/computeheadless.comp.spv
47-
$(SCMP) -V shaders/glsl/opmult.comp -o shaders/glsl/opmult.comp.spv
46+
python scripts/convert_shaders.py \
47+
--shader-path shaders/glsl \
48+
--shader-binary $(SCMP) \
49+
--header-path src/shaders \
50+
-v
4851

4952
docker_seldon_run:
5053
docker run \

0 commit comments

Comments
 (0)