Commit graph

2162 commits

Author SHA1 Message Date
LDj3SNuD
65384d5bc8 Add 151 complete tests for 71 base instructions of types: Alu; AluImm; AluRs; AluRx; Bfm; CcmpImm; CcmpReg; Csel; Mov; Mul. (#80)
* Add files via upload

* Update Ryujinx.Tests.csproj
2024-02-22 19:13:33 -05:00
LDj3SNuD
7e3a6bbc90 Add ABS (scalar & vector), ADD (scalar), NEG (scalar) instructions. (#88)
* Update AOpCodeTable.cs

* Update AInstEmitSimdArithmetic.cs

* Update AOpCodeTable.cs
2024-02-22 19:13:33 -05:00
Ac_K
b245fd9d4b Update IAudioDeviceService.cs (#87)
* Update IAudioDeviceService.cs

Stubs:
- QueryAudioDeviceSystemEvent
- GetActiveChannelCount

* Update IAudioDeviceService.cs

* Update IAudioDeviceService.cs
2024-02-22 19:13:33 -05:00
Ac_K
95b70fdfad Update IAudioController.cs (#86)
* Update IAudioController.cs

Stubs:
- SetExpectedMasterVolume
- GetMainAppletExpectedMasterVolume
- GetLibraryAppletExpectedMasterVolume
- ChangeMainAppletMasterVolume
- SetTransparentVolumeRate

* Update IAudioController.cs
2024-02-22 19:13:33 -05:00
Ac_K
02a1cc3161 Update IAccountServiceForApplication.cs (#85)
Stubs:
- GetUserCount (`Write(0);` throw userland error)
2024-02-22 19:13:33 -05:00
Ac_K
96938ce95f Update IHidServer.cs (#84)
* Update IHidServer.cs

Stubs:
- SetGyroscopeZeroDriftMode
- SetNpadHandheldActivationMode
- SendVibrationValue
- GetPlayerLedPattern

* Update IHidServer.cs

updated
2024-02-22 19:13:33 -05:00
emmauss
8b02ec2c9a Add special log for stubs (#81)
* add stub loglevel

* add log for stubbed methods
2024-02-22 19:13:32 -05:00
gdkchan
e0eac28fd4 [GPU] Set frame buffer texture size to window size 2024-02-22 19:13:32 -05:00
gdkchan
c4a231b9d8 [GPU] Send correct window size to the vertex shader 2024-02-22 19:13:32 -05:00
gdkchan
d73a2c0239 [GPU] Fix frame buffer being upside down in some cases 2024-02-22 19:13:32 -05:00
gdkchan
eb7c4b65bf [GPU] Avoid drawing the frame buffer with alpha blend enabled, use correct blend enable register, clear the buffer before drawing 2024-02-22 19:13:32 -05:00
emmauss
f4235d4fc4 Add logclass, made changes to logging calls (#79)
* add logclass, made changes to logging calls

* made enum parsing case insensitive

* enable logclass on partial or complete match
2024-02-22 19:13:32 -05:00
gdkchan
c1fb7ee7ba [HLE] Fix hid issues on some games 2024-02-22 19:13:32 -05:00
gdkchan
bb9936f1bf [GPU] Remove 1f in RCP instruction emitter on glsl decompiler 2024-02-22 19:13:32 -05:00
gdkchan
f6a7e77b1f [GPU] Do not use the f suffix on float contants on the shader glsl code 2024-02-22 19:13:32 -05:00
gdkchan
8989fe1d57 Bump glsl version to support layout qualifier 2024-02-22 19:13:32 -05:00
gdkchan
f401a42891 Fix for current framebuffer issues (#78)
[GPU] Fix some of the current framebuffer issues
2024-02-22 19:13:31 -05:00
LDj3SNuD
1081d43cfd Add TRN1 & TRN2 (vector) instructions. Add 4 simple tests (4S, 8B). (#77)
* Update AOpCodeTable.cs

* Update AInstEmitSimdMove.cs

* Update CpuTestSimdMove.cs

* Update AInstEmitSimdMove.cs

* Update CpuTestSimdMove.cs
2024-02-22 19:13:31 -05:00
gdkchan
3979660fde [CPU] Speed up translation a little bit 2024-02-22 19:13:31 -05:00
gdkchan
306cd19186 [HLE/Service] Fix ToCalendarTimeWithMyRule (for real this time) 2024-02-22 19:13:31 -05:00
gdkchan
7ab535c8d6 [HLE/Service] Fix ToCalendarTimeWithMyRule 2024-02-22 19:13:31 -05:00
gdkchan
70871a5c71 [CPU] Fix CNT instruction 2024-02-22 19:13:31 -05:00
gdkchan
c4f735a405 [GPU] Add support for the BC4/5 texture formats 2024-02-22 19:13:31 -05:00
gdkchan
9a5ae01757 Fix regression -- enable raw frame buffer rendering 2024-02-22 19:13:31 -05:00
gdkchan
03ca51e5cf [GPU] Add more shader instructions, add support for rgb565 textures 2024-02-22 19:13:31 -05:00
LDj3SNuD
1d957cc053 Add A1B5G5R5 texture format. (#76)
* Update GalTextureFormat.cs

* Update TextureReader.cs
2024-02-22 19:13:31 -05:00
gdkchan
9dd5796166 Remove line numbers from log 2024-02-22 19:13:31 -05:00
emmauss
1fba150449 log calling method in logs (#71) 2024-02-22 19:13:31 -05:00
gdkchan
61a8a68bfd Use correct pitch value when decoding linear swizzle textures 2024-02-22 19:13:31 -05:00
gdkchan
c6eca2bdc8 Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
2024-02-22 19:13:30 -05:00
LDj3SNuD
7553164105 Add FMUL (scalar, by element) instruction; add FRECPE, FRECPS (scalar & vector) instructions. Add 5 simple tests. (#74)
* Update AOpCodeTable.cs

* Update AInstEmitSimdArithmetic.cs

* Update AInstEmitSimdHelper.cs

* Update CpuTestSimdArithmetic.cs

* Update AOpCodeTable.cs

* Update AInstEmitSimdArithmetic.cs
2024-02-22 19:13:30 -05:00
gdkchan
93d494baab [CPU] Fix CBZ/CBNZ with 32 bits operands 2024-02-22 19:13:30 -05:00
gdkchan
fb2c73e30a [CPU] Fail early when the index/size of the vector is invalid 2024-02-22 19:13:30 -05:00
gdkchan
5565c49502 Bump the maximum number of threads 2024-02-22 19:13:30 -05:00
gdkchan
178d133586 Fix FRSQRTS and FCM* (scalar) instructions 2024-02-22 19:13:30 -05:00
gdkchan
55d5b3cd34 Show service short name for unimplemented commands 2024-02-22 19:13:30 -05:00
gdkchan
d3d0916b46 Support the .romfs extension aswell 2024-02-22 19:13:30 -05:00
gdkchan
e84111d338 Add FMLS (vector) instruction 2024-02-22 19:13:30 -05:00
gdkchan
c600200d05 Fix typo 2024-02-22 19:13:30 -05:00
gdkchan
ff2d0ff2b6 Fix possible regression on bsd 2024-02-22 19:13:30 -05:00
gdkchan
3ef47c3563 Rename services with the official interface names 2024-02-22 19:13:30 -05:00
gdkchan
682c72e00b Add FRSQRTS and FCM* instructions 2024-02-22 19:13:30 -05:00
Merry
3f36ff10d5 Implement Frsqrte_S (#72)
* Implement Frsqrte_S

* Implement Frsqrte_V

* Add Frsqrte_S test
2024-02-22 19:13:30 -05:00
gdkchan
a505f2843e Color* should be an array in NvGpuIoctlZbcSetTable 2024-02-22 19:13:30 -05:00
Starlet
f1781aced3 [ServiceNvDrv] Add 0x4703 ([/dev/nvhost-ctrl-gpu] NvGpuIoctlZbcSetTable) (#70)
[ServiceNvDrv] Add 0x4703 ([/dev/nvhost-ctrl-gpu] NvGpuIoctlZbcSetTable)
2024-02-22 19:13:30 -05:00
Ac_K
d9e8f5c182 Update README.md 2024-02-22 19:13:30 -05:00
gdkchan
35cb901df8 Add Faddp (vector) instruction 2024-02-22 19:13:30 -05:00
gdkchan
10bbafd846 Fix GetAvailableLanguageCodes, stub ListAddOnContent and NvGpuAsIoctlRemap (0x4114) 2024-02-22 19:13:30 -05:00
gdkchan
a7d5772834 Stub ActivateKeyboard on Hid 2024-02-22 19:13:29 -05:00
gdkchan
9e36fe4e9e Stub ActivateMouse on Hid 2024-02-22 19:13:29 -05:00