David Marcec
d5a69ecb68
nvdrv: Fix GetGpuTime stack corruption
IoctlGetGpuTime should be 16 bytes, not 8.
6 years ago
bunnei
3a13552db8
Merge pull request #3827 from ogniK5377/cubeb-616d773
externals: Update cubeb to 616d773
6 years ago
David Marcec
8850d85341
am: IHomeMenuFunctions:GetPopFromGeneralChannelEvent
QLaunch 1.0.0
6 years ago
Jason Parker
4b16e93f1a
caps:su Stub out SetShimLibraryVersion
Used by Animal Crossing: New Horizons when trying to take a picture.
6 years ago
Mat M
f88d2f5739
Merge pull request #3823 from ogniK5377/setvrmode
am: IsVrModeEnabled & SetVrModeEnabled fixes
6 years ago
Mat M
ecf1f2e054
Merge pull request #3830 from ogniK5377/GetFriendInvitationStorageChannelEvent
am: GetFriendInvitationStorageChannelEvent
6 years ago
Mat M
0a0b676286
Merge pull request #3835 from ogniK5377/GetFreeSpaceSize-GetTotalSpaceSize
fs-srv: GetFreeSpaceSize & GetTotalSpaceSize
6 years ago
Mat M
07552d4615
Merge pull request #3832 from ogniK5377/nim-eca-CreateServerInterface
nim: CreateServerInterface, CreateAccessorInterface, CreateAsyncInterface
6 years ago
Mat M
e6f4251988
Merge pull request #3831 from ogniK5377/caps-su-names
caps: Add missing service names to caps:su
6 years ago
bunnei
96cd5dce85
Merge pull request #3825 from ogniK5377/psm-no-warn
psm: Mark as debug instead of warning
6 years ago
bunnei
bf3f030a0d
Merge pull request #3807 from ReinUsesLisp/fix-depth-clamp
maxwell_3d: Fix depth clamping register
6 years ago
bunnei
c7b5a87c90
Merge pull request #3799 from ReinUsesLisp/iadd-cc
shader: Implement P2R CC, IADD Rd.CC and IADD.X
6 years ago
bunnei
da2b8295e1
Merge pull request #3805 from ReinUsesLisp/preserve-contents
texture_cache: Reintroduce preserve_contents accurately
6 years ago
bunnei
6572660fde
Merge pull request #3788 from FernandoS27/revert
Revert: shader_decode: Fix LD, LDG when track constant buffer.
6 years ago
David Marcec
78e5f162e2
fs-srv: GetFreeSpaceSize & GetTotalSpaceSize
Closes #3533
Turns out the functions were already implemented but just never added
6 years ago
David Marcec
55e423c8b6
nim: CreateServerInterface, CreateAccessorInterface, CreateAsyncInterface
Closes #3026
6 years ago
David Marcec
738140fdd8
caps: Add missing service names to caps:su
SetShimLibraryVersion, SaveScreenShotEx1 & SaveScreenShotEx2 were missing
6 years ago
David Marcec
10804d6d0e
am: GetFriendInvitationStorageChannelEvent
Closes #3829
6 years ago
David Marcec
38ec6e14d9
externals: Update cubeb to 616d773
Support for 6 audio channels
6 years ago
David
3e9cafbee5
Merge pull request #3826 from MerryMage/update-dynarmic
externals: Update dynarmic to e7166e8b
6 years ago
MerryMage
b7a69501cd
externals: Update dynarmic to e7166e8b
6 years ago
David Marcec
973c40b63e
psm: Mark as debug instead of warning
No point to emulate battery life. However options are broken out if we ever want to add a setting for it
6 years ago
David Marcec
9acd336422
am: Properly implement GetDisplayVersion
Properly implement IApplicationFunctions::GetDisplayVersion
6 years ago
David Marcec
8bddc750e2
am: IsVrModeEnabled & SetVrModeEnabled fixes
Return the proper state of vr mode for IsVrModeEnabled
We should not return an error for SetVrModeEnabled. When VR Mode is turned on, it signals to lbl to turn vr mode on, not return an error code
6 years ago
David Marcec
1417849a2b
acc: Return a unique value per account for GetAccountId
6 years ago
David Marcec
1fbc341aba
acc: Fix InitializeApplicationInfo
We're not suppose to pop a u64, should just read the sent pid and check that
6 years ago
David Marcec
b6538c3e7c
kernel: Don't fail silently
6 years ago
Lioncash
6c53edd4d3
vulkan: Remove unnecessary includes
Reduces some header churn and reduces rebuilds when some header
internals change.
While we're at it we can also resolve a missing include in buffer_cache.
6 years ago
bunnei
8e64fb3225
Merge pull request #3771 from benru/dump-romfs-with-updates
Dump RomFS command to include Updates
6 years ago
Mat M
c3c3e07263
Merge pull request #3818 from ogniK5377/err-log
Don't fail silently for vi, sm, set and ns services
6 years ago
Mat M
5cb531b6cf
Merge pull request #3783 from lioncash/pointer
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
6 years ago
David Marcec
b4dbf1b9c7
Don't fail silently for vi, sm, set and ns services
6 years ago
ReinUsesLisp
871aadbe36
shader/arithmetic_integer: Fix tracking issue in temporary
This temporary is not needed as we mark Rd.CC + IADD.X as unimplemented.
It caused issues when tracking global buffers.
6 years ago
Fernando Sahmkow
9df67b2095
Clang Format and Documentation.
6 years ago
Fernando Sahmkow
37c690576f
MaxwellDMA: Optimize micro copies.
6 years ago
bunnei
72b73d22ab
Merge pull request #3784 from ReinUsesLisp/shader-memory-util
shader/memory_util: Deduplicate code
6 years ago
Mat M
961427037c
Merge pull request #3814 from ogniK5377/getinfo-err
kernel: Bad GetInfo ids should not be marked as stubs
6 years ago
David Marcec
2261cf24af
kernel: Bad GetInfo ids should not be marked as stubs
As we currently match hardware and don't return a successful result, these should be marked as errors instead of warnings and as stubs.
6 years ago
David Marcec
fdbeb90bd0
Updated comment to reflect ListQualifiedUsers better
6 years ago
Mat M
5e19691e41
Merge pull request #3813 from ogniK5377/err-hex-2-dec
style: Change AMs & Glues error codes to be dec instead of hex
6 years ago
David Marcec
0f6064e5c9
style: Change AMs & Glues error codes to be dec instead of hex
Consistency for the rest of the error codes in the codebase
6 years ago
David Marcec
1276e425d2
marked stubs
6 years ago
David Marcec
a17813c4f4
account: ListQualifiedUsers
Closes #2844
6 years ago
David Marcec
fb51a655b8
Audin:u ListAudioIns, OpenAudioIn, ListAudioInsAuto, OpenAudioInAuto, ListAudioInsAutoFiltered, OpenAudioInProtocolSpecified
Closes #2874
6 years ago
ReinUsesLisp
d6a24b4a5b
vk_rasterizer: Skip index buffer setup when vertices are zero
Xenoblade 2 invokes a draw call with zero vertices.
This is likely due to indirect drawing (glDrawArraysIndirect).
This causes a crash in the staging buffer pool when trying to create a
buffer with a size of zero. To workaround this, skip index buffer setup
entirely when the number of indices is zero.
6 years ago
ReinUsesLisp
fe931ac976
{maxwell_3d,buffer_cache}: Implement memory barriers using 3D registers
Drop MemoryBarrier from the buffer cache and use Maxwell3D's register
WaitForIdle.
To implement this on OpenGL we just call glMemoryBarrier with the
necessary bits.
Vulkan lacks this synchronization primitive, so we set an event and
immediately wait for it. This is not a pretty solution, but it's what
Vulkan can do without submitting the current command buffer to the queue
(which ends up being more expensive on the CPU).
6 years ago
Fernando Sahmkow
b87422a86f
VideoCore/GPU: Delegate subchannel engines to the dma pusher.
6 years ago
Fernando Sahmkow
90e5694230
VideoCore/Engines: Refactor Engines CallMethod.
6 years ago
ReinUsesLisp
bb1ed66d99
maxwell_3d: Fix depth clamping register
Using deko3d as reference:
4e47ba0013/source/maxwell/gpu_3d_state.cpp (L42)
We were using bits 3 and 4 to determine depth clamping, but these are
the same both enabled and disabled:
state->depthClampEnable ? 0x101A : 0x181D
The same happens on Nvidia's OpenGL driver, where they do something like
this (default capabilities, GL 4.5 compatibility):
(state & DEPTH_CLAMP) != 0 ? 0x201a : 0x281c
There's always a difference between the first bits in this register, but
bit 11 is consistently disabled on both deko3d/NVN and OpenGL. This
commit changes yuzu's behaviour to use bit 11 to determine depth
clamping.
- Fixes depth issues on Super Mario Odyssey's intro.
6 years ago
bunnei
4dca2298f9
Merge pull request #3785 from ogniK5377/set-buffer-count-unit
vi: Don't let uninitialized data pass as a response for SetBufferCount
6 years ago