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:
Ali Seyedof
2022-12-28 18:16:37 +00:00
committed by GitHub
parent a93a714632
commit 877cdb8b1f
3 changed files with 20 additions and 16 deletions

View File

@@ -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)