mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
shaderc HLSL profile switch fix (#3005)
* shaderc HLSL profile switch fix * shader makefiles changed to match new hlsl profile switches Co-authored-by: Ali Seyedof <ali.seyedof@xyzreality.com>
This commit is contained in:
@@ -53,14 +53,14 @@ else
|
||||
ADDITIONAL_INCLUDES?=
|
||||
|
||||
ifeq ($(TARGET), 0)
|
||||
VS_FLAGS=--platform windows -p vs_3_0 -O 3
|
||||
FS_FLAGS=--platform windows -p ps_3_0 -O 3
|
||||
VS_FLAGS=--platform windows -p s_3_0 -O 3
|
||||
FS_FLAGS=--platform windows -p s_3_0 -O 3
|
||||
SHADER_PATH=shaders/dx9
|
||||
else
|
||||
ifeq ($(TARGET), 1)
|
||||
VS_FLAGS=--platform windows -p vs_5_0 -O 3
|
||||
FS_FLAGS=--platform windows -p ps_5_0 -O 3
|
||||
CS_FLAGS=--platform windows -p cs_5_0 -O 1
|
||||
VS_FLAGS=--platform windows -p s_5_0 -O 3
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user