Commit Graph
100 Commits
Author SHA1 Message Date
wheremyfoodat d214517d0e Pretty images 2023-07-06 01:29:33 +03:00
wheremyfoodatandGitHub f630d519ea Merge pull request #70 from wheremyfoodat/gl_state
More efficient OpenGL state management
2023-07-06 00:51:06 +03:00
wheremyfoodat 883e1d4bd0 Madness trying to optimize assembly by reordering statements 2023-07-05 22:16:15 +03:00
wheremyfoodat 53db56ad9d [GPU] Set lightingLUTDirty to true on reset because paranoia 2023-07-05 21:48:30 +03:00
wheremyfoodat 52c7783ae1 [OpenGL] Same for depth func 2023-07-05 19:08:13 +03:00
wheremyfoodat 7307bd270b [OpenGL] Same for depth mask 2023-07-05 18:54:09 +03:00
wheremyfoodat d80785cbb5 [OpenGL] More efficient colour mask handling 2023-07-05 18:23:14 +03:00
wheremyfoodat feacb9359d Formatting 2023-07-05 02:59:54 +03:00
wheremyfoodat dd3e1ea72b Ditch more uniforms 2023-07-05 01:37:18 +03:00
wheremyfoodat c282a44c27 [OpenGL renderer] Fewer uniform uploads 2023-07-05 01:12:13 +03:00
wheremyfoodat 3e18281a99 Remove outdated comments 2023-07-05 00:46:34 +03:00
wheremyfoodat 139c8759c9 More OpenGL state management stuff 2023-07-05 00:43:49 +03:00
wheremyfoodat e01f0ea4d0 [OpenGL] Add const to some functions 2023-07-05 00:02:52 +03:00
wheremyfoodat a3d8f777b4 PicaVertex -> PICA::Vertex 2023-07-04 23:40:47 +03:00
wheremyfoodat b403e9a66e Start work on GL state manager object 2023-07-04 23:27:38 +03:00
wheremyfoodatandGitHub ee49f89779 Merge pull request #61 from skylersaleh/lighting_impl
Implement Fragment Lighting (and clipping planes)
2023-07-04 20:52:16 +03:00
wheremyfoodat aa27389473 [GL renderer] Implement clipping planes 2023-07-04 20:33:14 +03:00
wheremyfoodat f7ad66c708 [PICA] Add some clipping definitions 2023-07-04 19:51:07 +03:00
wheremyfoodat 0cc8d0d8a4 Some GLSL formatting 2023-07-04 18:47:56 +03:00
wheremyfoodat e854d4ba63 Formatting 2023-07-04 18:15:27 +03:00
wheremyfoodatandGitHub 829ff6a123 Merge pull request #68 from wheremyfoodat/dynapica
[HID] Implement DisableAccelerometer/DisableGyroscopeLow (Fixes Kirby: Triple Deluxe)
2023-07-03 20:07:21 +03:00
wheremyfoodat 14356902ab [HID] Implement DisableAccelerometer/DisableGyroscopeLow 2023-07-03 19:50:42 +03:00
wheremyfoodatandGitHub ba0f4c5edd Merge pull request #66 from wheremyfoodat/dynapica
Fix false positives in crypto code hopefully
2023-07-03 17:53:47 +03:00
wheremyfoodat f262cf2836 Fix false positives in crypto code hopefully 2023-07-03 17:25:26 +03:00
wheremyfoodatandGitHub 0f64101ee5 Merge pull request #64 from wheremyfoodat/dynapica
Separate user and dev builds
2023-07-03 14:12:01 +03:00
wheremyfoodatandWunk 50c0c7fea5 Try to tone down warnings
Co-Authored-By: Wunk <wunkolo@gmail.com>
2023-07-03 14:11:28 +03:00
wheremyfoodatandGitHub a8bfeaf0a9 Merge pull request #65 from wheremyfoodat/wheremyfoodat-patch-1
Make PSI happy
2023-07-02 23:16:00 +03:00
wheremyfoodatandGitHub d5d8f869e4 Update idle_thread.cpp 2023-07-02 23:00:15 +03:00
wheremyfoodat a86bd12423 Merge branch 'master' into dynapica 2023-07-02 22:38:54 +03:00
wheremyfoodat 0b2ff6c5c8 Separate user and dev builds 2023-07-02 22:36:45 +03:00
wheremyfoodatandGitHub eb5cc841df Merge pull request #63 from wheremyfoodat/dynapica
[NCCH loader] Fix crypto check
2023-07-02 20:20:53 +03:00
wheremyfoodat cba1b9f39b [NCCH loader] Fix crypto check 2023-07-02 20:18:34 +03:00
wheremyfoodatandGitHub 5144df7e9c Merge pull request #62 from wheremyfoodat/wheremyfoodat-patch-1
Stop downloading LLVM on MacOS CI
2023-07-02 17:46:37 +03:00
wheremyfoodatandGitHub cb25158184 Stop downloading LLVM on MacOS CI 2023-07-02 17:10:47 +03:00
wheremyfoodatandGitHub 47668b6a7b Merge pull request #60 from wheremyfoodat/time
Make 3DS clock return system time and not UTC time
2023-07-02 01:31:18 +03:00
wheremyfoodat 8930d44f5d Proper daylight savings time check 2023-07-02 01:07:10 +03:00
wheremyfoodat 117c6dfb97 Make 3DS clock return system time and not UTC time 2023-07-02 00:56:56 +03:00
wheremyfoodatandGitHub 14d287dbd7 Merge pull request #59 from skylersaleh/vertex_refactor
Refactored Vertex Pipeline to always use Pica Formatted Vertex
2023-07-01 22:56:45 +03:00
wheremyfoodat 1ac3a474da Fix formatting & cmake 2023-07-01 22:35:07 +03:00
wheremyfoodatandGitHub 59291c2c4b Merge pull request #53 from wheremyfoodat/GamingProcessingUnit
GPU stuff (Fixed TEV, optional shader->x64 recompilation, vertex cache and more)
2023-07-01 21:27:53 +03:00
wheremyfoodatandGitHub ba51c3ce7c Merge pull request #58 from wheremyfoodat/dynapica
[Readme] Slightly smaller images
2023-07-01 21:27:25 +03:00
wheremyfoodat ea4b812765 [Readme] Slightly smaller images 2023-07-01 21:25:35 +03:00
wheremyfoodatandGitHub 416774042c Merge pull request #57 from SimoneN64/GamingProcessingUnit
Add slash to CLion build folders' .gitignore line
2023-07-01 20:49:22 +03:00
wheremyfoodatandGitHub 7f48334ffa Merge pull request #55 from wheremyfoodat/dynapica
Fix triangle fans
2023-07-01 16:58:44 +03:00
wheremyfoodat 66d71f817c Fix triangle fans 2023-07-01 16:39:33 +03:00
wheremyfoodatandGitHub d0d7bbf038 Merge pull request #54 from wheremyfoodat/dynapica
Make LTO a proper CMake option
2023-07-01 13:43:08 +03:00
wheremyfoodat fb13672d20 [Readme] Remove line about AppleClang 2023-07-01 13:42:54 +03:00
wheremyfoodat 4d46f4a3a7 Make LTO a proper CMake option 2023-07-01 13:22:41 +03:00
wheremyfoodatandGitHub 7cc9596eff Merge pull request #39 from wheremyfoodat/dynapica
Vertex shaders & vertex loader -> x64 JIT
2023-07-01 03:58:49 +03:00
wheremyfoodat 17d57bd933 Specify vertex assembler JIT is currently unimplemented 2023-07-01 03:45:56 +03:00
wheremyfoodat ba6779cfa1 Temporarily disable shader JIT by default 2023-07-01 03:43:44 +03:00
wheremyfoodat 0720dd4a1a Update images 2023-07-01 03:41:41 +03:00
wheremyfoodat 7d56af26af [Shader interpreter] Add LG2/EX2 2023-07-01 02:17:19 +03:00
wheremyfoodat 005db316cf More shader instruction definitions 2023-07-01 01:17:04 +03:00
wheremyfoodat 726897231c [Shader JIT] Fix swizzle when loading from indexed reg 2023-07-01 00:49:34 +03:00
wheremyfoodat 5fecb6023a [Shader JIT] Fix MAD (again) 2023-06-30 23:59:34 +03: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
wheremyfoodat 3199f8ae67 [Shader JIT] Stub EMIT/SETEMIT 2023-06-30 14:39:25 +03:00
wheremyfoodat 3476d336ca [Shader JIT] Implement SLT/SLTI/MADI 2023-06-30 14:17:35 +03:00
wheremyfoodat 8a13b8c878 [Shader JIT] Compile MAD to FMA when possible 2023-06-30 02:02:56 +03:00
wheremyfoodat cd04ed3770 [ShaderJIT] Fix storeRegister kinda hackily 2023-06-30 01:42:36 +03:00
wheremyfoodat 121653b806 [ShaderJIT] Add logging utility for diffing 2023-06-29 22:02:17 +03:00
wheremyfoodat 84fd0affa8 [GL renderer] Fix up float * vec4 mul 2023-06-29 21:37:31 +03:00
wheremyfoodat 3603ee1e13 [ShaderJIT] Move prepare call to top of DrawArrays 2023-06-29 18:50:10 +03:00
wheremyfoodat 2ffb3a58bf Merge branch 'GamingProcessingUnit' into dynapica 2023-06-29 01:14:40 +03:00
wheremyfoodatandGitHub 1a9c59af49 Merge pull request #51 from wheremyfoodat/vertex-cache
[GPU] Implement vertex cache
2023-06-29 01:13:49 +03:00
wheremyfoodat 3ec446b0a2 [GPU] Implement vertex cache 2023-06-29 00:56:01 +03:00
wheremyfoodat b027cda648 [Shader JIT[ Remove shadow stack stuff, remove pushing/popping context pointer 2023-06-28 22:31:51 +03:00
wheremyfoodat 28e9d87573 [Shader JIT] Start migrating to new, better ABI 2023-06-28 22:22:09 +03:00
wheremyfoodatandGitHub fc7e0b2b03 Merge pull request #46 from Wunkolo/io-file-cpp
Migrate `IOFile` implementation to `io_file.cpp`
2023-06-28 04:00:39 +03:00
wheremyfoodat d028c1cb64 Bonk headers 2023-06-28 03:39:04 +03:00
wheremyfoodat f65d9480a5 Merge remote-tracking branch 'upstream/master' into io-file-cpp 2023-06-28 03:22:58 +03:00
wheremyfoodatandGitHub 6dde41f7c3 Merge pull request #50 from nadiaholmquist/feature/basic-controller-input
Add basic controller input using the SDL2 GameController API
2023-06-28 02:56:24 +03:00
wheremyfoodat e09eaee6e7 Merge branch 'master' into io-file-cpp 2023-06-28 02:53:26 +03:00
wheremyfoodat e86aec0c33 More clang-format 2023-06-28 01:53:26 +03:00
wheremyfoodat eff25180d5 [Controller] Set gameControllerID if a gamepad is connected mid-gameplay 2023-06-28 01:51:21 +03:00
wheremyfoodat 29806ff8e5 clang-format 2023-06-28 01:48:34 +03:00
wheremyfoodat 71582eff6d [Controller] Slightly better analog handling 2023-06-28 01:40:23 +03:00
wheremyfoodat bc4e71bf40 [Controller] Fix breaks, constexpr 2023-06-28 00:58:40 +03:00
wheremyfoodat acd21c6908 Merge remote-tracking branch 'upstream/master' into feature/basic-controller-input 2023-06-28 00:20:54 +03:00
wheremyfoodatandGitHub 6f2c72070d Merge pull request #45 from marysaka/feat/encrypted_games
feat: Add support for encrypted NCSD
2023-06-28 00:15:14 +03:00
wheremyfoodat 41f29893c2 Fix merge 2023-06-28 00:10:44 +03:00
wheremyfoodat 02d07f29d7 Merge remote-tracking branch 'origin/GamingProcessingUnit' into dynapica 2023-06-27 18:53:59 +03:00
wheremyfoodat 747a9345e3 Some more thinning 2023-06-27 18:08:57 +03:00
wheremyfoodat 432b4b847b Making helpers.hpp thinner 2023-06-27 01:49:12 +03:00
wheremyfoodat 3cf8427670 [Crypto] Slightly more robust error handling 2023-06-27 01:12:17 +03:00
wheremyfoodatandGitHub bf85b405af Merge pull request #48 from Wunkolo/gl-object-label
Add OpenGL object-naming and scoping
2023-06-21 13:48:49 +03:00
wheremyfoodatandGitHub 91c9e6a31a Merge pull request #32 from fleroviux/pica-tev-emulation
Implement texture combiner emulation
2023-06-21 01:15:59 +03:00
wheremyfoodatandGitHub b3332aba70 Merge pull request #49 from Wunkolo/texture-env-reg
Add TexEnv PICA register offsets
2023-06-21 00:58:47 +03:00
wheremyfoodatandGitHub dbe293bb52 Merge pull request #43 from Wunkolo/pica-types
Add PICA texel-format and topology types
2023-06-20 13:26:58 +03:00
wheremyfoodatandGitHub c042dbc293 Merge pull request #44 from skylersaleh/macos_fixes
Work around compilation errors on macOS
2023-06-19 00:06:10 +03:00
wheremyfoodatandGitHub 88e3eb1558 Add std::bit_cast fallback for Helpers::bit_cast and run clang-format 2023-06-18 23:33:10 +03:00
wheremyfoodatandGitHub e5b09fefc8 Merge pull request #40 from wheremyfoodat/bottom-screen
Stub screens in a bit less of a sad way
2023-06-18 17:35:37 +03:00
wheremyfoodatandGitHub d0ae5f0546 Merge pull request #37 from marysaka/feat/proper-hle-result
hle: Add proper type for result code
2023-06-17 18:39:36 +03:00
wheremyfoodatandGitHub 0bd77856e5 Merge pull request #42 from marysaka/misc/glad
misc: Switch from gl3w to glad
2023-06-17 12:53:33 +03:00
wheremyfoodatandGitHub 6c29e3e0be Merge pull request #41 from marysaka/fix/linux-cstdint-helper
fix: fix build on Linux with gcc
2023-06-17 11:45:59 +03:00
wheremyfoodatandGitHub 1aab10bec7 Merge pull request #35 from Wunkolo/span-cpu-state
Use `std::span` for CPU register-state
2023-06-17 01:39:33 +03:00
wheremyfoodatandGitHub dafa919e1b Merge pull request #33 from Wunkolo/span-vertex
Use `std::span` to pass vertex data
2023-06-17 01:38:40 +03:00
wheremyfoodatandGitHub c6f5d19983 Merge pull request #34 from Wunkolo/pica-regs-helpers
Add missing header for regs.hpp
2023-06-16 16:05:07 +03:00