Commit graph pcem/src/vid_voodoo_codegen_x86.h
Author SHA1 Message Date
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
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
3fa1e23cf5 Fixed bugs in Voodoo recompiler. Fixes Descent Freespace. 2017-11-04 12:38:40 +00:00
SarahW
0e028ca64c Fixed typo in Voodoo recompiler, fixes crash in Powerslide. 2017-11-03 21:09:41 +00:00
SarahW
e388086943 Fixed a number of issues in Voodoo recompiler, fixes dark rendering in MiG-29 Fulcrum. 2017-10-29 16:07:46 +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
01353b32d8 Corrected mprotect parameters on x86-32 Voodoo recompiler. Patch from bit. 2017-04-19 16:19:08 +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
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
541c9f0030 Fixed Voodoo x86 codegen data allocation - should work with DEP enabled. 2016-06-06 21:27:52 +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
88256eff59 Removed global temporary variables from Voodoo recompiler - fixed noise when using 2 render threads, also speedup. 2016-02-12 21:40:34 +00:00
TomW
0601d2d919 Fixed clamping of T coordinate in Voodoo recompiler - fixes lightmaps in Starsiege Tribes 2016-01-14 20:41:34 +00:00
TomW
e69c41d0d6 Fixed 3DFX recompiler on Linux 2016-01-12 21:28:53 +00:00
TomW
f6d6f0de9b Added 3DFX recompiler for x86-32. 2-4x speedup over previous code. 2016-01-12 19:37:01 +00:00