shader.mk specify profile for all shaders.
This commit is contained in:
parent
6f2716d2f4
commit
99439d296a
@ -63,15 +63,10 @@ FS_FLAGS=--platform windows -p s_5_0 -O 3
|
||||
CS_FLAGS=--platform windows -p s_5_0 -O 1
|
||||
SHADER_PATH=shaders/dx11
|
||||
else
|
||||
ifeq ($(TARGET), 2)
|
||||
VS_FLAGS=--platform nacl
|
||||
FS_FLAGS=--platform nacl
|
||||
SHADER_PATH=shaders/essl
|
||||
else
|
||||
ifeq ($(TARGET), 3)
|
||||
VS_FLAGS=--platform android
|
||||
FS_FLAGS=--platform android
|
||||
CS_FLAGS=--platform android
|
||||
ifeq ($(TARGET), $(filter $(TARGET), 2 3))
|
||||
VS_FLAGS=--platform android -p 100_es
|
||||
FS_FLAGS=--platform android -p 100_es
|
||||
CS_FLAGS=--platform android -p 300_es
|
||||
SHADER_PATH=shaders/essl
|
||||
else
|
||||
ifeq ($(TARGET), 4)
|
||||
@ -104,7 +99,6 @@ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
THISDIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
VS_FLAGS+=-i $(THISDIR)../src/ $(ADDITIONAL_INCLUDES)
|
||||
|
Loading…
Reference in New Issue
Block a user