Removed D3D9. (#3191)

This commit is contained in:
Бранимир Караџић
2023-11-03 21:15:42 -07:00
committed by GitHub
parent 6a914f5b13
commit f14c14a485
333 changed files with 8957 additions and 23428 deletions

View File

@@ -15,7 +15,7 @@ ifndef TARGET
.PHONY: all
all:
@echo Usage: make TARGET=# [clean, all, rebuild]
@echo " TARGET=0 (hlsl - d3d9 / Windows only!)"
@echo " TARGET=0 (hlsl - d3d11 / Windows only!)"
@echo " TARGET=1 (hlsl - d3d11 / Windows only!)"
@echo " TARGET=3 (essl - android)"
@echo " TARGET=4 (glsl)"
@@ -52,12 +52,7 @@ else
ADDITIONAL_INCLUDES?=
ifeq ($(TARGET), 0)
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)
ifeq ($(TARGET), $(filter $(TARGET), 0 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
@@ -98,7 +93,6 @@ endif
endif
endif
endif
endif
THISDIR := $(dir $(lastword $(MAKEFILE_LIST)))
VS_FLAGS+=-i $(THISDIR)../src/ $(ADDITIONAL_INCLUDES)