Uncomment embedded SPIR-V compute shader script.
This commit is contained in:
parent
d09481855e
commit
3b9b2aa130
@ -27,7 +27,7 @@ vs_%.bin.h : vs_%.sc
|
||||
$(SILENT) $(SHADERC) $(VS_FLAGS) --platform linux -p 120 -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_glsl
|
||||
@cat "$(SHADER_TMP)" > $(@)
|
||||
-$(SILENT) $(SHADERC) $(VS_FLAGS) --platform android -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_essl
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-$(SILENT) $(SHADERC) $(VS_FLAGS) --platform linux -p spirv -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_spv
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-$(SILENT) $(SHADERC) $(VS_FLAGS) --platform windows -p vs_3_0 -O 3 -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_dx9
|
||||
@ -44,7 +44,7 @@ fs_%.bin.h : fs_%.sc
|
||||
$(SILENT) $(SHADERC) $(FS_FLAGS) --platform linux -p 120 -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_glsl
|
||||
@cat "$(SHADER_TMP)" > $(@)
|
||||
-$(SILENT) $(SHADERC) $(FS_FLAGS) --platform android -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_essl
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-$(SILENT) $(SHADERC) $(FS_FLAGS) --platform linux -p spirv -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_spv
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-$(SILENT) $(SHADERC) $(FS_FLAGS) --platform windows -p ps_3_0 -O 3 -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_dx9
|
||||
@ -61,9 +61,9 @@ cs_%.bin.h : cs_%.sc
|
||||
$(SILENT) $(SHADERC) $(CS_FLAGS) --platform linux -p 430 -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_glsl
|
||||
@cat "$(SHADER_TMP)" > $(@)
|
||||
-$(SILENT) $(SHADERC) $(CS_FLAGS) --platform android -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_essl
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
# -$(SILENT) $(SHADERC) $(CS_FLAGS) --platform linux -p spirv -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_spv
|
||||
# -@cat "$(SHADER_TMP)" >> $(@)
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-$(SILENT) $(SHADERC) $(CS_FLAGS) --platform linux -p spirv -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_spv
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-$(SILENT) $(SHADERC) $(CS_FLAGS) --platform windows -p cs_5_0 -O 1 -f $(<) -o "$(SHADER_TMP)" --bin2c $(basename $(<))_dx11
|
||||
-@cat "$(SHADER_TMP)" >> $(@)
|
||||
-@printf "extern const uint8_t* $(basename $(<))_pssl;\n" | tr -d '\015' >> $(@)
|
||||
|
Loading…
Reference in New Issue
Block a user