aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Weiss2021-02-10 18:17:31 -0800
committerJustin Weiss2021-02-20 20:21:30 -0800
commit8105c29f3a1a7c3e16a9c278bdf03054b3919043 (patch)
tree126760286425ad7f51ad8de0968d98bd619e4919
parentc2d67cd94f604bbf4fc8aaf3a5da3275d1b733a6 (diff)
downloadpcsx_rearmed-8105c29f3a1a7c3e16a9c278bdf03054b3919043.tar.gz
pcsx_rearmed-8105c29f3a1a7c3e16a9c278bdf03054b3919043.tar.bz2
pcsx_rearmed-8105c29f3a1a7c3e16a9c278bdf03054b3919043.zip
Restrict threaded rendering to unai / peops
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d751fb1..73bde48 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,10 @@ CFLAGS += -DGPU_PEOPS
plugins/dfxvideo/gpulib_if.o: CFLAGS += -fno-strict-aliasing
plugins/dfxvideo/gpulib_if.o: plugins/dfxvideo/prim.c plugins/dfxvideo/soft.c
OBJS += plugins/dfxvideo/gpulib_if.o
+ifeq "$(THREAD_RENDERING)" "1"
+CFLAGS += -DTHREAD_RENDERING
+OBJS += plugins/gpulib/gpulib_thread_if.o
+endif
endif
ifeq "$(BUILTIN_GPU)" "unai"
CFLAGS += -DGPU_UNAI
@@ -190,13 +194,13 @@ OBJS += plugins/gpu_unai/gpulib_if.o
ifeq "$(ARCH)" "arm"
OBJS += plugins/gpu_unai/gpu_arm.o
endif
-plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3
-CC_LINK = $(CXX)
-endif
ifeq "$(THREAD_RENDERING)" "1"
CFLAGS += -DTHREAD_RENDERING
OBJS += plugins/gpulib/gpulib_thread_if.o
endif
+plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3
+CC_LINK = $(CXX)
+endif
# cdrcimg
OBJS += plugins/cdrcimg/cdrcimg.o