summaryrefslogtreecommitdiff
path: root/libpcsxcore/gte.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix file and folder permissionsStelios Tsampas2018-03-191-0/+0
|
* * Sync with codeplex branch (libpcsxcore, linux gui)Stelios Tsampas2017-07-311-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reflects mostly changes that happened in upstream since the last sync. Commit messages in upstream are lacking information. Most important changes are commented below, the rest of them are either formating or just trivial stuff. Memory viewer, invalidate dynarec gui/DebugMemory.c libpcsxcore/cdrom.c libpcsxcore/gpu.c libpcsxcore/misc.c libpcsxcore/psxdma.c Load binary files and psx executables libpcsxcore/misc.c libpcsxcore/misc.h libpcsxcore/plugin.c libpcsxcore/plugin.h Support for psxida libpcsxcore/debug.c libpcsxcore/r3000a.c plugins/bladesio1/connection.c disable loading save states with digits gui/Plugin.c Fix psxDIV in interpreter libpcsxcore/psxinterpreter.c
* Fix NCLIP related crashiCatButler2016-08-011-23/+23
| | | | - provide wider window where NCLIP can return 0 as this was causing a crash in RR:Revolution
* Imporved CPU integrationiCatButler2016-06-271-14/+10
| | | | | | | | | | | | | | | | | - Change PGXP integration to use wrapper functions - Use modified function lookup tables to call wrappers or default funnctions based on mode - Implement wrappers for interpreter too, recompiler sometimes calls interpreter functions - Add UI elements for selecting CPU modes - Only call precision version of NCLIP in modes where there are not going to be stale vertices in GTE registers - Added support for CP0 co-processor functions - Improve support for CPU functions (still broken in many games) - Improved debug output to show values for inputs before they're modified GPU plugin - Ignore stale vertices (occurs when CPU mode no longer writes to memory) - Add Cyan vertex colouring for stale vertices
* Initial PGXP CPU commitiCatButler2016-06-071-0/+1
| | | | | | | | | | - Restructured project to base interface on PSX instructions - Support for all relevant CPU arithmetic and logic instructions - Debug output available via deferred PGXP calls - Remove most dependencies on PCSXR - Still very much a work in progress (lots of errors) - Add extra debug information to GPU plugin (w values)
* Implement vertex cachingiCatButler2016-05-151-22/+28
| | | | | | | - Try using Blade_Arma's vertex cache to find untracked vertices - Fix GTE_LOG - Add more logging spew - Update debug mode to track cached vertices
* More fixes for persective correct buildiCatButler2016-05-061-9/+16
| | | | | | - Switch back to fixed point GTE - Only clamp w to h/2 after divide - Fix vertex function for multi-pass (was overwriting vertexon first pass)
* Fix bugs from previousiCatButler2016-05-021-8/+8
| | | | | | | | | | | | Fix stray triangles - Switch to full floating point RTPS/RTPT - Clamp w values to near plane Fix texture corruption in 1.78, copy 2.4 Tweak - Remove matrix replacement - Add W component to vertices - Wrap glVertex3fv calls - Use counter to call glVertex4fv for PGXP vertices only
* Perspective correct texturingiCatButler2016-04-271-2/+6
| | | | | | | | | | | | | - replace calls to glOrtho with new matrix (z value becomes w) - store w value for each vertex - if any vertex does not have a w value set whole polygon to 1.0 - Reset vertex between draw calls to prevent stale w values persisting - validate PGXP values using stored copy of original (allow greater variance) - properly convert addresses before passing to plugin - rework memory to use a single pool with offsets - Implement floating point RTPS/RTPT transform, currently disabled.
* Initial upload of PGXP.iCatButler2016-03-251-12/+19
|
* * GTE;SND\edgbla_cp2013-10-061-768/+858
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87357 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* windows gte fix; :/SND\edgbla_cp2013-02-141-2/+6
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gte (sum flag, gpf);SND\edgbla_cp2013-01-291-21/+26
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82583 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gte avsz3/avsz4;SND\edgbla_cp2013-01-271-6/+8
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82547 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Setting end-of-line metadata.SND\MaddTheSane_cp2012-12-241-0/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81971 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Configuration->CPU->Widescreen (16:9, GTE Hack).SND\edgbla_cp2012-05-201-4/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78188 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Updated Free Software Foundation address (Jem256).SND\dario86_cp2012-02-191-49/+49
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75156 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* revert patch from issue 8874 (shalma), break some games.SND\edgbla_cp2011-08-081-4/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@69581 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gpu gte acuracy interface.SND\edgbla_cp2011-07-101-0/+27
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@68598 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gte: fix MAC0 shift (pcsxr issue #8874, shalma)SND\notaz_cp2011-06-291-4/+4
| | | | | | fixes missing elements in Soul Reaver and Spyro. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@68249 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Valkyrie Profile - gte.cSND\shalma_cp2010-11-181-1/+1
| | | | | | | - use edgbla value of limH $1000 - seems to work, unverified value git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59726 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Motor Toon Grand Prix 2 - gte.cSND\shalma_cp2010-11-141-5/+0
| | | | | | | | - repair mtc2 - r7,r29 - fixes disappearing objects git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59605 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Tales of Destiny 2 - gte.cSND\shalma_cp2010-11-081-3/+3
| | | | | | | | - repair SQR - IR output - fixes underwater lighting git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59303 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Valkyrie Profile - gte.cSND\shalma_cp2010-11-081-1/+1
| | | | | | | - limH to use $ffff limit - fixes world map loading git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59302 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gte.cSND\shalma_cp2010-11-051-20/+49
| | | | | | | - add some extra MAME changes (MTC2) - experimental: not in use git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59188 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Lego Racers - gte.cSND\shalma_cp2010-11-051-3/+0
| | | | | | | | - fix mfc2 r30 (and r29) - fixes main menu loading git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59187 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gte divider by shalmaSND\weimingzhi_cp2010-05-131-6/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47961 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@46936 ↵SND\weimingzhi_cp2010-04-301-18/+21
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45549 ↵SND\weimingzhi_cp2010-04-161-10/+10
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45545 ↵SND\weimingzhi_cp2010-04-161-5/+10
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45453 ↵SND\weimingzhi_cp2010-04-151-22/+22
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45449 ↵SND\weimingzhi_cp2010-04-151-16/+17
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45285 ↵SND\weimingzhi_cp2010-04-141-204/+214
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45071 ↵SND\weimingzhi_cp2010-04-131-9/+3
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44990 ↵SND\weimingzhi_cp2010-04-131-5/+0
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44987 ↵SND\weimingzhi_cp2010-04-131-6/+6
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44914 ↵SND\weimingzhi_cp2010-04-121-8/+0
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44913 ↵SND\weimingzhi_cp2010-04-121-111/+109
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44912 ↵SND\weimingzhi_cp2010-04-121-4/+4
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44911 ↵SND\weimingzhi_cp2010-04-121-0/+153
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44908 ↵SND\weimingzhi_cp2010-04-121-4/+4
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44907 ↵SND\weimingzhi_cp2010-04-121-60/+60
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44905 ↵SND\weimingzhi_cp2010-04-121-2877/+511
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23061 ↵SND\weimingzhi_cp2009-04-161-0/+3124
e17a0e51-4ae3-4d35-97c3-1a29b211df97