Mat M
354fd09052
Merge pull request #3835 from ogniK5377/GetFreeSpaceSize-GetTotalSpaceSize
fs-srv: GetFreeSpaceSize & GetTotalSpaceSize
6 years ago
Mat M
fc4b536a7e
Merge pull request #3832 from ogniK5377/nim-eca-CreateServerInterface
nim: CreateServerInterface, CreateAccessorInterface, CreateAsyncInterface
6 years ago
Mat M
74595956c2
Merge pull request #3831 from ogniK5377/caps-su-names
caps: Add missing service names to caps:su
6 years ago
bunnei
656fc982e0
Merge pull request #3825 from ogniK5377/psm-no-warn
psm: Mark as debug instead of warning
6 years ago
bunnei
6a57e5fc49
Merge pull request #3807 from ReinUsesLisp/fix-depth-clamp
maxwell_3d: Fix depth clamping register
6 years ago
bunnei
e043a955f1
Merge pull request #3799 from ReinUsesLisp/iadd-cc
shader: Implement P2R CC, IADD Rd.CC and IADD.X
6 years ago
bunnei
2765bb73a2
Merge pull request #3805 from ReinUsesLisp/preserve-contents
texture_cache: Reintroduce preserve_contents accurately
6 years ago
bunnei
e20f3161a3
Merge pull request #3788 from FernandoS27/revert
Revert: shader_decode: Fix LD, LDG when track constant buffer.
6 years ago
David Marcec
053fabf414
fs-srv: GetFreeSpaceSize & GetTotalSpaceSize
Closes #3533
Turns out the functions were already implemented but just never added
6 years ago
David Marcec
9acd88ff71
nim: CreateServerInterface, CreateAccessorInterface, CreateAsyncInterface
Closes #3026
6 years ago
David Marcec
66f74349f0
caps: Add missing service names to caps:su
SetShimLibraryVersion, SaveScreenShotEx1 & SaveScreenShotEx2 were missing
6 years ago
David
e0047b0ead
Merge pull request #3826 from MerryMage/update-dynarmic
externals: Update dynarmic to e7166e8b
6 years ago
MerryMage
0f231b7f3d
externals: Update dynarmic to e7166e8b
6 years ago
David Marcec
b1d4271c5d
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
bunnei
153e6fccb2
Merge pull request #3771 from benru/dump-romfs-with-updates
Dump RomFS command to include Updates
6 years ago
Mat M
83a5463c10
Merge pull request #3818 from ogniK5377/err-log
Don't fail silently for vi, sm, set and ns services
6 years ago
Mat M
661193a566
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
63b73587b7
Don't fail silently for vi, sm, set and ns services
6 years ago
ReinUsesLisp
8d28a56a6c
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
bunnei
510842d827
Merge pull request #3784 from ReinUsesLisp/shader-memory-util
shader/memory_util: Deduplicate code
6 years ago
Mat M
73bcc49c27
Merge pull request #3814 from ogniK5377/getinfo-err
kernel: Bad GetInfo ids should not be marked as stubs
6 years ago
David Marcec
45ece975bf
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
Mat M
6c8a7d45ac
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
0af061e175
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
ReinUsesLisp
b82e61dff0
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
27dc83efa6
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
Fernando Sahmkow
fe8ea9e0c9
Merge pull request #3766 from ReinUsesLisp/renderpass-cache-key
vk_renderpass_cache: Pack renderpass cache key and unify keys
6 years ago
Fernando Sahmkow
2043198e50
Merge pull request #3756 from ReinUsesLisp/integrated-devices
vk_memory_manager: Remove unified memory model flag
6 years ago
Mat M
ba644d9560
Merge pull request #3797 from slashiee/hid-stub
services: hid: Stub StopSevenSixAxisSensor.
6 years ago
bunnei
d952b2e1da
Merge pull request #3742 from FernandoS27/command-list
Optimize GPU Command Lists and Introduce Fast GPU Time Option
6 years ago
ReinUsesLisp
8e3af5d3ca
texture_cache: Reintroduce preserve_contents accurately
This reverts commit 1f1e80c67d .
preserve_contents proved to be a meaningful optimization. This commit
reintroduces it but properly implemented on OpenGL.
We have to make sure the clear removes all the previous contents of the
image.
It's not currently implemented on Vulkan because we can do smart things
there that's preferred to be introduced in a separate commit.
6 years ago
bunnei
f5bd43b7f0
Merge pull request #3795 from vitor-k/fix-folder
Fix "Port citra-emu/citra#4956 : "Fixes to game list sorting" #3611"
6 years ago
bunnei
c9b8476b99
Merge pull request #3744 from lioncash/table2
service: Update function tables
6 years ago
Rodrigo Locatti
0f7a89c2ef
Merge pull request #3753 from ReinUsesLisp/ac-vulkan
{gl,vk}_rasterizer: Add lazy default buffer maker and use it for empty buffers
6 years ago
ReinUsesLisp
9b433b2467
shader/memory_util: Deduplicate code
Deduplicate code shared between vk_pipeline_cache and gl_shader_cache as
well as shader decoder code.
While we are at it, fix a bug in gl_shader_cache where compute shaders
had an start offset of a stage shader.
6 years ago
bunnei
ed2f950518
Merge pull request #3791 from Kewlan/hotkey-config-plus
configuration: Add Restore Default and Clear options to hotkeys
6 years ago
bunnei
cc25a04993
Merge pull request #3761 from Kewlan/stick-modifier-slider
configure_input_player: Use slider to edit modifier scale
6 years ago
ReinUsesLisp
7442f21c5b
shader/arithmetic_integer: Fix edge case and mark IADD.X Rd.CC as unimplemented
IADD.X Rd.CC requires some extra logic that is not currently
implemented. Abort when this is hit.
6 years ago
ReinUsesLisp
45cb8fc72a
shader/arithmetic_integer: Change IAdd to UAdd to avoid signed overflow
Signed integer addition overflow might be undefined behavior. It's free
to change operations to UAdd and use unsigned integers to avoid
potential bugs.
6 years ago
ReinUsesLisp
6404cd824b
shader/arithmetic_integer: Implement IADD.X
IADD.X takes the carry flag and adds it to the result. This is generally
used to emulate 64-bit operations with 32-bit registers.
6 years ago
ReinUsesLisp
7e8f51273c
shader/arithmetic_integer: Implement CC for IADD
6 years ago
ReinUsesLisp
26dc95c7bc
decode/register_set_predicate: Implement CC
P2R CC takes the state of condition codes and puts them into a register.
We already have this implemented for PR (predicates). This commit
implements CC over that.
6 years ago
ReinUsesLisp
491e2cbfd7
decode/register_set_predicate: Use move for shared pointers
Avoid atomic counters used by shared pointers.
6 years ago
M&M
381eed14f6
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
Vitor Kiguchi
de072fd257
Fix the mistake in the port and update the comment for clarity
6 years ago
bunnei
6cd0fc2a95
Merge pull request #3721 from ReinUsesLisp/sort-devices
vulkan/wrapper: Sort physical devices
6 years ago
bunnei
05a54192f8
Merge pull request #3734 from ReinUsesLisp/half-float-mods
decode/arithmetic_half: Fix HADD2 and HMUL2 absolute and negation bits
6 years ago
bunnei
01c26ad131
Merge pull request #3780 from lioncash/process
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
6 years ago
ReinUsesLisp
88a6c10687
vk_rasterizer: Pack texceptions and color formats on invalid formats
Sometimes for unknown reasons NVN games can bind a render target format
of 0. This may be a yuzu bug.
With the commits before this the formats were specified without being
"packed", assuming all formats and texceptions will be written like in
the color_attachments vector.
To address this issue, iterate all render targets and pack them as they
are valid. This way they will match color_attachments.
- Fixes validation errors and graphical issues on Breath of the Wild.
6 years ago
Kewlan
37b1427ea9
Add Restore Defaults and Clear options to hotkeys
6 years ago