Commit graph

  • 747a9345e3 Some more thinning wheremyfoodat 2023-06-27 18:04:56 +03:00
  • 432b4b847b Making helpers.hpp thinner wheremyfoodat 2023-06-27 01:49:12 +03:00
  • 3cf8427670 [Crypto] Slightly more robust error handling wheremyfoodat 2023-06-27 01:12:17 +03:00
  • 0494ca0064 Address comments Mary 2023-06-20 08:31:31 +02:00
  • ef5329a0d4 fix: do not allocate exheader on the stack as it has a variable length Mary 2023-06-20 08:35:48 +02:00
  • 6bdc754e86 fix: Use CHAR_BIT instead of UINT8_WIDTH Mary 2023-06-19 23:35:08 +02:00
  • 86dd7f54f5 feat: Add support for encrypted NCSD Mary 2023-06-19 23:13:38 +02:00
  • 2e5bc0cb14 feat: crypto: Add basic AES keyslot manager Mary 2023-06-19 23:13:20 +02:00
  • bf85b405af
    Merge pull request #48 from Wunkolo/gl-object-label wheremyfoodat 2023-06-21 13:48:49 +03:00
  • 91c9e6a31a
    Merge pull request #32 from fleroviux/pica-tev-emulation wheremyfoodat 2023-06-21 01:15:59 +03:00
  • b3332aba70
    Merge pull request #49 from Wunkolo/texture-env-reg wheremyfoodat 2023-06-21 00:58:47 +03:00
  • 9746dd5eb2 Add TexEnv PICA register offsets Wunkolo 2023-06-17 22:16:03 -07:00
  • 7ebbfbf1ef [GPU] Remove magic constants in TEV and texture binding code as much as possible fleroviux 2023-06-20 23:43:43 +02:00
  • 7128ae5565 [GPU] Fix incorrect &-operator with unsigned and signed operand in the GLSL code fleroviux 2023-06-20 23:00:54 +02:00
  • 6b610a82d6 [GPU] Move texture binding into its own method fleroviux 2023-06-20 22:58:52 +02:00
  • 4cb7e3625b Merge branch 'master' of github.com:fleroviux/Panda3DS into pica-tev-emulation fleroviux 2023-06-20 22:47:47 +02:00
  • f8a8abd2c6 Merge branch 'master' of github.com:fleroviux/Panda3DS into pica-tev-emulation fleroviux 2023-06-20 22:34:39 +02:00
  • 901e3308a0 [GPU] Rename abgr8888_to_vec4() to abgr8888ToVec4() fleroviux 2023-06-20 22:33:12 +02:00
  • 2f19310c42 [GPU] Upgrade TEV functions and variables to Pesca style fleroviux 2023-06-20 22:28:58 +02:00
  • 7ad8a5041e [GPO] Use a_ and v_ prefixes for vertex shader inputs and outputs fleroviux 2023-06-20 22:21:59 +02:00
  • 2fc22bed24 [GPU] Decode GPUREG_TEXENVi_COLOR in the vertex shader as well fleroviux 2023-06-20 22:18:23 +02:00
  • ef7d01d1b1 [GPU] Decode GPUREG_TEXENV_BUFFER_COLOR in the vertex shader fleroviux 2023-06-20 22:09:14 +02:00
  • b7616cc9ec [GPU] Cleanup the TEV GLSL code a bit" fleroviux 2023-06-20 21:44:55 +02:00
  • 9b5a24329f [GPU] Simplify TEV source fetching by using an array to store the current source values fleroviux 2023-06-20 21:31:52 +02:00
  • 9386ce319b [GPU] Make the fragment shader GLSL a bit more readable. fleroviux 2023-06-20 21:06:34 +02:00
  • 13a53a9e9d [GPU] Disable the alpha combiner when the color combiner is in "Dot3 RGBA" configuration fleroviux 2023-06-20 20:46:01 +02:00
  • a30f9ccd33 [GPU] Treat color and alpha sources as two separate RGBA values fleroviux 2023-06-20 20:20:33 +02:00
  • 62fdb29646 Add GPU_DEBUG_INFO CMake-Option Wunkolo 2023-06-20 11:04:48 -07:00
  • dbf0597bd8 Add DebugScope utility-class for RAII-based OpenGL debug-scopes Wunkolo 2023-06-20 00:24:51 -07:00
  • dbe293bb52
    Merge pull request #43 from Wunkolo/pica-types wheremyfoodat 2023-06-20 13:26:58 +03:00
  • 1251cecc88 Add setObjectLabel for naming OpenGL functions Wunkolo 2023-06-19 23:31:14 -07:00
  • 1b9f270b19 Migrate IOFile implementation to io_file.cpp Wunkolo 2023-06-19 19:37:05 -07:00
  • 9b1ed2084f [GPU] Implement initial support for multi-texturing fleroviux 2023-06-20 00:01:12 +02:00
  • 170fe9a4b2 Merge branch 'GamingProcessingUnit' of github.com:fleroviux/Panda3DS into pica-tev-emulation fleroviux 2023-06-19 19:54:03 +02:00
  • c042dbc293
    Merge pull request #44 from skylersaleh/macos_fixes wheremyfoodat 2023-06-19 00:06:10 +03:00
  • 6b5ec74aa4 [OutputVertex] Avoid unnamed struct wheremyfoodat 2023-06-18 23:59:41 +03:00
  • 88e3eb1558
    Add std::bit_cast fallback for Helpers::bit_cast and run clang-format wheremyfoodat 2023-06-18 23:33:10 +03:00
  • 927bf9fe32 Merge branch 'GamingProcessingUnit' of github.com:fleroviux/Panda3DS into pica-tev-emulation fleroviux 2023-06-18 22:27:24 +02:00
  • 952e2d6d22 More accurate VAO implementation wheremyfoodat 2023-06-18 23:20:28 +03:00
  • e9b3b7c2a2 Add workaround helper for bit_cast and missing #include <bit> Sky 2023-06-18 12:33:34 -07:00
  • 6ee3f73335 Bisect TextureFmt and ColorFmt Wunkolo 2023-06-18 08:13:17 -07:00
  • e5b09fefc8
    Merge pull request #40 from wheremyfoodat/bottom-screen wheremyfoodat 2023-06-18 17:35:37 +03:00
  • 134e16d8ea Replace Texture::Formats with PICA::ColorFmt Wunkolo 2023-06-18 00:10:01 -07:00
  • 5f07f77c94 Move hasStencil to regs.hpp Wunkolo 2023-06-17 23:27:19 -07:00
  • 838d3f27f9 Migrate PICA-types into PICA namespace Wunkolo 2023-06-17 18:23:47 -07:00
  • 1416456035 [GPU] DOT3_RGB(A) modes should remap the operands from [0, 1] to [-1, +1] range fleroviux 2023-06-18 01:32:32 +02:00
  • 78a3f9fa23 Add PICA texel-format and topology types Wunkolo 2023-06-17 11:59:45 -07:00
  • 6d9964c64b misc: Improve kernel syscall checks Mary 2023-06-17 00:32:55 +02:00
  • d0ae5f0546
    Merge pull request #37 from marysaka/feat/proper-hle-result wheremyfoodat 2023-06-17 18:39:36 +03:00
  • 78827886fe Merge branch 'master' of github.com:fleroviux/Panda3DS into pica-tev-emulation fleroviux 2023-06-17 12:39:48 +02:00
  • 3aeef23b2e Merge branch 'bottom-screen' of github.com:fleroviux/Panda3DS into pica-tev-emulation fleroviux 2023-06-17 12:38:33 +02:00
  • 0bd77856e5
    Merge pull request #42 from marysaka/misc/glad wheremyfoodat 2023-06-17 12:53:33 +03:00
  • f3010f0909 misc: Switch from gl3w to glad Mary 2023-06-17 11:26:18 +02:00
  • 6c29e3e0be
    Merge pull request #41 from marysaka/fix/linux-cstdint-helper wheremyfoodat 2023-06-17 11:45:59 +03:00
  • a799da1ec5 fix: fix build on Linux with gcc Mary 2023-06-17 10:11:35 +02:00
  • c9642292aa [GPU] Do scale on the final texture combiner output, not the individual sources fleroviux 2023-06-17 02:06:05 +02:00
  • b854367676 [GPU] Move TEV uniforms update into its own method fleroviux 2023-06-17 01:58:30 +02:00
  • a368d77005 [GPU] respect GPUREG_TEXENVi_SCALE fleroviux 2023-06-17 01:42:53 +02:00
  • aef808cdfc [GPU] Cleanup TEV shader code to be less redundant fleroviux 2023-06-17 01:35:35 +02:00
  • c3acf2b393 [GPU] cleanup and optimize the TEV shader functions fleroviux 2023-06-17 01:27:26 +02:00
  • 5b3266be34 Fix merge conflict wheremyfoodat 2023-06-17 02:22:19 +03:00
  • 7b859ad602 Merge branch 'master' into bottom-screen wheremyfoodat 2023-06-17 02:19:30 +03:00
  • 245f0d2d18 Merge branch 'master' into bottom-screen wheremyfoodat 2023-06-17 02:11:14 +03:00
  • 1aab10bec7
    Merge pull request #35 from Wunkolo/span-cpu-state wheremyfoodat 2023-06-17 01:39:33 +03:00
  • dafa919e1b
    Merge pull request #33 from Wunkolo/span-vertex wheremyfoodat 2023-06-17 01:38:40 +03:00
  • 76d6140797 [GPU] Fix order of operands to mix() in the interpolation combine mode. fleroviux 2023-06-17 00:12:07 +02:00
  • bcf6401d4d [GPU] Output mangenta when an unimplemented TEV source is used fleroviux 2023-06-16 23:39:05 +02:00
  • 2f3bc5d38e [CPU] fprs() should return std::span<u32, 32> (Fixes memory corruption bug in threads.cpp) wheremyfoodat 2023-06-16 22:20:59 +03:00
  • 936302da2a Raise clang-format column size, make std::span support in opengl.hpp version-dependent wheremyfoodat 2023-06-16 22:06:59 +03:00
  • 122b1b2727 hle: Add proper type for result code Mary 2023-06-16 19:42:02 +02:00
  • 553d23974a Use std::span to pass vertex data Wunkolo 2023-06-16 07:28:35 -07:00
  • fde93381a5 Use std::span for CPU register-state Wunkolo 2023-06-16 07:24:34 -07:00
  • db2608eb14 Map pages properly maybe wheremyfoodat 2023-06-16 17:04:33 +03:00
  • c6f5d19983
    Merge pull request #34 from Wunkolo/pica-regs-helpers wheremyfoodat 2023-06-16 16:05:07 +03:00
  • 0199918cd2 Add missing header for regs.hpp Wunkolo 2023-06-16 05:48:33 -07:00
  • a174aa1e6a Add memory arena from Duckstation wheremyfoodat 2023-06-16 15:37:57 +03:00
  • 519fb35c5f Less UB wheremyfoodat 2023-06-16 14:22:29 +03:00
  • 2e85f30c10 [GPU] attempt to emulate the previous TEV color buffer fleroviux 2023-06-16 01:34:11 +02:00
  • d153133070 [GPU] fix missing break statements in 'previous' combiner mode implementation fleroviux 2023-06-16 00:52:00 +02:00
  • 1aa4dea63e [GPU] Add the remaining two TEV units fleroviux 2023-06-16 00:41:48 +02:00
  • e7435e3fdf [GPU] implement TEV combiner chaining and the remaining combine modes fleroviux 2023-06-16 00:33:42 +02:00
  • 525890bff7 [GPU] Upload configuration for all texture combiners to the shader program fleroviux 2023-06-15 23:27:33 +02:00
  • e66370598a Fix the formatting which I broke (sorry) fleroviux 2023-06-15 23:01:16 +02:00
  • 4322ebda2c [GPU] Start texture combiner implementation fleroviux 2023-06-15 22:45:13 +02:00
  • f8e89f4db1
    Merge pull request #31 from wheremyfoodat/discord-for-real wheremyfoodat 2023-06-15 19:42:57 +03:00
  • d4e2e78556
    Fix Discord link wheremyfoodat 2023-06-15 19:42:20 +03:00
  • 79c3cf2661 [Shader JIT] Less UB wheremyfoodat 2023-06-15 19:30:51 +03:00
  • cd77acdd28
    Merge pull request #29 from Wunkolo/clang-format wheremyfoodat 2023-06-15 12:00:38 +03:00
  • 9095bf4445
    Update .clang-format wheremyfoodat 2023-06-15 11:44:49 +03:00
  • dd0831361d Add .clang-format Wunkolo 2023-06-14 21:36:30 -07:00
  • 2e4ae1328a
    Add Discord badge for real wheremyfoodat 2023-06-15 04:02:44 +03:00
  • b378287f79
    Merge pull request #28 from wheremyfoodat/discord-badge wheremyfoodat 2023-06-15 03:56:23 +03:00
  • e55a4ab04b
    Add discord badge in readme wheremyfoodat 2023-06-15 03:55:33 +03:00
  • 19ab9b08e0 Add LTO toggle wheremyfoodat 2023-06-15 02:42:01 +03:00
  • 3cf4bdd95f [Shader JIT] Use rotl+xor for combining hashes wheremyfoodat 2023-06-15 01:58:00 +03:00
  • 18776702e0 Update images wheremyfoodat 2023-06-14 22:27:34 +03:00
  • 87ac4d5a0f {GL renderer] Better screen stub wheremyfoodat 2023-06-14 21:47:17 +03:00
  • b34d009520 Add comments explaining the hashing algorithms wheremyfoodat 2023-06-14 16:51:38 +03:00
  • f0f7327b90 [PICA] Switch to xxh3 by default wheremyfoodat 2023-06-14 15:39:29 +03:00
  • f82b27ddba Add xxhash wheremyfoodat 2023-06-14 14:46:11 +03:00