Commit graph pcem/src/vid_voodoo_codegen_x86-64.h
Author SHA1 Message Date
SarahW
57fb74a4a3 Fix Voodoo recompiler chromakey for rgbselect != texture RGB. Fixes
rendering issues in Manx TT.
2020-11-22 22:03:21 +00:00
SarahW
09a7b468c3 Move Voodoo colour/aux buffer tiled mode flags to params structure. Fixed
crash in 3DMark 2001 demo mode.
2020-11-17 21:43:30 +00:00
SarahW
52a79fbb57 Add option for Voodoo to use 4 render threads. 2020-11-14 19:33:52 +00:00
SarahW
133f19fe39 Implement Banshee tiled surfaces 2020-11-14 19:33:29 +00:00
SarahW
41238b3c85 Split vid_voodoo.c into multiple source & header files. 2020-11-14 19:33:04 +00:00
SarahW
a52066c75a Fix unused variable in vid_voodoo_codegen_x86-64.h
Patch from davefiddes. Original commit message :

Remove several unused variable references which look like they were required for
earlier versions of the code.

Tests:
 - Clean build on Fedora 32 with gcc 10.1
2020-07-14 19:36:02 +01:00
SarahW
1db2fc6908 Use mmap() to allocate Voodoo recompiler memory on Linux instead of malloc() + mprotect(). Based on patch from Martin_Riarte. 2019-04-23 21:23:14 +01:00
SarahW
68853090ab Remove unnecessary fatal()s from Voodoo x86-64 recompiler. 2017-12-11 16:33:10 +00:00
SarahW
542eb75483 Fixed bug in Voodoo recompiler breaking cc_localselect_override. Fixes colours in Return Fire II. 2017-11-23 21:11:43 +00:00
SarahW
64cb5f580f Recompiler now works on Mac OS X. 2017-11-11 20:21:20 +00:00
SarahW
7c9bb73b57 Voodoo x86-64 recompiler now works correctly with addresses above 4GB. 2017-11-11 20:20:16 +00:00
SarahW
9a63308ffd Added Voodoo SLI emulation. 2017-08-15 20:26:06 +01:00
SarahW
b9055d9aff Fixed detail factor clamping in Voodoo recompiler. Fixes texture issues in Jane's WWII Fighters. 2017-08-10 21:50:08 +01:00
SarahW
354d52754c Indentation fixes. Patch from basic2004. 2017-07-30 08:31:03 +01:00
SarahW
2b892d2a7a Fixed compiler warnings for Windows builds.
Added -Werror to Windows makefiles.
2017-04-11 19:34:41 +01:00
SarahW
d268d3558b Fixed Voodoo recompiler texture clamping. 2017-02-06 20:11:38 +00:00
SarahW
e6b4f88065 Voodoo only writes to depth buffer when depth buffering enabled, regardless of whether depth writes are enabled or not
V2 clipping coordinates are 12 bits, instead of 10 as on Voodoo Graphics.
V2 block width is 6 bits long.
Battlezone now works at 1024x768 on Voodoo 2.
2017-02-05 16:34:59 +00:00
SarahW
8927b50d70 Fixed bilinear filtering in Voodoo recompilers - less noise in textures, fixes chroma test in Colin McRae Rally. 2016-12-13 19:46:38 +00:00
SarahW
eb8e627830 Fixed chroma test in Voodoo x86-64 recompiler. 2016-12-13 19:45:51 +00:00
SarahW
e162b6166e Voodoo now implements texture RGB as a multiplier input in the colour combiner. 2016-11-20 17:16:00 +00:00
SarahW
fd8b80d371 Fixed typo in shift counts in texture alpha extraction code in Voodoo recompiler. 2016-11-20 17:14:07 +00:00
SarahW
31c311924c Added Voodoo 2 emulation. 2016-10-22 14:18:06 +01:00
SarahW
0b5c3d24ea Added support for Voodoo with 2 TMUs (Obsidian SB50 with Amethyst daughterboard).
As part of this change, Voodoo now converts textures to ARGB8888 and caches ahead of rendering. Minor speedup.
Also fixed Z clamping when depth bias in use.
2016-10-01 16:42:04 +01:00
SarahW
b92634dea6 Added missing Alpha+YIQ texture format to Voodoo.
Added depth source select to Voodoo.
Fixes graphics issues with Requiem : Avenging Angel
2016-08-29 17:29:55 +01:00
SarahW
02153343ab Fixed clamping issue with RGB iterator in Voodoo code generation. Fixes artifacts in Alien vs Predator. 2016-05-18 20:08:13 +01:00
SarahW
c83e9ed14e Changes to Voodoo recompiler :
- Invalid cc_mselect values now return zero
- Fixed texture alpha in colour combiner
- Fixed typo in cca_invert_output
- Only clip alpha value if it's actually used
2016-04-09 20:43:19 +01:00
SarahW
74786231c5 Added Voodoo depth biasing. 2016-04-08 21:40:15 +01:00
TomW
92e45c33e7 Added x86-64 Voodoo recompiler. 2016-03-23 21:16:41 +00:00