Commit graph

1040 commits

Author SHA1 Message Date
wheremyfoodat
d125180847 Shader decompiler: Add FLR/SLT/SLTI/SGE/SGEI 2024-07-28 17:48:16 +03:00
wheremyfoodat
6c738e821d Moar instructions 2024-07-28 16:06:38 +03:00
wheremyfoodat
9ee1c3964a Shader decompiler: Implement proper output semantic mapping 2024-07-28 15:36:22 +03:00
wheremyfoodat
37d7bad5aa Disgusting changes to handle the fact that hw shader shaders are 2x as big 2024-07-28 03:38:23 +03:00
wheremyfoodat
5eb15de431 Shader decompiler: More control flow handling 2024-07-26 22:02:03 +03:00
wheremyfoodat
67ff1ccb8b Shader decompiler: Get PICA uniforms uploaded to the GPU 2024-07-26 14:28:48 +03:00
wheremyfoodat
fd90cf7d9f Merge branch 'master' into shader-decomp 2024-07-26 12:57:46 +03:00
wheremyfoodat
11e7eb7fd6 SDL: Fixup touchscreen code 2024-07-26 12:08:10 +03:00
wheremyfoodat
d9f4f3736f Shader Decompiler: Fix vertex attribute upload 2024-07-26 00:21:26 +03:00
wheremyfoodat
efcb42af2c Shader decompiler: Fix redundant compilations 2024-07-25 23:36:22 +03:00
wheremyfoodat
69accdec54 Merge branch 'master' into shader-decomp 2024-07-25 22:27:15 +03:00
wheremyfoodat
2abf642922
Merge pull request #561 from wheremyfoodat/uniformz
Add SDL resizing & optimize GL shadergen
2024-07-25 17:39:26 +00:00
wheremyfoodat
32ddc28789 Shadergen: Move fog colour to uniform 2024-07-25 20:18:30 +03:00
wheremyfoodat
a0e506affc Share fragment UBO between shadergen programs 2024-07-25 19:51:29 +03:00
Jonian Guveli
19b69bbdc2 Qt: Stop emuThread on closeEvent 2024-07-25 11:04:57 +03:00
wheremyfoodat
2f4c169cad Hook up vertex shaders to shader cache 2024-07-25 04:04:41 +03:00
wheremyfoodat
251ff5ee49 Add shader acceleration setting 2024-07-25 00:19:07 +03:00
wheremyfoodat
90f411889b Renderer: Add prepareForDraw callback 2024-07-24 23:23:24 +03:00
wheremyfoodat
be75fa43a3 More shader->GLSL recompiler work 2024-07-24 02:03:29 +03:00
wheremyfoodat
c319e59545
Resizing window on Qt (#556)
* Qt: Add screen resize

* Qt: Allocate screen on heap for setCentralWidget

* Fix header inclusion order

* Switch to std::function for resize callback

* rdeepfried
2024-07-23 23:13:14 +03:00
wheremyfoodat
0f80d0af7a Rename Handle to HorizonHandle, add metal-cpp submodule, format 2024-07-23 15:22:15 +03:00
wheremyfoodat
e4d4a35674 Renderer GL: Add UB checks 2024-07-23 04:11:12 +03:00
wheremyfoodat
850aadb0f6 Update Linux version on CI 2024-07-23 02:25:40 +03:00
wheremyfoodat
0aa1ed21b2 More shader decompiler work 2024-07-23 01:22:26 +03:00
wheremyfoodat
a5ea268826 Merge branch 'master' into nyom 2024-07-22 15:46:27 +03:00
wheremyfoodat
85af58f0a7 Remove shader-related hallucinations 2024-07-22 02:06:24 +03:00
wheremyfoodat
2d72b66042 Initial shader decompilation work 2024-07-22 01:47:34 +03:00
wheremyfoodat
cb2448a004
Merge pull request #549 from OFFTKP/fog
Implement fog
2024-07-21 19:01:13 +00:00
wheremyfoodat
9bd711958b Add -Wno-interference-size flag for GNUC 2024-07-21 21:46:23 +03:00
offtkp
b8712b37c3 A few kissable changes 2024-07-21 18:26:02 +03:00
wheremyfoodat
d7bca1460c Merge branch 'master' into nyom 2024-07-21 17:52:15 +03:00
wheremyfoodat
8fc61cdb7b Add shader decompiler files 2024-07-21 17:52:06 +03:00
offtkp
b90c15919b Shadergen fog 2024-07-21 17:45:02 +03:00
offtkp
4176a19256 Fog in ubershader 2024-07-21 17:38:07 +03:00
offtkp
b333bf8a0c Use u32 for scale instead of float in FragmentConfig 2024-07-21 17:28:51 +03:00
wheremyfoodat
ec754f5820 Merge branch 'master' into nyom 2024-07-21 17:27:56 +03:00
wheremyfoodat
ed67069487
Merge pull request #547 from OFFTKP/hashing
Fix hashing for FragmentConfig
2024-07-21 14:27:30 +00:00
offtkp
be1c801fc2 Fix hashing for FragmentConfig 2024-07-21 16:55:44 +03:00
wheremyfoodat
69b07da7df
Merge pull request #546 from wheremyfoodat/nyom
Separate graphics API/Language types from the fragment recompiler
2024-07-21 13:41:57 +00:00
wheremyfoodat
2a6cd3c5ea Separate graphics API/Language types from the fragment recompiler 2024-07-21 16:02:22 +03:00
wheremyfoodat
f219432c6a Renderer GL: Don't leak shader/UBO handles 2024-07-20 23:18:52 +03:00
wheremyfoodat
5c40fb0cbf
Fix oopsie 2024-07-20 18:37:35 +03:00
wheremyfoodat
4214d9bce4 Adjust ubershader defaults 2024-07-20 17:45:14 +03:00
wheremyfoodat
69c79a7f6c Ubershader: Add lighting shadergen override 2024-07-20 03:40:50 +03:00
Paris Oplopoios
af552edd9d
Remove dependency of PICA regs in fragment config (#541)
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
9415cee59a Enable shadergen by default for now 2024-07-19 18:02:42 +03:00
wheremyfoodat
5c1e2912a3 Shadergen: Minimize shader compilation time by caching the default VS 2024-07-19 14:35:01 +03:00
wheremyfoodat
ac55c3e324 Shadergen: Fix small register decoding oopsie 2024-07-19 03:01:12 +03:00
wheremyfoodat
2f50038db9 Shadergen: Lighting almost 100% working 2024-07-18 22:56:05 +03:00
wheremyfoodat
b4ae32960c Moar lighting 2024-07-18 20:10:20 +03:00