Commit graph

22 commits

Author SHA1 Message Date
Carlos R
3d1184f990 *Removed vertex stride from the ucode cache, now vertex stride its applied at compile time for all microcodes
*Removed GBI0_Tri4 (F3D microcode doesn't support it)
*Moved GBI0_Tri4 implementation to Ucode_GE.h since this is actually part of the custom microcode used by GE and PD.
2020-07-04 17:37:52 -07:00
Carlos R
6733dbc19d F3D improvements
*Implemented CullDL for F3D microcode, small speed up for games that use this, ex Wave Race 64
*Fixed max light constant for F3D/EX/2
*Continue WIP to optimize the vertex indices at compile time  (F3D its done now)
2020-07-02 22:37:56 -07:00
Carlos R
ee22e26003 More bound checks
*Implemented IsVertexInfoValid to add proper bound checking our vertextinfo
*Implemented IsAddressValid to add proper bound checking when referencing an N64 ram address, currently its only used for DMA_Tri_DKR
*Fixed bug bugged addresses in DKR ucode
*Removed now redundant bound checks, some of these were either wrong pr inconsistent
2020-06-27 13:53:06 -07:00
Ben Slater
6a725bf99e Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings 2019-05-03 17:43:44 +10:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
mrbenslater
2e6cf17baa Move more debug stuff out of Release 2019-01-21 19:58:47 +11:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
strmnnrmn
1e9e443f79 [*] Get rid of the PSPRenderer singleton, and implement as a simple gRenderer pointer. This gets rid of the PSPRenderer typename everywhere, which will make the next step easier (adding an OSXRenderer, and making that and PSPRenderer derive from BaseRenderer. Also in this commit, fixed a bunch of mixed tabs/spaces and formatting.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1107 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 15:46:18 +00:00
salvy
f40c2467c1 [-] Opps! Reverted previous commit
[~] Some minor clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@940 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 05:24:50 +00:00
salvy
ec720ad37c [!] Optimized Tri ucodes (convert MicroCodeCommand reference to pointer to easily access next command)
Note: We could avoid this convention by declaring MicroCodeCommand as pointer instead of reference, but this causes the compiler to no longer optimize our bitfields with (ext/inst)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@939 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 03:44:48 +00:00
strmnnrmn
a64b8252fa [~] Some minor ucode cleanup
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@917 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:23 +00:00
strmnnrmn
0e698c385d Fix all the remaining mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00
strmnnrmn
767e4efd9c Fix line endings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
salvy
4f68cee2d2 [!] Optimized Dlist loop (Now it only checks the Dlist counter when needed, also counter resets in go)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@780 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-15 10:00:54 +00:00
Corn
45f6ecc182 [!] Additional fixes to T1 hack
[!] Clean up tris culling
[!] Optimization of zero size tris for GE and PD

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@619 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-22 19:39:43 +00:00
Salvy
5b4d2610e2 [!] Some clean ups
[!] Removed sanity checks from release mode in WRUS Vtx (it should never happen anyways)
[!] Removed sanity checks from release mode in GBI1 Vtx (Only game that sets this is Quake II which eventually crashes anyways due clipping too many verts)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@487 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-18 20:24:34 +00:00
Corn
32b96decfb [!] Fixed some compile errors and rendering logic
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@486 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-17 19:25:23 +00:00
Salvy
e32107e4b1 [!] Some small optimizations in PSPRenderer
[!] Made debug only sanity checks in GBI0 Vtx
[!] Do not render empty? tris in Tri4 (GE and PD)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@485 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-17 17:42:26 +00:00
Corn
092dc48a18 [!] Made inline of some functions in PSPRenderer
[!] Made Debug Dlist spam less for cleaner looking output to file

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@483 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-10 18:02:35 +00:00
Corn
6c4d2df0c6 [!] Semi fixed Extreme-G2 with a hack(does not clear zbuffer and uses setprimdepth on geometry)
[!] Made old TMEM implementation compatible with recent changes in S2DEX
[!] Big overhaul on Debug Dlist formating to make it easier to read

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 16:54:45 +00:00
Salvy
479fa8b569 [!] Some clean ups
[!] Moved Yoshi_MemRect to S2DEX, also it'll be used from S2DEX_RDPHalf_0 to avoid adding overhead to TexRect
[!] Fixed debug build
[!] Removed redundancy in makefile



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@432 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-07 15:13:45 +00:00
Salvy
32acd8a57b [!] Sorted all ucodes and moved them to headers to make development easier and make sure cod placement is optimal (Note : More clean ups and sorting are needed)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@407 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 15:47:29 +00:00