Commit graph

84 commits

Author SHA1 Message Date
wheremyfoodat
3ec446b0a2 [GPU] Implement vertex cache 2023-06-29 00:56:01 +03:00
fleroviux
4cb7e3625b Merge branch 'master' of github.com:fleroviux/Panda3DS into pica-tev-emulation 2023-06-20 22:47:47 +02:00
fleroviux
9b1ed2084f [GPU] Implement initial support for multi-texturing 2023-06-20 00:01:12 +02:00
wheremyfoodat
6b5ec74aa4 [OutputVertex] Avoid unnamed struct 2023-06-18 23:59:41 +03:00
wheremyfoodat
952e2d6d22 More accurate VAO implementation 2023-06-18 23:20:28 +03:00
Wunkolo
838d3f27f9 Migrate PICA-types into PICA namespace
Rather than prefixing these types with `PICA`, a namespace is used instead.
2023-06-17 18:23:47 -07:00
Wunkolo
78a3f9fa23 Add PICA texel-format and topology types
Slowly stepping the codebase towards having renderer-agnostic types and keeping the translation of PICA-types to OpenGL/VK/DX/Software/etc to the renderer-backend.
2023-06-17 12:26:41 -07:00
Wunkolo
553d23974a Use std::span to pass vertex data
Starts utilizing
[std::span](https://en.cppreference.com/w/cpp/container/span) to
indicate a non-owning view of a contiguous array of elements rather than
`T* data, usize count`.
2023-06-16 07:28:35 -07:00
wheremyfoodat
ccd7ef3a23 [DSP] Add other pipes for Picross 3D 2023-06-11 14:11:50 +03:00
wheremyfoodat
cba1ce8fb8 Implement 8-bit VRAM writes 2023-06-11 13:14:35 +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
392fa6e595 [PICA] Fix slti/sgei operand descriptor 2023-04-26 21:55:18 +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
eaa7b4d55b [PICA] Implement immediate mode triangle strip & fan 2023-04-11 20:06:18 +03:00
wheremyfoodat
4bef096f04 [FS] Add directory stuff, clean up 2023-03-29 00:23:55 +03:00
wheremyfoodat
5d6bf24a9d [Kernel] Add memory mirroring function & throw warning on mprotect 2023-03-21 02:32:47 +02: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
d24a61d5a7 [PICA] Warning when invalid source is accessed & return 0 2023-03-11 23:08: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
53d25ba075 [PICA] We do some more DMAing 2023-03-09 04:14:26 +02:00
wheremyfoodat
1dc091c444 [PICA] Panic on nested CMD lists 2023-03-07 22:27:06 +02:00
wheremyfoodat
922424b8d0 Immediate mode vertex submission attempt 1 2023-03-06 01:43:39 +02:00
wheremyfoodat
f9669ce79c [PICA] Add depth buffer format reg 2023-03-03 00:58:36 +02:00
wheremyfoodat
3912fd4779 [PICA] Add blending, proper toggle between vertex colour & tex 2023-02-28 02:41:44 +02:00
wheremyfoodat
1d6e5c8bb6 Fix the build cause I forgot to push this 2023-02-27 02:00:00 +02:00
wheremyfoodat
e80679fe77 Geometry pipeline v2
Co-Authored-By: Sky <skylersaleh@gmail.com>
2023-02-26 20:41:33 +02:00
wheremyfoodat
1019f65824 Fix Fedora build 2023-02-18 00:57:42 +02:00
wheremyfoodat
ccdab41c28 [PICA] More textures. Upstream should also build now 2023-02-01 01:53:51 +02:00
wheremyfoodat
708bf9f040 Fix merge failure 2023-01-13 22:59:25 +02:00
wheremyfoodat
bbb62a83d0 [PICA] Implement RCP 2023-01-07 01:34:34 +02:00
wheremyfoodat
e9217722f1 oops 2023-01-02 15:01:46 +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
9f792c2cf5 Add thread logger, split renderer from PICA 2023-01-01 21:04:34 +02:00
wheremyfoodat
23a6ef447f Stuffs 2022-12-31 15:54:24 +02:00
wheremyfoodat
2fe65a58a1 [PICA] Fix shader on Nvidia 2022-12-30 17:51:30 +02:00
wheremyfoodat
e1ac986009 [GPU] DMA 2022-12-11 21:32:36 +02:00
wheremyfoodat
8f796352a6 Fix typos 2022-12-11 03:12:20 +02:00
wheremyfoodat
a58e8a3c97 [PICA] Add idx to DP3/DP4 2022-12-08 00:28:38 +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
c4be91588d [PICA] Stub triangle strips, implement indexed rendering (hopefully correctly) 2022-10-12 00:21:16 +03:00