summaryrefslogtreecommitdiff
path: root/libpcsxcore/pgxp_gte.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix OSX debug buildMrLavender2017-06-271-0/+3
|
* Fix NCLIP related crashiCatButler2016-08-011-1/+1
| | | | - provide wider window where NCLIP can return 0 as this was causing a crash in RR:Revolution
* Additional checksiCatButler2016-07-021-4/+4
| | | | | | | - Change processor transfer functions to use take both source and destination values - Add enum values to all debug functions to double check instructions are correct - Temporarily store instruction codes in interpreter wrappers as these are sometimes changed by branching - Change recompiler wrapper functions to store register values in global variables in case they're changed by the original function
* Initialise GTE and CPU regsiters (invalidate)iCatButler2016-06-301-0/+2
|
* Imporved CPU integrationiCatButler2016-06-271-4/+13
| | | | | | | | | | | | | | | | | - 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-21/+0
| | | | | | | | | | - 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)
* Merge with OSX commitiCatButler2016-05-151-0/+5
|\
| * Fix build on OSXCarter Li2016-05-131-0/+4
| | | | | | | | Tested on OSX 10.11.4, Xcode v7.3
* | Implement vertex cachingiCatButler2016-05-151-0/+1
|/ | | | | | | - 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
* 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.
* - Fix memory addresses as each mirrored address range is further mirrored 4 ↵iCatButler2016-03-281-0/+3
| | | | | | | times... :( - Catch 8bit reads/writes and invalidate registers and memory as needed - Prevent reading over the end of stride and count arrays when decoding primitive commands
* - Move pgxp_gpu source files into correct folder.iCatButler2016-03-261-33/+36
| | | | - Trace 16 bit reads and writes, invalidate register or memory (fixes UI glitches)
* Initial upload of PGXP.iCatButler2016-03-251-0/+58