bunnei
b8ce2936a9
Merge pull request #1773 from lioncash/thread
common/thread: Minor cleanup
7 years ago
Hexagon12
7ba80865a9
Added predicate comparison LessEqualWithNan ( #1736 )
* Added predicate comparison LessEqualWithNan
* oops
* Clang fix
7 years ago
bunnei
e90a06465e
Merge pull request #1756 from ReinUsesLisp/fix-textures
gl_shader_decompiler: Fix register overwriting on texture calls
7 years ago
bunnei
111fd1c2e9
Merge pull request #1766 from FernandoS27/fix-txq
Properly Implemented TXQ Instruction
7 years ago
bunnei
9673401302
Merge pull request #1762 from bunnei/getgputime
nvhost_ctrl_gpu: Implement IoctlGetGpuTime.
7 years ago
Mat M
1c4ca87291
Merge pull request #1779 from DarkLordZach/debug-pad-unmapped
debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)
7 years ago
Zach Hilman
e66f2db880
debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)
Prevents memory exceptions when the debug pad is enabled.
7 years ago
bunnei
c4d7ee67fd
Merge pull request #1775 from bunnei/blend-eq
maxwell_3d: Implement alternate blend equations.
7 years ago
bunnei
afff2f4f2f
Merge pull request #1765 from bunnei/multi-audout
audout_u: Add support for multiple IAudioOut streams.
7 years ago
bunnei
0fb584ec0e
Merge pull request #1764 from bunnei/macrointerpreter
macro_interpreter: Implement AddWithCarry and SubtractWithBorrow.
7 years ago
bunnei
e48ea86186
macro_interpreter: Implement AddWithCarry and SubtractWithBorrow.
- Used by Undertale.
7 years ago
bunnei
985ee6c596
audout_u: Add support for multiple IAudioOut streams.
- Used by Undertale.
7 years ago
bunnei
e17f9a1ed9
maxwell_3d: Implement alternate blend equations.
- Used by Undertale.
7 years ago
Lioncash
db0cee0b0a
common/thread: Drop Hungarian notation on SetCurrentThreadName's parameter
This is inconsistent with our coding style.
7 years ago
bunnei
f467d8e8a3
Merge pull request #1737 from FernandoS27/layer-copy
Implemented Fast Layered Copy
7 years ago
bunnei
d85816e36f
Merge pull request #1771 from lioncash/bit-set
common: Remove bit_set.h
7 years ago
bunnei
7f5f6018c4
Merge pull request #1767 from lioncash/handle
kernel/handle_table: Minor changes
7 years ago
Lioncash
1eb9558dd8
common/thread: Make Barrier's 'count' member non-const
While admirable as a means to ensure immutability, this has the
unfortunate downside of making the class non-movable. std::move cannot
actually perform a move operation if the provided operand has const data
members (std::move acts as an operation to "slide" resources out of an
object instance). Given Barrier contains move-only types such as
std::mutex, this can lead to confusing error messages if an object ever
contained a Barrier instance and said object was attempted to be moved.
7 years ago
Lioncash
e5a57346ea
common/thread: Initialize class member variables where applicable
Simplifies the constructor interfaces for Barrier and Event classes.
7 years ago
Lioncash
6459301aa3
common/thread: Group non-member functions together
Keeps the non-member interface in one spot instead of split into two
places, making it nicer to locate functions.
7 years ago
Lioncash
814e65334e
common/thread: Remove SleepCurrentThread()
This is also unused and superceded by standard functionality. The
standard library provides std::this_thread::sleep_for(), which provides
a much more flexible interface, as different time units can be used with
it.
7 years ago
Lioncash
c8c46d0278
common/thread: Remove unused CurrentThreadId()
This is an old function that's no longer necessary. C++11 introduced
proper threading support to the language and a thread ID can be
retrieved via std::this_thread::get_id() if it's ever needed.
7 years ago
Lioncash
aa5e7037ec
common: Remove bit_set.h
This is an analog of BitSet from Dolphin that was introduced to allow
iterating over a set of bits. Given it's currently unused, and given
that std::bitset exists, we can remove this. If it's ever needed in the
future it can be brought back.
7 years ago
ReinUsesLisp
d0cbabb0cd
gl_shader_decompiler: Fix register overwriting on texture calls
7 years ago
Lioncash
f1a863e583
kernel/handle_table: Move private static functions into the cpp file
These don't depend on class state, and are effectively implementation
details, so they can go into the cpp file .
7 years ago
Lioncash
6fac9e5b31
kernel/handle_table: Restrict handle table size to 1024 entries
The previous handle table size is a holdover from Citra. The actual
handle table construct on Horizon only allows for a maximum of 1024
entries.
7 years ago
Lioncash
6c9a6a08ee
kernel/handle_table: Default destructor in the cpp file
We don't need to potentially inline the teardown logic of all of the
handle instances.
7 years ago
bunnei
6224fcba62
Merge pull request #1753 from FernandoS27/ufbtype
Use default values for unknown framebuffer pixel format
7 years ago
bunnei
8bf0fd7129
Merge pull request #1752 from ReinUsesLisp/unimpl-decompiler
gl_shader_decompiler: Use UNIMPLEMENTED when applicable
7 years ago
FernandoS27
1d41ebf29e
Properly Implemented TXQ Instruction
7 years ago
bunnei
6fce9b11e7
Merge pull request #1742 from lioncash/hle-swkbd
am/applets: Minor cleanup
7 years ago
bunnei
a9b2d1bb73
nvhost_ctrl_gpu: Implement IoctlGetGpuTime.
- Used by Undertale.
7 years ago
bunnei
fab51e2542
Merge pull request #1754 from ReinUsesLisp/zero-register
gl_shader_decompiler: Remove UNREACHABLE when setting RZ
7 years ago
bunnei
9acb97c476
Merge pull request #1758 from lioncash/rect
common/math_util: Minor cleanup
7 years ago
bunnei
3a924d0659
Merge pull request #1759 from lioncash/unused
common: Remove depencency on xbyak
7 years ago
FernandoS27
d79f3473ae
Use default values for unknown framebuffer pixel format
7 years ago
Lioncash
7a14d90f97
common: Remove dependency on xbyak
Xbyak is currently entirely unused. Rather than carting it along, remove
it and get rid of a dependency. If it's ever needed in the future, then
it can be re-added (and likely be more up to date at that point in
time).
7 years ago
Lioncash
2c80a3e089
common/math_util: Simplify std::make_signed usages to std::make_signed_t
Gets rid of the need to use typename to access the ::type alias.
7 years ago
Lioncash
fb1339a385
common/math_util: Make Rectangle's constructors constexpr
Allows objects that contain rectangle instances to be constexpr
constructible as well.
7 years ago
Lioncash
60d2e259bb
common/math_util: Remove unnecessary static from PI
const/constexpr variables have internal linkage by default.
7 years ago
Lioncash
b3577fccc1
common/math_util: Remove unused IntervalsIntersect() function
This hasn't been used since the project started, so we may as well get
rid of it to keep it from bit rotting.
7 years ago
bunnei
7ac27d39c4
Merge pull request #1751 from bunnei/color-mask-fix
maxwell_3d: Initialize rasterizer color mask registers as enabled.
7 years ago
ReinUsesLisp
5ca514e539
gl_shader_decompiler: Remove UNREACHABLE when setting RZ
7 years ago
bunnei
0ca1e4cbbb
Merge pull request #1750 from lioncash/amend
am: Correct build failure
7 years ago
ReinUsesLisp
6f4dcefc6a
gl_shader_decompiler: Use UNIMPLEMENTED instead of LOG+UNREACHABLE when applicable
7 years ago
bunnei
953c140eca
maxwell_3d: Initialize rasterizer color mask registers as enabled.
- Fixes rendering regression with Sonic Mania.
7 years ago
Lioncash
4bf9e0d35d
am: Correct build failure
The interface for shared memory was changed, but another commit was
merged that relied on the (previously public) internals of SharedMemory.
This amends that discrepancy.
7 years ago
bunnei
7be91f483d
Merge pull request #1734 from lioncash/shared
kernel/shared_memory: Make data members private, plus minor interface changes
7 years ago
bunnei
c54e0b5bf8
Merge pull request #1733 from lioncash/ldr
ldr: Clean up error codes
7 years ago
bunnei
7998a4e5b2
Merge pull request #1746 from lioncash/random
kernel/process: Move <random> include to the cpp file
7 years ago