mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
shader.mk specify profile for all shaders.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user