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
|
CS_FLAGS=--platform windows -p s_5_0 -O 1
|
||||||
SHADER_PATH=shaders/dx11
|
SHADER_PATH=shaders/dx11
|
||||||
else
|
else
|
||||||
ifeq ($(TARGET), 2)
|
ifeq ($(TARGET), $(filter $(TARGET), 2 3))
|
||||||
VS_FLAGS=--platform nacl
|
VS_FLAGS=--platform android -p 100_es
|
||||||
FS_FLAGS=--platform nacl
|
FS_FLAGS=--platform android -p 100_es
|
||||||
SHADER_PATH=shaders/essl
|
CS_FLAGS=--platform android -p 300_es
|
||||||
else
|
|
||||||
ifeq ($(TARGET), 3)
|
|
||||||
VS_FLAGS=--platform android
|
|
||||||
FS_FLAGS=--platform android
|
|
||||||
CS_FLAGS=--platform android
|
|
||||||
SHADER_PATH=shaders/essl
|
SHADER_PATH=shaders/essl
|
||||||
else
|
else
|
||||||
ifeq ($(TARGET), 4)
|
ifeq ($(TARGET), 4)
|
||||||
@ -104,7 +99,6 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
THISDIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
THISDIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||||
VS_FLAGS+=-i $(THISDIR)../src/ $(ADDITIONAL_INCLUDES)
|
VS_FLAGS+=-i $(THISDIR)../src/ $(ADDITIONAL_INCLUDES)
|
||||||
|
Loading…
Reference in New Issue
Block a user