Added python converter for shader scripts

This commit is contained in:
Alejandro Saucedo 2020-08-23 09:50:44 +01:00
parent 362368c712
commit 2561ace8b7
11 changed files with 18323 additions and 5 deletions

View file

@ -43,8 +43,11 @@ build_linux:
-o ./bin/main
build_shaders:
$(SCMP) -V shaders/glsl/computeheadless.comp -o shaders/glsl/computeheadless.comp.spv
$(SCMP) -V shaders/glsl/opmult.comp -o shaders/glsl/opmult.comp.spv
python scripts/convert_shaders.py \
--shader-path shaders/glsl \
--shader-binary $(SCMP) \
--header-path src/shaders \
-v
docker_seldon_run:
docker run \