Commit graph

1413 commits

Author SHA1 Message Date
wheremyfoodat
48e25870a5 Add const equvalent for OpenGL::Vector operator[] 2023-06-10 16:09:13 +03:00
wheremyfoodat
df414acc23 [ShaderJIT] Migrate to #18 2023-06-10 14:04:15 +03:00
wheremyfoodat
b04ad7215b Clean up some getBits code 2023-06-10 13:22:34 +03:00
wheremyfoodat
bf125bf2cf Merge branch 'master' into dynapica 2023-06-10 12:55:43 +03:00
wheremyfoodat
deba1561ce Merge branch 'master' into dynapica 2023-06-10 12:54:59 +03:00
wheremyfoodat
fd600a59c1
Merge pull request #18 from Wunkolo/bext
Add `Helpers:{getBits,getBit}`
2023-06-10 12:54:31 +03:00
Wunkolo
2c94d0d683 Add Helpers:{getBits,getBit}
`constexpr` functions for extractint bitfields that lends itself a bit
better to emitting instructions like `bextr` on x86 or `ubfx` on arm64.
And may subjectively make things a bit more readable.
"Extract `5` bits" rather than `& 0x1F`.
2023-06-10 00:48:06 -07:00
Wunkolo
2edc9d5fb7 Remove #pragma once from source file 2023-06-09 20:31:25 -07:00
wheremyfoodat
2cb249927e [ShaderJIT] FIx crashes, moar instructions 2023-06-10 01:28:28 +03:00
wheremyfoodat
1aea8199c5 [ShaderJIT] CALL, DP4, IFC, IFU, MUL, RSQ 2023-06-10 00:58:38 +03:00
wheremyfoodat
1fe44c0098 [ShaderJIT] Add cmp 2023-06-09 22:31:06 +03:00
wheremyfoodat
ca3ae7a16e [Shader JIT] Add more function definitions 2023-06-09 17:14:04 +03:00
wheremyfoodat
fd411245fa [Shader JIT] Get first JIT trangle 2023-06-09 02:28:59 +03:00
wheremyfoodat
9bb1f31fc9 [ShaderJIT] Add MOV 2023-06-09 00:46:17 +03:00
wheremyfoodat
a8611072ea Merge branch 'dynapica' of https://github.com/wheremyfoodat/Panda3DS into dynapica 2023-06-08 22:50:30 +03:00
wheremyfoodat
46a47912d8 [ShaderJIT] Add const qualifier to JIT callbacks 2023-06-08 22:48:37 +03:00
wheremyfoodat
d5eea4b58c [ShaderJIT] Add const qualifier to JIT callbacks 2023-06-08 22:44:57 +03:00
wheremyfoodat
77cba3110d [Shader JIT] Add prologue & some more compilation stuffs 2023-06-08 22:22:28 +03:00
wheremyfoodat
415e276ef9 [Shader JIT] Moar 2023-06-08 18:51:03 +03:00
wheremyfoodat
6a70edca7e [Shader JIT[ Cache harder 2023-06-07 21:25:46 +03:00
wheremyfoodat
4064abfdeb [Shader JIT] Add caching 2023-06-07 20:33:37 +03:00
wheremyfoodat
364443d66f Moar 2023-06-07 18:22:07 +03:00
wheremyfoodat
cf9ed3d460 More shader JIT groundwork 2023-06-07 17:44:46 +03:00
wheremyfoodat
dea8b9ec2e [HID] Redo service 2023-06-06 00:57:48 +03:00
wheremyfoodat
629e00251c [HID] Remap keys 2023-06-05 22:43:59 +03:00
wheremyfoodat
0c0e7a4cb9 Clean up srv interface for HID 2023-06-05 15:28:44 +03:00
liuk7071
608bf88c5f Basic input 2023-06-05 13:25:06 +02:00
wheremyfoodat
7cc7dc09f4 [FS] Implement File::Flush and fix file function headers 2023-06-03 22:25:30 +03:00
wheremyfoodat
e9a8c2cb2e ExtSaveData pls 2023-06-03 22:04:26 +03:00
wheremyfoodat
7034aa27d7 Add DLP::SRVR service 2023-05-27 00:32:43 +03:00
wheremyfoodat
4767a2053b [FS] Better GetFormatInfo 2023-05-20 15:39:31 +03:00
wheremyfoodat
01d16fdfd1 [FS] Better DeleteFile, fclose when file session is closed 2023-05-20 02:32:36 +03:00
wheremyfoodat
9ec2964695 [FS] Add FormatThisUserSaveData 2023-05-20 01:24:30 +03:00
wheremyfoodat
a530350eda [FS] Media type = 2 is cart, not 1... 2023-05-20 01:04:51 +03:00
wheremyfoodat
c7f676efd2 [DSP] Add missing break 2023-05-18 03:44:29 +03:00
wheremyfoodat
5a1cc39cb6 [DSP] Reset audio pipe properly 2023-05-18 03:36:19 +03:00
wheremyfoodat
35aea21679 [DSP] Add UnloadComponent 2023-05-17 01:33:39 +03:00
wheremyfoodat
e7085dd830 [DSP] HLE DSP state & some of the audio pipe 2023-05-17 01:17:10 +03:00
wheremyfoodat
4dc04be350 [FS] Formatting archives v1 2023-05-16 23:37:52 +03:00
wheremyfoodat
2f5bb45d58 [FS] OpenArchiveHandle returns Result<T, E> 2023-05-16 20:49:31 +03:00
wheremyfoodat
b817c72a9c [OpenGL] 410 blaze it (MacOS does not have 420) 2023-05-16 00:15:57 +03:00
wheremyfoodat
0b0d6dcf4b [FS] Archive::OpenArchive returns Result<T, E> now 2023-05-14 19:31:51 +03:00
wheremyfoodat
a950d9a044 [GSP] Make dirty flag 1 bit 2023-05-14 18:16:21 +03:00
wheremyfoodat
7da87a06a2 [CFG] Add stereo camera setting (Fixes NaNs in Metroid 2 et al) 2023-05-09 01:56:49 +03:00
wheremyfoodat
09ba66ae60 [Kernel] Fully implement semaphores 2023-05-07 18:02:51 +03:00
wheremyfoodat
d6a107afef More MacOS funni 2023-05-07 02:29:27 +03:00
wheremyfoodat
7c68e70ba4 MacOS OpenGL memes 2023-05-07 02:03:24 +03:00
wheremyfoodat
ac43c09ebd [CPU] Add better cycle counting 2023-05-07 00:36:36 +03:00
wheremyfoodat
de537fedfb [Kernel] Add proper WakeUpAllThreads 2023-05-06 00:06:31 +03:00
wheremyfoodat
2063e84bb1 [GSP] Add framebuffer dirty flag 2023-05-02 22:19:43 +03:00