Commit graph

74 commits

Author SHA1 Message Date
wheremyfoodat
bf125bf2cf Merge branch 'master' into dynapica 2023-06-10 12:55:43 +03:00
Wunkolo
2c94d0d683 Add Helpers:{getBits,getBit}
`constexpr` functions for extractint bitfields that lends itself a bit
better to emitting instructions like `bextr` on x86 or `ubfx` on arm64.
And may subjectively make things a bit more readable.
"Extract `5` bits" rather than `& 0x1F`.
2023-06-10 00:48:06 -07:00
wheremyfoodat
2cb249927e [ShaderJIT] FIx crashes, moar instructions 2023-06-10 01:28:28 +03:00
wheremyfoodat
1aea8199c5 [ShaderJIT] CALL, DP4, IFC, IFU, MUL, RSQ 2023-06-10 00:58:38 +03:00
wheremyfoodat
ca3ae7a16e [Shader JIT] Add more function definitions 2023-06-09 17:14:04 +03:00
wheremyfoodat
fd411245fa [Shader JIT] Get first JIT trangle 2023-06-09 02:28:59 +03:00
wheremyfoodat
9bb1f31fc9 [ShaderJIT] Add MOV 2023-06-09 00:46:17 +03:00
wheremyfoodat
fb11fd4440 Fix merge conflict screwing up everything 2023-06-08 22:50:59 +03:00
wheremyfoodat
46a47912d8 [ShaderJIT] Add const qualifier to JIT callbacks 2023-06-08 22:48:37 +03:00
wheremyfoodat
77cba3110d [Shader JIT] Add prologue & some more compilation stuffs 2023-06-08 22:22:28 +03:00
wheremyfoodat
415e276ef9 [Shader JIT] Moar 2023-06-08 18:51:03 +03:00
wheremyfoodat
6a70edca7e [Shader JIT[ Cache harder 2023-06-07 21:25:46 +03:00
wheremyfoodat
4064abfdeb [Shader JIT] Add caching 2023-06-07 20:33:37 +03:00
wheremyfoodat
364443d66f Moar 2023-06-07 18:22:07 +03:00
wheremyfoodat
cf9ed3d460 More shader JIT groundwork 2023-06-07 17:44:46 +03:00
wheremyfoodat
4541841da5 More boilerplate 2023-06-07 02:57:00 +03:00
wheremyfoodat
9ac8817ee3 More vertex loader JIT files 2023-06-07 02:16:22 +03:00
wheremyfoodat
31bb1e8e0b Add Xbyak submodule 2023-06-07 01:01:59 +03:00
wheremyfoodat
cd1323d57e [PICA] == to >= in uniform upload 2023-05-08 23:05:47 +03:00
wheremyfoodat
ab5f6cf31c [PICA] Add slt, sgei 2023-04-26 21:46:10 +03:00
wheremyfoodat
3a674a1ba0 [FS] Implement ControlArchive 2023-04-12 02:19:16 +03:00
wheremyfoodat
c6fed2641c [PICA] Implement SLTI 2023-03-12 05:05:19 +02:00
wheremyfoodat
26cce7c58f [PICA] Implement madi 2023-03-12 04:55:06 +02:00
wheremyfoodat
672e782990 [PICA] Implement FLR 2023-03-12 04:47:34 +02:00
wheremyfoodat
63075f1830 [PICA] Indexed add 2023-03-12 04:39:27 +02:00
wheremyfoodat
e69e95af69 [FS] Implement SaveData sort of. 2023-03-12 03:19:46 +02:00
wheremyfoodat
9f61fc0a4e [PICA] Implement JMPC 2023-03-11 00:06:42 +02:00
wheremyfoodat
3be6553207 [PICA] Add JMPU 2023-03-10 04:50:47 +02:00
wheremyfoodat
9f7a86fc01 [PICA] Add support for nested command lists 2023-03-10 04:39:41 +02:00
wheremyfoodat
4b85ac8cc5 [PICA] Implement CALLC 2023-03-10 00:00:54 +02:00
wheremyfoodat
922424b8d0 Immediate mode vertex submission attempt 1 2023-03-06 01:43:39 +02:00
wheremyfoodat
6ecdf71dbc [PICA] Add VSH_ATTR_NUM to reg definition 2023-03-06 01:24:05 +02:00
wheremyfoodat
e9673c9255 [PICA] Add DepthmapEnable reg to enum 2023-03-04 03:32:11 +02:00
wheremyfoodat
f9669ce79c [PICA] Add depth buffer format reg 2023-03-03 00:58:36 +02:00
wheremyfoodat
8d82ffeee7 [PICA] Commit forgotten texture code (Oops) 2023-02-27 15:39:27 +02:00
wheremyfoodat
bf34410e4b [PICA] Blending register definitions 2023-02-27 01:59:28 +02:00
wheremyfoodat
e80679fe77 Geometry pipeline v2
Co-Authored-By: Sky <skylersaleh@gmail.com>
2023-02-26 20:41:33 +02:00
wheremyfoodat
dd17b2ecb8 [PICA] Start working on textures 2023-01-31 21:34:42 +02:00
wheremyfoodat
bbb62a83d0 [PICA] Implement RCP 2023-01-07 01:34:34 +02:00
wheremyfoodat
ecbb33b906 [GPU] Surface cache vol 1 2023-01-02 15:01:17 +02:00
wheremyfoodat
57ef4e25e7 Separate renderer and PICA completely 2023-01-01 22:06:54 +02:00
wheremyfoodat
e1ac986009 [GPU] DMA 2022-12-11 21:32:36 +02:00
wheremyfoodat
448f84ceb4 [PICA] Implement MAX 2022-12-07 02:31:41 +02:00
wheremyfoodat
f9079f9dce [Shader interpreter] Implement CALL 2022-10-12 00:28:50 +03:00
wheremyfoodat
5f7804e99f [GPU] Stub FlushCacheRange, increase size of shader memory 2022-10-09 19:48:51 +03:00
wheremyfoodat
8b85255f4c [PICA] Alpha test and some new registers 2022-10-01 02:40:08 +03:00
wheremyfoodat
4d1bb6f866 [PICA] Fix more shader bugs 2022-09-27 02:27:41 +03:00
wheremyfoodat
f90dd2d60b [PICA] Start fixing shader bugs & adding depth (Breaks Mario for now :( ) 2022-09-27 00:31:59 +03:00
wheremyfoodat
979519f785 [PICA interpreter] Implement RSQ, MAD, CALLU and boot SM64 2022-09-26 01:05:03 +03:00
wheremyfoodat
f4fabdae40 [PICA interpreter] Implement min 2022-09-26 00:07:59 +03:00