Commit Graph

4926 Commits (eda28266fb1f0eb96a2096cadb41b62db3dc2d2e)
 

Author SHA1 Message Date
wwylele eda28266fb SwRasterizer/Lighting: move to its own file 8 years ago
wwylele 48b4105871 SwRasterizer/Lighting: reduce confusion 8 years ago
wwylele c59ed47608 SwRasterizer/Lighting: move quaternion normalization to the caller 8 years ago
wwylele 4feff63ffa SwRasterizer/Lighting: dist atten lut input need to be clamp 8 years ago
wwylele 56e5425e59 SwRasterizer/Lighting: unify float suffix 8 years ago
wwylele e415558a4f SwRasterizer/Lighting: get rid of nested return 8 years ago
wwylele c6d1472513 SwRasterizer/Lighting: refactor GetLutValue into a function.
merging similar pattern. Also makes the code more similar to the gl one
8 years ago
wwylele f13cf506e0 SwRasterizer: only interpolate quat and view when lighting is enabled 8 years ago
wwylele fe44e843fe vector_math: remove dead template parameter 8 years ago
wwylele efc655aec0 SwRasterizer/Lighting: pass lighting state as parameter 8 years ago
wwylele f3660ba9dd vector_math: remove broken SFINAE stuff
this was originally added to eliminate warnings on MSVC, but it doesn't work for custom types.
8 years ago
Subv 9906feefbd SwRasterizer/Lighting: Move the clamp highlight calculation to the end of the per-light loop body. 8 years ago
Subv 7526af5e52 SwRasterizer/Lighting: Move the lighting enable check outside the ComputeFragmentsColors function. 8 years ago
Subv b8229a7684 SwRasterizer/Lighting: Do not use global registers state in ComputeFragmentsColors. 8 years ago
Subv 7bc467e872 SwRasterizer/Lighting: Do not use global state in LookupLightingLut. 8 years ago
Subv 37ac2b6657 SwRasterizer/Lighting: Fixed a bug where the distance attenuation bias was being set to the dist atten scale. 8 years ago
Subv 6250f52e93 SwRasterizer: Fixed a few conversion warnings and moved per-light values into the per-light loop. 8 years ago
Subv 2d69a9b8bf SwRasterizer: Run clang-format 8 years ago
Subv 73566ff7a9 SwRasterizer: Flip the vertex quaternions before clipping (if necessary). 8 years ago
Subv 2a75837bc3 SwRasterizer: Corrected the light LUT lookups. 8 years ago
Subv f2d4d5c219 SwRasterizer: Corrected the light LUT lookups. 8 years ago
Subv 80b6fc592e SwRasterizer: Fixed the lighting lut lookup function. 8 years ago
Subv 10b0bea060 SwRasterizer: Calculate fresnel for fragment lighting. 8 years ago
Subv 46b8c8e1da SwRasterizer: Calculate specular_1 for fragment lighting. 8 years ago
Subv be25e78b07 SwRasterizer: Calculate specular_0 for fragment lighting. 8 years ago
Subv b2f472a2b1 SwRasterizer: Implement primary fragment color. 8 years ago
Sebastian Valle 669757a97b Merge pull request #2815 from mailwl/bossp
Service/boss:P: Add some functions to FunctionTable
8 years ago
bunnei 6d4bac8522 Merge pull request #2797 from yuriks/cached-vma-free-crash
Memory: Fix crash when unmapping a VMA covering cached surfaces
8 years ago
B3n30 2e37ce01c9 Implement basic virtual Room support based on enet (#2803)
* Added support for network with ENet lib,

connecting is possible, but data can't be sent, yet.

* fixup! Added support for network with ENet lib,

* fixup! CLang

* fixup! Added support for network with ENet lib,

* fixup! Added support for network with ENet lib,

* fixup! Clang format

* More fixups!

* Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Clang again

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes
8 years ago
James Rowe 22e7402ab1 Merge pull request #2814 from Kloen/macro-remove
Remove unnecessary WIN32_LEAN_AND_MEAN macro definition
8 years ago
mailwl 8582194a4c Service/boss:P: Add some functions to FunctionTable 8 years ago
Kloen 0e428823f0 Remove unnecessary WIN32_LEAN_AND_MEAN macro definition 8 years ago
Sebastian Valle 56d718b2a1 Merge pull request #2793 from Subv/replyandreceive
Kernel/SVC: Partially implemented svcReplyAndReceive
8 years ago
Subv b53fa9514f Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest. 8 years ago
Yuri Kunde Schlesner 686fde7e52 Merge pull request #2809 from wwylele/texture-copy-fix
gpu: fix edge cases for TextureCopy
8 years ago
wwylele 85a448d405 gpu: add comments for TextureCopy 8 years ago
Yuri Kunde Schlesner a613d45de9 Merge pull request #2800 from wwylele/fog-lutlutlut
gl_rasterizer: use texture buffer for fog LUT
8 years ago
James Rowe 19f1216e72 Merge pull request #2811 from MerryMage/qtdebug
configure_debug: Add label warning that CPU JIT needs to be disabled …
8 years ago
James Rowe 7af6931fb5 Merge pull request #2812 from tiagmoraismorgado/patch-1
fixing a couple of typos
8 years ago
Tiago Morais Morgado 470c6bdca9 fixing a couple of typos 8 years ago
MerryMage f1790e6d91 configure_debug: Add label warning that CPU JIT needs to be disabled for gdbstub to work 8 years ago
wwylele bf16c73260 gpu: fix edge cases for TextureCopy 8 years ago
Sebastian Valle fa53ccc74b Merge pull request #2778 from Subv/uds_more
Services/UDS: Stub SendTo to generate the unencrypted data frames with the right headers
8 years ago
Subv 2eb174713b UDS: Use the ToDS and FromDS fields to properly calculate the AAD used during encryption. 8 years ago
Subv 1f1739d366 UDS: Move the UDS keyslot used to generate the CCMP key to the AES::KeySlotID enum. 8 years ago
Subv 87168bfe8b UDS: Run clang-format. 8 years ago
Subv 9befb8c887 UDS: Added functions to encrypt and decrypt the data frames.
The responsibility of encryption and encapsulation into an 802.11 MAC frame will fall into the callers of GenerateDataPayload.
8 years ago
Subv c3c9175a1c Kernel/Sessions: Clean up the list of pending request threads of a session when the client endpoint is closed. 8 years ago
Subv 88c93a7436 Kernel/SVC: Partially implemented svcReplyAndReceive.
It behaves mostly as WaitSynchronizationN with wait_all = false, except for IPC buffer translation.

The target thread of an IPC response will now wake up when responding.
IPC buffer translation is currently not implemented.
Error passing back to svcSendSyncRequest is currently not implemented.
8 years ago
Subv 8feeb81af2 Kernel/ServerSession: Keep track of which threads have issued sync requests. 8 years ago