Commit graph

1301 commits

Author SHA1 Message Date
wheremyfoodat
ea59933b18 Simplify alpha test code 2024-07-15 00:46:15 +03:00
wheremyfoodat
b384cb8ad9 Fix build 2024-07-15 00:13:22 +03:00
wheremyfoodat
c73758959b Merge branch 'master' into specialized-shaders-2 2024-07-14 23:57:12 +03:00
wheremyfoodat
8eab353491
Merge pull request #534 from wheremyfoodat/crypto
Downgrade SetFileSize failure to warning
2024-07-14 20:18:38 +00:00
wheremyfoodat
bee414a4f8 Downgrade SetFileSize failure to warning 2024-07-14 23:05:49 +03:00
wheremyfoodat
c4e45ee6b8
Renderer GL: Fix hotswapping shaders 2024-07-14 18:20:59 +03:00
wheremyfoodat
186fd3b94b Qt: Shader editor now works 2024-07-14 16:06:52 +03:00
wheremyfoodat
d87477832b Qt: Initial shader editor support 2024-07-14 15:32:26 +03:00
wheremyfoodat
e608436315 Sanity check: Assert .code is encrypted before setting normal key 2024-07-11 22:31:38 +03:00
wheremyfoodat
096d0a89ee Fix AES-CTR decryption for non-NCCHKey0 games 2024-07-11 22:22:33 +03:00
offtkp
a3886a948f Switch to GL_TEXTURE_2D for lighting LUT 2024-07-09 20:51:09 +03:00
wheremyfoodat
0e4079f304 a64 shader recompiler: Add DPH/DPHI 2024-07-03 16:23:43 +03:00
wheremyfoodat
0fe62f9b46 Correct archive names 2024-07-02 17:32:17 +03:00
wheremyfoodat
de9375122b Add SDMC::DeleteFile 2024-07-02 17:30:51 +03:00
wheremyfoodat
800c11ff62 HLE DSP: Add PCM8 audio decoding 2024-07-02 17:19:20 +03:00
wheremyfoodat
d4cf54d56c Tweak Y2R timings 2024-07-02 15:57:39 +03:00
wheremyfoodat
1c9a3ac3d3 Add Y2R event delay 2024-07-02 15:30:38 +03:00
wheremyfoodat
842943fa4c GLSL shader gen: Add alpha test (...half of it I guess) 2024-05-13 00:51:40 +03:00
wheremyfoodat
798c651a17 Merge branch 'specialized-shaderz' into specialized-shaders-2 2024-05-12 23:20:12 +03:00
NerduMiner
2f9d5e30b4
Index with iterator value in CAMService::startCapture rather than getSingleIndex()
The port may have a value of 3 in this function, which will cause a panic. getPortIndices() handles this case for us already, so the iterator vale is safe to use
2024-05-11 15:04:53 -04:00
wheremyfoodat
e4b81d61a4 HLE DSP: Fix AAC response stub 2024-05-01 16:10:51 +03:00
wheremyfoodat
ad380b8c5a Warn on invalid AAC request 2024-05-01 01:59:32 +03:00
wheremyfoodat
0490c6753f HLE DSP: Stub AAC 2024-05-01 01:56:17 +03:00
wheremyfoodat
fb8130a868 HLE DSP: Remove debug artifacts 2024-05-01 00:21:21 +03:00
wheremyfoodat
2fc9c0a573 DSP HLE: Broken PCM16 and handle DSP voice status better 2024-05-01 00:21:21 +03:00
wheremyfoodat
f004aa6021 Implement GPUREG_VSH_OUTMAP_MASK 2024-04-29 23:02:33 +03:00
wheremyfoodat
609eb6d880
DSP HLE: Get ADPCM audio decoding working (#499)
* Start decoding ADPCM

* Fix accidentally skipping ADPCM samples

* DSP HLE: ADPCM weights are signed

* Format

* Format

* Fix broken amend
2024-04-27 00:53:17 +03:00
wheremyfoodat
2fc66fd3ba
Merge pull request #498 from wheremyfoodat/hle-dsp
Qt: Add support for dumping DSP firmware
2024-04-25 22:40:44 +00:00
wheremyfoodat
8c296905f4 Qt: Add support for dumping DSP firmware 2024-04-26 00:54:21 +03:00
PSI-Rockin
b797c92b2e [CRO] Offset the old data address by the start of the CRO
The old logic caused bad data relocations
2024-04-22 18:17:58 -04:00
wheremyfoodat
ea6818eb4b HLE DSP: Formatting 2024-04-14 13:13:19 +03:00
wheremyfoodat
1cc3bbf68d HLE DSP: Fix format and source type for audio buffers 2024-04-06 19:12:58 +03:00
wheremyfoodat
1c355041fa HLE DSP: Add embedded buffers 2024-04-06 16:56:11 +03:00
wheremyfoodat
37f9f5d894 HLE DSP: Track voice status better 2024-04-06 00:54:15 +03:00
wheremyfoodat
43a1c89478 HLE DSP: Init/deinit sources better 2024-04-05 20:53:17 +03:00
wheremyfoodat
5da93d17bd HLE DSP: More of it 2024-04-05 19:42:18 +03:00
wheremyfoodat
2548bde538 HLE DSP: Add frame types 2024-04-05 01:50:27 +03:00
wheremyfoodat
a85ca0459a HLE DSP: Proper audio pipe responses 2024-04-05 01:13:02 +03:00
wheremyfoodat
2e696deccf Add HLE DSP files 2024-04-05 00:44:31 +03:00
Wunk
5284109fd4
Implement shader-interpreter relative MOVA addressing (#471)
* Add shader uniform-read unit test

* Add unit test f24 vector formatter

* Add Address Register Offset shader unit test

* Implement float-uniform out-of-bound return value

In the case that the resulting float-uniform index is greater than the 96 slots that it has, a result of `{1,1,1,1}` is to be returned.

* Implement shader relative addressing

Fails on the negative unit tests at the moment but passes all of the
others.

* Fix `MOVA` source register indexing
2024-03-22 18:48:03 +02:00
Wunkolo
40e2774b7f Implement arm64 LG2/EX2 2024-03-19 21:26:13 -07:00
Wunkolo
2b34ef4a89 Implement PICA200 compliant arm64 MUL
Adds `emitSafeMUL` to implement a PICA200 compliant multiplication that
handles the special `0 * inf = 0` case.
2024-03-14 12:30:42 -07:00
Wunk
c89fe05b8a
Fix shader-interpreter non-IEEE outputs (#459)
* Re-enable non-IEEE shader test

* Fix shader-interpreter RCP/RSQ output

Handle the `-0.0` special-case

* Fix shader-interpreter MIN/MAX output

Takes advantage of min/max's properties regarding non-finites to return
NaN depending on its input position:
```
max(NaN, 2.f) -> NaN
max(2.f, NaN) -> 2
min(NaN, 2.f) -> NaN
min(2.f, NaN) -> 2
```

* Fix shader-interpreter FLR indexing bug

`3 - 1` should be `3 - i`
2024-03-12 08:34:02 +02:00
SpikeHD
57193e7944
Stub ALL getNsDataIdList functions (#452)
* fix: stub ALL getNsDataIdList functions

* fix: spaces -> tabs
2024-03-09 13:45:38 +02:00
wheremyfoodat
048eca557e
Merge pull request #439 from wheremyfoodat/y2r-stubs
Y2R: Stub IsFinishedSending/Receiving functions
2024-03-07 18:17:56 +00:00
wheremyfoodat
d68b81c037
Merge pull request #444 from wheremyfoodat/gsp_read_hw_regs
GSP_GPU: Implement ReadHwRegs
2024-03-07 18:03:21 +00:00
wheremyfoodat
e4bea43fd6
Implement GetResourceLimitValue for thread count (#438) 2024-03-07 19:48:08 +02:00
wheremyfoodat
25d8e5807f
Fix dynarmic submodule (#446)
* Remove dynarmic submodule

* Add dynarmic mirror

* Update oaknut

* Update shader JIT to work with latest oaknut

* Maybe fix oaknut finally

* hlep

* More arm64 shader derps

* Fixing more shader JIT brokenness

* aaaaaaaaaaaa

* Update shader_rec_emitter_arm64.hpp

* Update shader_rec_emitter_arm64.cpp
2024-03-07 19:47:21 +02:00
wheremyfoodat
361172b4de
GSP_GPU: Implement ReadHwRegs 2024-03-07 00:09:41 +00:00
wheremyfoodat
3505bf0df9
Y2R: Stub IsFinishedSending/Receiving functions 2024-03-06 00:37:12 +00:00