Commit graph

54 commits

Author SHA1 Message Date
Paris Oplopoios
af552edd9d
Remove dependency of PICA regs in fragment config ()
Remove dependency of PICA regs in fragment config

Nyom

Nyom part 2

Nyom 3: The final nyom

Nyom 4: The nyomening

Nyom 5: The final Nyom for real
2024-07-20 02:37:49 +03:00
wheremyfoodat
ac55c3e324 Shadergen: Fix small register decoding oopsie 2024-07-19 03:01:12 +03:00
wheremyfoodat
b4ae32960c Moar lighting 2024-07-18 20:10:20 +03:00
wheremyfoodat
7e480e35ec Shadergen: Upload light uniforms 2024-07-18 03:37:11 +03:00
wheremyfoodat
ed00ddc805 Improve lighting register definitions 2024-07-18 00:55:57 +03:00
wheremyfoodat
842943fa4c GLSL shader gen: Add alpha test (...half of it I guess) 2024-05-13 00:51:40 +03:00
wheremyfoodat
798c651a17 Merge branch 'specialized-shaderz' into specialized-shaders-2 2024-05-12 23:20:12 +03:00
wheremyfoodat
f004aa6021 Implement GPUREG_VSH_OUTMAP_MASK 2024-04-29 23:02:33 +03:00
wheremyfoodat
c13c8046d4 Detect passthrough TEV stages 2024-01-18 03:12:25 +02:00
wheremyfoodat
ef2467bc60 TEV definitions for shader generator 2024-01-18 02:59:29 +02:00
GPUCode
d6e5f658d6 renderer_gl: Proper viewport rendering
* I've also corrected a mistake made in the displayTransfer/textureCopy rectangles.
2023-08-12 12:42:28 +03:00
GPUCode
9417c75ca7 gsp: Fix setbufferswap framebuffer selection 2023-08-09 11:50:56 +03:00
GPUCode
f75a23b5a9 code: Better screen support 2023-08-02 22:26:08 +03:00
GPUCode
50bcf3b617 renderer_gl: Respect depth-stencil write flag 2023-07-26 22:13:41 +03:00
GPUCode
6f7874227c renderer_gl: Implement logic op 2023-07-26 22:08:20 +03:00
wheremyfoodat
95a8917589 renderer_gl: Implement stencil testing 2023-07-26 22:05:30 +03:00
wheremyfoodat
f7ad66c708 [PICA] Add some clipping definitions 2023-07-04 19:51:07 +03:00
wheremyfoodat
e854d4ba63 Formatting 2023-07-04 18:15:27 +03:00
Sky
12dbaeaeb0 [GL] Initial Implementation of Lighting LUTs 2023-07-02 16:14:11 -07:00
wheremyfoodat
e6f616cd59 Fix merge 2023-06-30 23:34:25 +03:00
wheremyfoodat
8b703dd147 Merge branch 'master' into dynapica 2023-06-30 16:01:49 +03:00
Wunkolo
9746dd5eb2 Add TexEnv PICA register offsets 2023-06-20 14:55:12 -07:00
fleroviux
7ebbfbf1ef [GPU] Remove magic constants in TEV and texture binding code as much as possible 2023-06-20 23:43:43 +02:00
fleroviux
4cb7e3625b Merge branch 'master' of github.com:fleroviux/Panda3DS into pica-tev-emulation 2023-06-20 22:47:47 +02:00
wheremyfoodat
952e2d6d22 More accurate VAO implementation 2023-06-18 23:20:28 +03:00
Wunkolo
6ee3f73335 Bisect TextureFmt and ColorFmt
Makes framebuffer-formats unrepresentable from texture formats while
allowing them to alias each other. Add utility functions as well that
just re-use the `TextureFmt` ones.
2023-06-18 08:22:14 -07:00
Wunkolo
134e16d8ea Replace Texture::Formats with PICA::ColorFmt
This enum was a duplicate of the PICA one. Now the PICA one is more
complete. Migrate `textureFormatToString` to be next to the enums
definition.
2023-06-18 00:10:04 -07:00
Wunkolo
5f07f77c94 Move hasStencil to regs.hpp 2023-06-17 23:27:19 -07: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
0199918cd2 Add missing header for regs.hpp
This enum was using the `u32` type without including `helpers.hpp`, causing weird intermediate compiler errors when making incremental builds.
2023-06-16 05:48:33 -07:00
wheremyfoodat
3a674a1ba0 [FS] Implement ControlArchive 2023-04-12 02:19:16 +03:00
wheremyfoodat
9f7a86fc01 [PICA] Add support for nested command lists 2023-03-10 04:39:41 +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
ecbb33b906 [GPU] Surface cache vol 1 2023-01-02 15:01:17 +02: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
a5c6fb858f [PICA] Implement int uniforms 2022-09-25 17:45:59 +03:00
wheremyfoodat
be4fae5104 Trongle 2022-09-24 02:45:57 +03:00
wheremyfoodat
92b7ca3b8c [PICA] We can now upload floating point uniforms 2022-09-23 14:15:04 +03:00
wheremyfoodat
9d48541e98 [PICA interpreter] Implement mov 2022-09-23 04:08:23 +03:00
wheremyfoodat
4b3c7955dd [PICA] Fixed vertex attribute uploads 2022-09-23 02:19:23 +03:00
wheremyfoodat
8770e6dc41 [PICA] Why is attribute fetching so hard 2022-09-23 00:55:16 +03:00