7f5a8effbb
Move WriteBytes to AMemory, implement it with a Marshal copy like ReadBytes, fix regression on address range checking
gdkchan
2018-06-09 13:05:41 -03:00
91420a402c
Use source texture size when doing reads for texure copy
gdkchan
2018-06-09 00:46:06 -03:00
7822348439
Small cleanup in AMemory and removed some unused usings
gdkchan
2018-06-08 23:54:50 -03:00
9136897d4a
Do not inline the scalar vector load methods as a workaround to a .net JIT bug
gdkchan
2018-06-08 23:49:53 -03:00
231fae1a4c
Texture/Vertex/Index data cache (#132)
gdkchan
2018-06-08 21:15:56 -03:00
6fe51f9705
ReadBytes function in AMemory, with cleaner range check. (#136)
riperiperi
2018-06-09 01:15:02 +01:00
e7efee7909
Use GetBufferType0x21 on TransactParcelAuto aswell
gdkchan
2018-06-02 20:40:26 -03:00
250e2084f4
SMO stubs and implementations (#129)
Starlet
2018-06-02 18:46:09 -04:00
f03a43fa38
Fix copy-paste mistake, also related to astc...
gdkchan
2018-06-02 13:39:52 -03:00
4731c7545d
Fix mistake on astc conversion, make some static methods that shouldn't be public private, remove old commmented out code
gdkchan
2018-06-02 11:44:52 -03:00
7a6ce48184
Re add some texture formats that I somehow removed by accident on OGLEnumConverter
gdkchan
2018-06-02 00:53:50 -03:00
53a6922f87
Some small gpu improvements and shader improvements, add support for ASTC 4x4 textures (slow!)
gdkchan
2018-06-02 00:50:56 -03:00
aeb1bbf50c
Add an ASTC Decoder (Not currently used in Ryujinx) (#131)
Ac_K
2018-06-01 18:00:16 +00:00
f43dd08064
Added support for more shader instructions and texture formats, fix swapped channels in RGB565 and RGBA5551? texture formats, allow zero values on blending registers, initial work to build CFG on the shader decoder, update the BRA instruction to work with it (WIP)
gdkchan
2018-05-29 20:37:10 -03:00
9670c096e4
Initial work to support AArch32 with a interpreter, plus nvmm stubs (not used for now)
gdkchan
2018-05-26 17:49:21 -03:00
cb1cf489f9
[IApplicationFunctions/INvDrvServices] Stub GetPseudoDeviceId, FinishInitialize and add more pctl service names. (#127)
Starlet
2018-05-25 17:33:09 -04:00
30829fce52
Fix wrong type on CMTST instruction
gdkchan
2018-05-23 12:57:28 -03:00
e78737089c
Remove some calls generated on the CPU for inexistent intrinsic methods
gdkchan
2018-05-23 00:27:48 -03:00
79e0070363
Improve shader sending method to GAL, use a memory interface instead of reading a fixed array size and sending every time
gdkchan
2018-05-22 22:43:31 -03:00
fa4b34bd19
Add a C++ demangler (#119)
Thomas Guillemard
2018-05-22 22:40:02 +02:00
7ac5f40532
Add scalar variants of FCVTZS/FCVTZU, fix a issue on Ryushader
gdkchan
2018-05-18 14:44:49 -03:00
b19c474082
Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, SHL, LD_C, some shader related fixes, added support for texture component selection
gdkchan
2018-05-17 15:25:42 -03:00
9b9ead94cd
Only use higher priority on yield, change reschedule to be per-thread instead of using SchedulerThread to store the reschedule flag
gdkchan
2018-05-15 23:49:57 -03:00
73a3233d57
Fix some races in SvcThreadSync and change the way how yield works
gdkchan
2018-05-15 22:36:08 -03:00
fdfa9424c8
Fix typo and update priority/avoid duplicates on UpdateMutexOwner
gdkchan
2018-05-14 03:09:08 -03:00
ee0b14ba08
Some improvements to SetThreadCoreMask, simplified implementation of wait lists
gdkchan
2018-05-14 03:01:10 -03:00
9e50ed53e6
Implement GetTpcMasks on nvservices
gdkchan
2018-05-13 22:10:45 -03:00
b2b1d7dcd7
Better implementation of SetThreadCoreMask that allows changing the Core Mask (untested, no clue if it actually works)
gdkchan
2018-05-13 22:00:29 -03:00
4546d1b9be
Initial work to support changing thread core on the scheduler, also some cond var priority fixes
gdkchan
2018-05-13 00:22:42 -03:00
3603497a13
Allow using self thread id on some svcs (fixes#117)
gdkchan
2018-05-11 23:05:06 -03:00
0381a09227
Fix WidthInGobs on the GPU
gdkchan
2018-05-11 20:20:44 -03:00
fee4b0eb8a
Update min sdk version on readme (for real this time)
gdkchan
2018-05-11 20:18:59 -03:00
5ed1471d96
Update min sdk version on readme
gdkchan
2018-05-11 20:17:43 -03:00
f9f111bc85
Add intrinsics support (#121)
gdkchan
2018-05-11 20:10:27 -03:00
071754aaeb
Fix GetDesiredLanguage and expose a way to set the desired language, default to english
gdkchan
2018-04-29 20:18:46 -03:00
f73a182b20
Properly support multiple vertex buffers, stub 2 ioctls, fix a shader issue, change the way how the vertex buffer size is calculated for the buffers with limit = 0
gdkchan
2018-04-29 17:58:38 -03:00
17f4ccf2d5
Remove unnecessary casts from NxSettings
gdkchan
2018-04-26 13:57:25 -03:00
1af78416d1
Add null terminator to audio device names when writing to the output buffer
gdkchan
2018-04-26 11:34:40 -03:00
81e74ebd86
Remove thread from the threads list when it finishes, remove debug code
gdkchan
2018-04-26 00:07:12 -03:00
a38a72b062
Some small sync primitive fixes, logging fixes, started to implement the 2D engine on the GPU, fixed DrawArrays, implemented a few more shader instructions, made a start on nvdrv refactor, etc...
gdkchan
2018-04-25 23:11:26 -03:00
03002f6537
Add SvcSetThreadActivity, tweak SignalProcessWideKey, add fmul32i shader instructions and other small fixes
gdkchan
2018-04-19 16:18:30 -03:00
33ae6e544b
[HLE/Kernel] Fix SetThreadPriority, allow nano seconds values > int.MaxValue, fix on WaitProcessWideKeyAtomic (althrough looks like it still doesn't work properly
gdkchan
2018-04-19 04:06:23 -03:00
62b2124c03
[HLE/Kernel] Dispose the thread wait even on exit
gdkchan
2018-04-19 01:01:03 -03:00
76a5972378
Fix Fmin/max and add vector version, add and modifying fmin/max tests (#89)
MS-DOS1999
2018-04-19 05:22:12 +02:00
6e69cd9284
Fix bad merge, and a few other fixes
gdkchan
2018-04-19 00:19:22 -03:00
ac80e7d3f9
[HLE/Kernel] Yield when cond var is signaled
gdkchan
2018-04-19 00:00:29 -03:00