summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-05-27Merge pull request #2725 from wwylele/texture-samplerYuri Kunde Schlesner
gl_shader: refactor texture sampler into its own function
2017-05-27gl_shader: refactor texture sampler into its own functionwwylele
2017-05-26Merge pull request #2716 from yuriks/decentralized-resultbunnei
Decentralize ResultCode
2017-05-24Merge pull request #2697 from wwylele/proctexYuri Kunde Schlesner
Implemented Procedural Texture (Texture Unit 3)
2017-05-24FS: Remove unused result definitionYuri Kunde Schlesner
2017-05-24Common: Clean up meta-template logic in BitFieldYuri Kunde Schlesner
2017-05-24Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner
2017-05-24GSP_GPU: Move error codes from result.h to local fileYuri Kunde Schlesner
2017-05-24FileSys: Move all result description to errors.hYuri Kunde Schlesner
2017-05-24result: Make error description a generic integerYuri Kunde Schlesner
It is now known that result code description vary depending on the module, and so they're best defined on a per-module basis. To support this, allow passing in an arbitrary integer instead of limiting to the ones in the ErrorDescription enum. These will be gradually migrated to their individual users, but a few will be kept as "common" codes shared by all modules.
2017-05-24Make BitField and ResultCode constexpr-initializableYuri Kunde Schlesner
2017-05-24telemetry: Log a few simple data fields throughout core.bunnei
2017-05-24core: Keep track of telemetry for the current emulation session.bunnei
2017-05-24common: Add a generic interface for logging telemetry fields.bunnei
2017-05-22Merge pull request #2692 from Subv/vfp_ftzSebastian Valle
Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.
2017-05-21Merge pull request #2406 from Subv/session_disconnectYuri Kunde Schlesner
Kernel: Properly update port counters on session disconnection.
2017-05-21fixup! Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.Subv
2017-05-21Kernel/Sessions: Remove the ClientSession::Create function.Subv
It is not meant to be used by anything other than CreateSessionPair.
2017-05-22Merge pull request #2694 from Subv/vfp_vsub_ftzMerry
Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before sending it to vadd.
2017-05-21swrasterizer: add missing tc0_w and fragment lighting attribute processingwwylele
2017-05-20gl_rasterizer: implement procedural texturewwylele
2017-05-20pica/swrasterizer: implement procedural texturewwylele
2017-05-19Merge pull request #2661 from Subv/uds5bunnei
Services/UDS: Generate 802.11 beacon frames when a network is open.
2017-05-19Merge pull request #2710 from emmauss/ptm_ipcbunnei
use IPCHelper for PTM services
2017-05-19use IPCHelper for PTM servicesemmaus
2017-05-17pica: use correct register value for shader bool_uniformswwylele
variable value is not masked. the masked and combined register value should be used instead
2017-05-16Merge pull request #2703 from wwylele/pica-reg-reviseYuri Kunde Schlesner
pica: correct bit field length for some registers
2017-05-16pica: correct bit field length for some registerswwylele
2017-05-15Services/UDS: Use the new IPC helper functions.Subv
2017-05-15Services/UDS: Implement RecvBeaconBroadcastData.Subv
This allows the applications to retrieve 802.11 beacon frames from nearby UDS networks. Note that the networks are still not announced anywhere.
2017-05-15Services/UDS: Generate the UDS beacons when the beacon callback fires.Subv
2017-05-15Kernel: Remove a now unused enum and variable regarding a session's status.Subv
2017-05-15Kernel: Use a Session object to keep track of the status of a Client/Server ↵Subv
session pair. Reduce the associated port's connection count when a ServerSession is destroyed.
2017-05-14Merge pull request #2687 from yuriks/address-mappingsYuri Kunde Schlesner
Kernel: Map special regions according to ExHeader
2017-05-13Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before ↵Subv
sending it to vadd. Previously we were letting vadd flush the value to positive 0, but there are cases where this behavior is wrong, for example, vsub: -0 - +0 = -0 vadd: -0 + +0 = +0 Now we'll flush the value to +0 inside vsub, and then negate it.
2017-05-12Merge pull request #2695 from JayFoxRox/gs-regsWeiyi Wang
Prepare Pica registers for Geometry Shaders
2017-05-12Pica: Write GS registersJannik Vogel
This adds the handlers for the geometry shader register writes which will call the functions from the previous commit to update registers for the GS.
2017-05-12Pica: Write shader registers in functionsJannik Vogel
The commit after this one adds GS register writes, so this moves the VS handlers into functions so they can be re-used and extended more easily.
2017-05-11Pica: Set program code / swizzle data limit to 4096Jannik Vogel
One of the later commits will enable writing to GS regs. It turns out that on startup, most games will write 4096 GS program words. The current limit of 1024 would hence result in 3072 (4096 - 1024) error messages: ``` HW.GPU <Error> video_core/shader/shader.cpp:WriteProgramCode:229: Invalid GS program offset 1024 ``` New constants have been introduced to represent these limits. The swizzle data size has also been raised. This matches the given field sizes of [GPUREG_SH_OPDESCS_INDEX](https://3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_OPDESCS_INDEX) and [GPUREG_SH_CODETRANSFER_INDEX](https://www.3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_CODETRANSFER_INDEX) (12 bit = [0; 4095]).
2017-05-10Merge pull request #2669 from jroweboy/async_file_watcherYuri Kunde Schlesner
Frontend: Prevent FileSystemWatcher from blocking UI thread
2017-05-10Frontend: Prevent FileSystemWatcher from blocking UI threadJames Rowe
Instead of tying the QFileSystemWatcher to the GameList and updating in the UI thread, this change moves it to the worker thread. Since it gets deleted and recreated as part of the worker thread, this prevents it from ever getting used from multiple threads (which is why it was originally done on the UI thread)
2017-05-10Merge pull request #2676 from wwylele/irrstbunnei
ir: implement new 3ds HID via ir:rst
2017-05-09Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner
This replaces the hardcoded VRAM/DSP mappings with ones made based on the ExHeader ARM11 Kernel caps list. While this has no visible effect for most applications (since they use a standard set of mappings) it does improve support for system modules and n3DS exclusives.
2017-05-09DSP: Create backing memory for entire DSP RAMYuri Kunde Schlesner
Also move address space mapping out of video_core.
2017-05-09Memory: Add constants for the n3DS additional RAMYuri Kunde Schlesner
This is 4MB of extra, separate memory that was added on the New 3DS.
2017-05-08Merge pull request #2696 from Subv/vfp_revertYuri Kunde Schlesner
Dyncom/VFP: Revert edf30d8 and fix the FPSCR getting invalid values.
2017-05-09Dyncom/VFP: Strip the VFP_NAN_FLAG sentinel value when setting vfp exceptions.Subv
2017-05-09Revert "Remove `exceptions` parameter from `normaliseround` VFP functions"Subv
This reverts commit edf30d84cc0e8299d61c98f5bb40a6428d1576bc. Conflicts: src/core/arm/skyeye_common/vfp/vfp_helper.h src/core/arm/skyeye_common/vfp/vfpdouble.cpp src/core/arm/skyeye_common/vfp/vfpsingle.cpp
2017-05-08Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.Subv
Inputs are still not flushed to 0 if they are denormals.
2017-05-07Dyncom: Remove disassembler codeYuri Kunde Schlesner
Had licensing issue around it, in addition to several bugs. Closes #1632, #1280