aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-06-22gl_rasterizer: create the texture before applying the statewwylele
this is a rebasing error from #2792. It doesn't affect much though, because the later more Apply() call fixes/hides it
2017-06-22Kernel: Fix typo in test nameYuri Kunde Schlesner
2017-06-22Kernel: Implement CreateSession SVCYuri Kunde Schlesner
2017-06-21Memory: Add function to flush a virtual range from the rasterizer cacheYuri Kunde Schlesner
This is slightly more ergonomic to use, correctly handles virtual regions which are disjoint in physical addressing space, and checks only regions which can be cached by the rasterizer.
2017-06-21Memory: Fix crash when unmapping a VMA covering cached surfacesYuri Kunde Schlesner
Unmapping pages tries to flush any cached GPU surfaces touching that region. When a cached page is invalidated, GetPointerFromVMA() is used to restore the original pagetable pointer. However, since that VMA has already been deleted, this hits an UNREACHABLE case in that function. Now when this happens, just set the page type to Unmapped and continue, which arrives at the correct end result.
2017-06-21Memory: Add TryVirtualToPhysicalAddress, returning a boost::optionalYuri Kunde Schlesner
2017-06-21Memory: Make PhysicalToVirtualAddress return a boost::optionalYuri Kunde Schlesner
And fix a few places in the code to take advantage of that.
2017-06-21Merge pull request #2792 from wwylele/lutlutlutYuri Kunde Schlesner
gl_rasterizer: fix lighting LUT interpolation
2017-06-21Kernel/IPC: Support translation of null handlesYuri Kunde Schlesner
Missed this in my first implementation. Thanks to @wwylele for pointing out that this was missing.
2017-06-21gl_state: reset 1d textureswwylele
2017-06-21gl_rasterizer: fix glGetUniformLocation typewwylele
2017-06-21gl_rasterizer: manage texture ids in one placewwylele
2017-06-21gl_rasterizer/lighting: fix LUT interpolationwwylele
2017-06-21Changing default values for bg_red, bg_green, and bg_blue from 1.0 to 0.0.chris062689
2017-06-21Merge pull request #2789 from yuriks/misc-kernelWeiyi Wang
Trivial no-op additions
2017-06-20Merge pull request #2790 from yuriks/remove-movefromYuri Kunde Schlesner
Remove ResultVal::MoveFrom
2017-06-20Memory: Add enum definitions for the n3DS FCRAM sizeYuri Kunde Schlesner
2017-06-21Merge pull request #2779 from Subv/uds_more2Sebastian Valle
UDS: Added a hook for updating the connection status when a client connects to the network.
2017-06-18ResultVal: Remove MoveFrom()Yuri Kunde Schlesner
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
2017-06-18ResultVal: Add an rvalue overload of Unwrap()Yuri Kunde Schlesner
2017-06-18Kernel: Add comment about the extended linear heap areaYuri Kunde Schlesner
2017-06-18Kernel/IPC: Add tests for HLERequestContext buffer translationYuri Kunde Schlesner
2017-06-18Kernel/IPC: Make HLERequestContext usable from outside kernelYuri Kunde Schlesner
2017-06-18Merge pull request #2776 from wwylele/geo-factorYuri Kunde Schlesner
Fragment lighting: implement geometric factor
2017-06-18gl_rasterizer/lighting: use the formula from the paper for germetic factorwwylele
2017-06-17Stop using reserved operator names (and/or/xor) with XbyakYuri Kunde Schlesner
Also has the Dynarmic upgrade with the same change
2017-06-15UDS: Clarify comment about the first 4 bytes of the SecureData header.Subv
It is likely that these 4 bytes are actually a different header, part of some protocol that encapsulates the SecureData protocol.
2017-06-15UDS: Return the correct error messages in SendTo when not connected to a ↵Subv
network or trying to send to itself.
2017-06-15UDS: Stub SendTo to generate the unencrypted data frame with the right headers.Subv
2017-06-15UDS: Added a hook for updating the connection status when a client connects ↵Subv
to the network.
2017-06-15gl_rasterizer/lighting: implement geometric factorwwylele
2017-06-14Merge pull request #2762 from wwylele/light-cp-tangentYuri Kunde Schlesner
Fragment lighting: implement lut input 5 (CP) and tangent mapping
2017-06-13Merge pull request #2743 from wwylele/wrap-fixYuri Kunde Schlesner
pica/rasterizer: implement/stub texture wrap mode 4-7
2017-06-13Services/UDS: Set the proper bit in the ConnectionStatus structure when ↵Sebastian Valle
creating a network. (#2738) * Services/UDS: Set the proper bit in the ConnectionStatus structure when creating a network. This lets the application know that the host was successfully added to the session. * Services/UDS: Reset the connection status when destroying the network * Services/UDS: Reset the connection status's bitmask of changed nodes after reporting it to the game.
2017-06-12Merge pull request #2767 from yuriks/quaternion-flip-commentYuri Kunde Schlesner
OpenGL: Update comment on AreQuaternionsOpposite with new information
2017-06-11Merge pull request #2774 from yuriks/hle-handlesYuri Kunde Schlesner
Add basic support for IPC translation for HLE services
2017-06-11Kernel/IPC: Use boost::small_vector for HLE context objectsYuri Kunde Schlesner
2017-06-11Kernel: Allow clearing request_objects to re-use buffer spaceYuri Kunde Schlesner
Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles).
2017-06-11Kernel: Basic support for IPC translation for HLE servicesYuri Kunde Schlesner
2017-06-11Service/sm: Convert srv: to use IPC helpersYuri Kunde Schlesner
2017-06-11IPC: Add Pop/PushObjects methods to RequestParser/BuilderYuri Kunde Schlesner
These use the context functions to create and look-up handles for the user.
2017-06-11IPC: Add basic HLERequestContext support to RequestParser/BuilderYuri Kunde Schlesner
2017-06-11Kernel: Add methods in HLERequestContext abstracting handle creationYuri Kunde Schlesner
2017-06-11ServiceFramework: Use separate copy of command bufferYuri Kunde Schlesner
Copy the IPC command buffer to/from the request context before/after the handler is invoked. This is part of a move away from using global data for handling IPC requests.
2017-06-11gl_rasterizer/lighting: Implement tangent mappingwwylele
2017-06-11gl_rasterizer/lighting: implement lut input 5 (CP)wwylele
2017-06-11Merge pull request #2727 from wwylele/spot-lightSebastian Valle
Fragment lighting: implement spot light
2017-06-10gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is ↵wwylele
false
2017-06-10OpenGL: Update comment on AreQuaternionsOpposite with new informationYuri Kunde Schlesner
While debugging the software renderer implementation, it was noticed that this is actually exactly what the hardware does, upgrading the status of this "hack" to being a proper implementation. And there was much rejoicing.
2017-06-08Remove unused import in break_points.cpp (#2763)Kloen Lansfiel