Commit graph

25 commits

Author SHA1 Message Date
wheremyfoodat
cb8b13e129 Support GLES on desktop 2024-12-28 19:52:42 +02:00
wheremyfoodat
7c5f7954e5 Libretro: Add system language option 2024-12-25 12:41:55 +02:00
wheremyfoodat
87652bfeda x64 Shader JIT: Optimize SSE4.1 blending path
Co-Authored-By: Burhan R <53955076+burhanr13@users.noreply.github.com>
2024-11-28 21:36:16 +02:00
wheremyfoodat
a11019150a Libretro: Add more audio settings 2024-11-28 19:10:55 +02:00
wheremyfoodat
b251f84ab1 DSP: Add option to enable/disable AAC 2024-11-28 19:10:55 +02:00
wheremyfoodat
1c5c03f8d4
Libretro: Fix changing the enable audio setting at runtime 2024-11-21 22:15:55 +02:00
wheremyfoodat
238d84ba3b
DSP: Default to HLE 2024-10-20 21:45:08 +03:00
wheremyfoodat
49a94a13c5
Moar shader decompiler (#559)
* Renderer: Add prepareForDraw callback

* Add fmt submodule and port shader decompiler instructions to it

* Add shader acceleration setting

* Hook up vertex shaders to shader cache

* Shader decompiler: Fix redundant compilations

* Shader Decompiler: Fix vertex attribute upload

* Shader compiler: Simplify generated code for reading and faster compilation

* Further simplify shader decompiler output

* Shader decompiler: More smallen-ing

* Shader decompiler: Get PICA uniforms uploaded to the GPU

* Shader decompiler: Readd clipping

* Shader decompiler: Actually `break` on control flow instructions

* Shader decompiler: More control flow handling

* Shader decompiler: Fix desitnation mask

* Shader Decomp: Remove pair member capture in lambda (unsupported on NDK)

* Disgusting changes to handle the fact that hw shader shaders are 2x as big

* Shader decompiler: Implement proper output semantic mapping

* Moar instructions

* Shader decompiler: Add FLR/SLT/SLTI/SGE/SGEI

* Shader decompiler: Add register indexing

* Shader decompiler: Optimize mova with both x and y masked

* Shader decompiler: Add DPH/DPHI

* Fix shader caching being broken

* PICA decompiler: Cache VS uniforms

* Simply vertex cache code

* Simplify vertex cache code

* Shader decompiler: Add loops

* Shader decompiler: Implement safe multiplication

* Shader decompiler: Implement LG2/EX2

* Shader decompiler: More control flow

* Shader decompiler: Fix JMPU condition

* Shader decompiler: Convert main function to void

* PICA: Start implementing GPU vertex fetch

* More hw VAO work

* More hw VAO work

* More GPU vertex fetch code

* Add GL Stream Buffer from Duckstation

* GL: Actually upload data to stream buffers

* GPU: Cleanup immediate mode handling

* Get first renders working with accelerated draws

* Shader decompiler: Fix control flow analysis bugs

* HW shaders: Accelerate indexed draws

* Shader decompiler: Add support for compilation errors

* GLSL decompiler: Fall back for LITP

* Add Renderdoc scope classes

* Fix control flow analysis bug

* HW shaders: Fix attribute fetch

* Rewriting hw vertex fetch

* Stream buffer: Fix copy-paste mistake

* HW shaders: Fix indexed rendering

* HW shaders: Add padding attributes

* HW shaders: Avoid redundant glVertexAttrib4f calls

* HW shaders: Fix loops

* HW shaders: Make generated shaders slightly smaller

* Fix libretro build

* HW shaders: Fix android

* Remove redundant ubershader checks

* Set accelerate shader default to true

* Shader decompiler: Don't declare VS input attributes as an array

* Change ubuntu-latest to Ubuntu 24.04 because Microsoft screwed up their CI again

* fix merge conflict bug
2024-10-19 16:53:51 +03:00
Jonian Guveli
f1b7830952
Libretro: Complete code formatting (#594)
* Libretro: Optimize range settings, fix default values

* Libretro: More code formatting

* Libretro: Fix loading of archived roms
2024-09-06 00:43:41 +03:00
Jonian Guveli
dfc7b59de2 Get application version from git 2024-08-20 12:30:19 +03:00
Jonian Guveli
24bb295d82 Libretro: Expose FCRAM pointer 2024-08-18 23:02:02 +03:00
wheremyfoodat
6e65367e07
size_t -> usize 2024-08-03 12:52:52 +03:00
Jonian Guveli
68a6d73a18 Libretro: Add support for cheats 2024-08-03 10:32:26 +03:00
Jonian Guveli
8611e98b92 Libretro: Add support for touch input 2024-07-20 23:21:00 +03:00
wheremyfoodat
4214d9bce4 Adjust ubershader defaults 2024-07-20 17:45:14 +03:00
wheremyfoodat
8091e44206 Add shadergen lighting override options to LR core 2024-07-20 03:48:48 +03:00
wheremyfoodat
9415cee59a Enable shadergen by default for now 2024-07-19 18:02:42 +03:00
wheremyfoodat
aad7bb817e Add setting for ubershaders 2024-07-17 02:25:38 +03:00
wheremyfoodat
0ecdf00e64 Add accurate shader multiplication option 2024-07-16 22:14:01 +03:00
wheremyfoodat
6f6167a201
Fix LR variable fetch error 2024-07-09 20:56:47 +03:00
wheremyfoodat
a12b721c95 More formatting 2024-07-09 16:52:09 +03:00
wheremyfoodat
623a9a64d6 LR: Format/Cleanup 2024-07-09 16:11:25 +03:00
Jonian Guveli
c7e22c540d Libretro: Use libretro save dir for emulator files 2024-07-09 14:49:44 +03:00
Jonian Guveli
0a49dc0af7 Libretro: Various fixes and optimizations 2024-07-09 14:47:44 +03:00
Jonian Guveli
d47e964c80 Libretro: Initial implementation 2024-07-04 00:50:13 +03:00