From bc892aff15b33723c6e2501630e9a188cc7a46ba Mon Sep 17 00:00:00 2001 From: sezero Date: Fri, 3 Aug 2018 19:35:23 +0300 Subject: [PATCH] cvg: added -DGLIDE_CHIP_BROADCAST=1 and -DGLIDE_BLIT_CLEAR=1 among the CFLAGS. Windows makefile has them, already. The linux makefile used to have them but magically lost them somehow in the glide-devel-branch. Let's see how it goes.. --- glide3x/cvg/glide3/src/Makefile.DJ | 6 ++++++ glide3x/cvg/glide3/src/Makefile.wat | 6 ++++++ glide3x/cvg/glide3/src/Makefile.win32 | 5 ++--- glide3x/cvg/glide3/src/makefile.linux | 6 ++++++ 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/glide3x/cvg/glide3/src/Makefile.DJ b/glide3x/cvg/glide3/src/Makefile.DJ index 5d80364..2313a09 100644 --- a/glide3x/cvg/glide3/src/Makefile.DJ +++ b/glide3x/cvg/glide3/src/Makefile.DJ @@ -81,6 +81,12 @@ CDEFS += -DGLIDE3 -DGLIDE3_ALPHA -DGLIDE_HW_TRI_SETUP=1 -DGLIDE_PACKED_RGB=0 -DG #CDEFS += -DGLIDE3_SCALER CDEFS += -DGLIDE_DISPATCH_SETUP -DGLIDE_DISPATCH_DOWNLOAD +# workaround for CVGs with broken tsus which cannot send commands to multiple +# tmus using chipfield. chipfield will always be set to 0xf +CDEFS += -DGLIDE_CHIP_BROADCAST=1 +# special sli buffer clears +CDEFS += -DGLIDE_BLIT_CLEAR=1 + # subsystem CDEFS += -DCVG diff --git a/glide3x/cvg/glide3/src/Makefile.wat b/glide3x/cvg/glide3/src/Makefile.wat index f94e83a..df44ae9 100644 --- a/glide3x/cvg/glide3/src/Makefile.wat +++ b/glide3x/cvg/glide3/src/Makefile.wat @@ -79,6 +79,12 @@ CDEFS += -DGLIDE3 -DGLIDE3_ALPHA -DGLIDE_HW_TRI_SETUP=1 -DGLIDE_PACKED_RGB=0 -DG #CDEFS += -DGLIDE3_SCALER CDEFS += -DGLIDE_DISPATCH_SETUP -DGLIDE_DISPATCH_DOWNLOAD +# workaround for CVGs with broken tsus which cannot send commands to multiple +# tmus using chipfield. chipfield will always be set to 0xf +CDEFS += -DGLIDE_CHIP_BROADCAST=1 +# special sli buffer clears +CDEFS += -DGLIDE_BLIT_CLEAR=1 + # subsystem CDEFS += -DCVG diff --git a/glide3x/cvg/glide3/src/Makefile.win32 b/glide3x/cvg/glide3/src/Makefile.win32 index 20fe164..931dade 100644 --- a/glide3x/cvg/glide3/src/Makefile.win32 +++ b/glide3x/cvg/glide3/src/Makefile.win32 @@ -82,12 +82,11 @@ CDEFS += -DGLIDE3 -DGLIDE3_ALPHA -DGLIDE3_VERTEX_LAYOUT=1 -DGLIDE_HW_TRI_SETUP=1 #CDEFS += -DGLIDE3_SCALER CDEFS += -DGLIDE_DISPATCH_SETUP=1 -DGLIDE_DISPATCH_DOWNLOAD=1 -# special sli buffer clears -CDEFS += -DGLIDE_BLIT_CLEAR=1 - # workaround for CVGs with broken tsus which cannot send commands to multiple # tmus using chipfield. chipfield will always be set to 0xf CDEFS += -DGLIDE_CHIP_BROADCAST=1 +# special sli buffer clears +CDEFS += -DGLIDE_BLIT_CLEAR=1 # subsystem CDEFS += -DCVG diff --git a/glide3x/cvg/glide3/src/makefile.linux b/glide3x/cvg/glide3/src/makefile.linux index 1ba3860..1b3fcd4 100644 --- a/glide3x/cvg/glide3/src/makefile.linux +++ b/glide3x/cvg/glide3/src/makefile.linux @@ -84,6 +84,12 @@ CDEFS += -DGLIDE3 -DGLIDE3_ALPHA -DGLIDE_HW_TRI_SETUP=1 -DGLIDE_PACKED_RGB=0 -DG CDEFS += -DGLIDE_DISPATCH_SETUP -DGLIDE_DISPATCH_DOWNLOAD LDLIBS += -lm +# workaround for CVGs with broken tsus which cannot send commands to multiple +# tmus using chipfield. chipfield will always be set to 0xf +CDEFS += -DGLIDE_CHIP_BROADCAST=1 +# special sli buffer clears +CDEFS += -DGLIDE_BLIT_CLEAR=1 + # subsystem CDEFS += -DCVG