aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-07Simple GPU fixes (#1093)mageven
* Implement RasterizeEnable * Match viewport count to hardware * Simplify ScissorTest tracking around Blits * Disable RasterizerDiscard around Blits and track its state * Read RasterizeEnable reg as bool and add doc
2020-04-04Use the jump table for HighCq tail continues. (#1088)riperiperi
* Use the jump table for tail continues. This path is always reached when a function larger than our current length limit (currently 5000) is compiled. * Use Call Flag rather than 1L
2020-04-03libhac: use ApplicationControlProperty instead of Nacp (#1073)Thog
* libhac: use ApplicationControlProperty instead of Nacp Nacp was marked as deprecated in 0.10.0, this PR remove all usage of it from Ryujinx and use the new struct ApplicationControlProperty. * Address Moose's comment
2020-04-03Revert SwKbd Applet ReadStruct and fix IApplet's ReadStruct to catch (#1087)mageven
error at compile time
2020-04-03Better IPA shader instruction implementation (#1082)gdkchan
* Fix varying interpolation on fragment shader * Some nits * Alignment
2020-04-03HID SharedMem Rework (#1003)mageven
* Delete old HLE.Input * Add new HLE Input. git shows Hid.cs as modified because of the same name. It is new. * Change HID Service * Change Ryujinx UI to reflect new Input * Add basic ControllerApplet * Add DebugPad Should fix Kirby Star Allies * Address Ac_K's comments * Moved all of HLE.Input to Services.Hid * Separated all structs and enums each to a file * Removed vars * Made some naming changes to align with switchbrew * Added official joycon colors As an aside, fixed a mistake in touchscreen headers and added checks to important SharedMem structs at init time. * Further address Ac_K's comments * Addressed gdkchan's and some more Ac_K's comments * Address AcK's review comments * Address AcK's second review comments * Replace missed Marshal.SizeOf and address gdkchan's comments
2020-04-02Remove output interpolation qualifier (#1070)gdkchan
2020-03-31fix tooltip (#1080)Xpl0itR
2020-03-31Set default width and height based on monitor resolution (#1046)Xpl0itR
2020-03-31Add warning with an option to disable for settings that impact performance ↵Xpl0itR
(#1002) * Add warning and option to disable when loading game with debug logs * Add warning and option to disable when shader dumping is enabled * Edit text and add title
2020-03-31Make max anisotropy configurable (#1043)Xpl0itR
* Make max anisotropy configurable * Move opengl command to opengl project * Add GUI option
2020-03-30Retrigger CIThog
2020-03-30Implement FCMP shader instruction (#1067)gdkchan
2020-03-30Support constant attributes (with a value of zero) (#1066)gdkchan
* Support constant attributes (with a value of zero) * Remove extra line
2020-03-30Reduce requirements for running homebrew (#1053)Thog
* Reduce requirements for running homebrews This commit change the following behaviours: - TimeZoneBinary system archive isn't required until guest code call LoadTimeZoneRule. - Fonts system archives aren't requred until a "pl:u" IPC call is made. - Custom font support was dropped. - TimeZoneBinary missing message is now an error and not a warning. * Address comments
2020-03-29Index constant buffer vec4s using ternary expressions. (#1015)riperiperi
* Index constant buffer vec4s using ternary expressions. * Remove indexed path. We determined that it had negligible impact. * Revert "Remove indexed path." This reverts commit 25ec4eddfa441e802bd957dfaabc83b23c6bae38. * Revert "Revert "Remove indexed path."" This reverts commit 7cd52fecb529dcb9e1a574533bd38531319f1268.
2020-03-29Workaround for AMD and Intel view format bug (#1050)gdkchan
* Workaround for Intel view format bug * Dispose of the intermmediate texture aswell * Apply workaround on AMD aswell
2020-03-29Escape key now brings up a dialog to confirm you want to stop emulation (#1044)Elise
* Add a dialog to make sure user wants to stop emulation when esc is pressed * Remove unneccesary space * Fix formatting * Remove unnessecary spaces * Fix formatting for member of GtkDialog
2020-03-29Move the OpActivator to OpCodeTable class for improve performance (#1001)Chenj168
* Move the OpActivator to OpCodeTable class, for reduce the use of ConcurrentDictionary * Modify code style.
2020-03-29Discord Rich Presence update (#1029)Xpl0itR
* Fix bug * Add a few more titles and move the list from dat file into the code * requested changes
2020-03-29Implement GPU scissors (#1058)gdkchan
* Implement GPU scissors * Remove unused using * Add missing changes for Clear
2020-03-26Implement NOP and stub DEPBAR shader instructions (#1041)Elise
* Implement NOP and stub DEPBAR shader instruction * Fix a few issues and formatting stuff * Remove OpCodeNop/Depbar and use OpCode instead * Fix NOP shader instruction opcode * Fix formatting
2020-03-26Make Device Location Name configuration (custom TZ) (#1031)Thog
This permit to use arbitrary timezone (instead of UTC). Useful for games like ACNH.
2020-03-26prepo: Add a MessagePack object formatter (#1034)jduncanator
2020-03-25ui: Make it possible to open the device save directory (#1040)Thog
* Add an open device folder option * Simplify logic from previous commit * Address Xpl0itR's comments * Address Ac_K comment
2020-03-25Fix unhandled UnauthorizedAccessException causing crash while listing… (#1025)Elise
* Fix unhandled UnauthorizedAccessException causing crash while listing directories * Actually handle not having privileges for a directory * Fix log message when not having privileges for a directory * Remove unneccesary empty lines * Remove unneccecssary space
2020-03-25Implement VMNMX shader instruction (#1032)gdkchan
* Implement VMNMX shader instruction * No need for the gap on the enum * Fix typo
2020-03-25prepo: Implement RequestImmediateTransmission and GetTransmissionStatus (#1033)Ac_K
* prepo: Implement RequestImmediateTransmission and GetTransmissionStatus This implement RequestImmediateTransmission and GetTransmissionStatus of the prepo service accurately to RE. Since we don't use reports, I've explained what the calls do in the real service. Close #958 * fix comment
2020-03-25Add IMultiCommitManager (#1011)Alex Barney
* Update LibHac * Add IMultiCommitManager * Updates * Delete NuGet.Config * Add command version
2020-03-25Add Fast Paths for Crypto instructions (A32/A64) (#1026)riperiperi
* Add Fast Paths for Crypto instructions (A32/A64) * Replace additional XOR with passing in const zero.
2020-03-25Fix gpu vendor name parsing (#1030)Ac_K
* Update GLRenderer.cs * print the vendor name fully
2020-03-24prepo: Resolve JSON parsing issues in prepo report handling (#1022)jduncanator
It seems MsgPack.Cli incorrectly converts some unicode control characters directly to JSON literal Unicode strings (eg. '\1'). As these are invalid, pretty printing the JSON report fails. This removes pretty printing, pending a proper implementation, and tidies up MsgPack deserialization.
2020-03-24Add GPU name in status bar (#984)HorrorTroll
* Add GPU name in status bar * Fixed like Ac_K suggest * Nit. * Minor fix * Minor change. * Nit. * Fixed for ATI vendor * Minor fix, again...
2020-03-24Add Fcvtas_S/V & Fcvtau_S/V. (#1018)LDj3SNuD
2020-03-24Fix the item name cannot be displayed in profiler view. (#1021)Chenj168
2020-03-23friends: Stub GetBlockedUserListIds (#1017)Thog
2020-03-23Fix Prepo parsing reports (#1016)Ac_K
This fix the parsing of prepo service reports which could failed in some edge case. I've improved the parsing of the object to a JSON string too.
2020-03-23Implement ICMP shader instruction (#1010)gdkchan
2020-03-23Keep sRGB enabled for texture blits (#1009)gdkchan
2020-03-23Implement textureQueryLevels (#1007)gdkchan
2020-03-20Move the MakeOp to OpCodeTable class, for reduce the use of ↵Chenj168
ConcurrentDictionary (#996)
2020-03-20Support partial invalidation on texture access (#1000)gdkchan
* Support partial invalidation on texture access * Fix typo * PR feedback * Fix modified size clamping
2020-03-20Implement GetRegionCode and add the RegionCode to settings (#999)Ac_K
This implement `GetRegionCode` accordingly to RE. I've added a setting in the GUI and a field in the Configuration file with a way to update the Configuration file if needed.
2020-03-20Modify TranslatedFunction.GetPointer () to optimize performance (#995)Chenj168
* add local var to reduce calling Marshal.GetFunctionPointerForDelegate * modify code style
2020-03-18CodeGen Optimisations (LSRA and Translator) (#978)riperiperi
* Start of JIT garbage collection improvements - thread static pool for Operand, MemoryOperand, Operation - Operands and Operations are always to be constructed via their static helper classes, so they can be pooled. - removing LinkedList from Node for sources/destinations (replaced with List<>s for now, but probably could do arrays since size is bounded) - removing params constructors from Node - LinkedList<> to List<> with Clear() for Operand assignments/uses - ThreadStaticPool is very simple and basically just exists for the purpose of our specific translation allocation problem. Right now it will stay at the worst case allocation count for that thread (so far) - the pool can never shrink. - Still some cases of Operand[] that haven't been removed yet. Will need to evaluate them (eg. is there a reasonable max number of params for Calls?) * ConcurrentStack instead of ConcurrentQueue for Rejit * Optimize some parts of LSRA - BitMap now operates on 64-bit int rather than 32-bit - BitMap is now pooled in a ThreadStatic pool (within lrsa) - BitMap now is now its own iterator. Marginally speeds up iterating through the bits. - A few cases where enumerators were generated have been converted to forms that generate less garbage. - New data structure for sorting _usePositions in LiveIntervals. Much faster split, NextUseAfter, initial insertion. Random insertion is slightly slower. - That last one is WIP since you need to insert the values backwards. It would be ideal if it just flipped it for you, uncomplicating things on the caller side. * Use a static pool of thread static pools. (yes.) Prevents each execution thread creating its own lowCq pool and making me cry. * Move constant value to top, change naming convention. * Fix iteration of memory operands. * Increase max thread count. * Address Feedback
2020-03-18audren: Accept REV8 (#993)Thog
REV8 only added changes on performance buffer and wavebuffer dsp command generation. As we don't support any of those, we can just increment the revision number for now.
2020-03-15Improve shader sampler type selection (#989)gdkchan
2020-03-14Fix GTK window crash by using 24 bit surface on unix, 32 bit on windows. (#976)riperiperi
* Use 24 bit surface on unix, 32 bit on windows. * Address jd's comment Co-authored-by: Thomas Guillemard <me@thog.eu>
2020-03-14Implement AESMC, AESIMC, AESE, AESD and VEOR AArch32 instructions (#982)riperiperi
* Add VEOR and AES instructions. * Add tests for crypto instructions. * Update ValueSource name.
2020-03-13Implement MME shadow RAM (#987)gdkchan