Selaa lähdekoodia

VK: Added compute shaders.

Бранимир Караџић 6 vuotta sitten
vanhempi
sitoutus
4986981378

+ 0 - 1
examples/runtime/shaders/spirv/.gitignore

@@ -1 +0,0 @@
-*

BIN
examples/runtime/shaders/spirv/cs_indirect.bin


BIN
examples/runtime/shaders/spirv/cs_init_instances.bin


BIN
examples/runtime/shaders/spirv/cs_update_instances.bin


+ 1 - 1
scripts/shader.mk

@@ -116,7 +116,7 @@ CS_BIN = $(addprefix $(BUILD_INTERMEDIATE_DIR)/, $(addsuffix .bin, $(basename $(
 BIN = $(VS_BIN) $(FS_BIN)
 BIN = $(VS_BIN) $(FS_BIN)
 ASM = $(VS_ASM) $(FS_ASM)
 ASM = $(VS_ASM) $(FS_ASM)
 
 
-ifeq ($(TARGET), $(filter $(TARGET),1 3 4 5 6))
+ifeq ($(TARGET), $(filter $(TARGET),1 3 4 5 6 7))
 BIN += $(CS_BIN)
 BIN += $(CS_BIN)
 ASM += $(CS_ASM)
 ASM += $(CS_ASM)
 endif
 endif