David Marcec
63b73587b7
Don't fail silently for vi, sm, set and ns services
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
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
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
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
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
Markus Wick
1acd6b34e9
Fix -Wdeprecated-copy warning.
6 years ago
Markus Wick
ac24f0506c
Fix -Werror=conversion error.
6 years ago
David Marcec
efe3e5c7c6
vi: Don't let uninitialized data pass as a response for SetBufferCount
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
6 years ago
Lioncash
9a5a6ebe0a
shared_memory: Amend doxygen reference
Amends the parameter to match the documentation reference.
Resolves a -Wdocumentation warning with clang.
6 years ago
Lioncash
224d3c6b9d
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
These were lost in the re-implementation of the virtual memory manager.
6 years ago
Lioncash
2fc4351547
svc: Remove unused variable
Since the VMM refactor, this is no longer used or needed.
6 years ago
Lioncash
a881161d3c
page_table: Remove unused captures
Any time the lambda function is called, the permission being used in the
capture would be passed in as an argument to the lambda, so the capture
is unnecessary.
6 years ago
ReinUsesLisp
3e808936a8
decode/arithmetic_half: Fix HADD2 and HMUL2 absolute and negation bits
The encoding for negation and absolute value was wrong.
Extracting is now done manually. Similar instructions having different
encodings is the rule, not the exception. To keep sanity and readability
I preferred to extract the desired bit manually.
This is implemented against nxas:
8dbc389957/table.h (L68)
That is itself tested against nvdisasm (Nvidia's official disassembler).
6 years ago
ReinUsesLisp
f78f26b75a
vk_rasterizer: Fix framebuffer creation validation errors
Framebuffer creation was ignoring the number of color attachments.
6 years ago
ReinUsesLisp
ab7eae6fff
vk_pipeline_cache: Unify pipeline cache keys into a single operation
This allows us to call Common::CityHash and std::memcmp only once for
GraphicsPipelineCacheKey. While we are at it, do the same for compute.
6 years ago
ReinUsesLisp
7b76c67803
vk_renderpass_cache: Pack renderpass cache key to 12 bytes
6 years ago
bunnei
da893629a0
kernel: memory: Improve implementation of device shared memory. ( #3707 )
* kernel: memory: Improve implementation of device shared memory.
* fixup! kernel: memory: Improve implementation of device shared memory.
* fixup! kernel: memory: Improve implementation of device shared memory.
6 years ago
Fernando Sahmkow
0cf32d6184
Clang Format.
6 years ago
Fernando Sahmkow
c8f4549d43
GPU: Add Fast GPU Time Option.
6 years ago
Fernando Sahmkow
9311983f3d
Maxwell3D: Process Macros on MultiMethod.
6 years ago
Fernando Sahmkow
ef3a0ae64a
DMAPusher: Propagate multimethod writes into the engines.
6 years ago
Kewlan
0e86640777
Edit modifier_scale with the deadzone slider
6 years ago
H27CK
dece9ce075
Fix format error in performance statistics
Formatting
6 years ago
ReinUsesLisp
910decd9cb
vk_pipeline_cache: Fix unintentional memcpy into optional
The intention behind this was to assign a float to from an uint32_t, but
it was unintentionally being copied directly into the std::optional.
Copy to a temporary and assign that temporary to std::optional. This can
be replaced with std::bit_cast<float> once we are in C++20.
6 years ago
Fernando Sahmkow
e211e30093
GL_Fence_Manager: use GL_TIMEOUT_IGNORED instead of a loop,
6 years ago
H27CK
bcfc119c3b
Add missing ;
6 years ago
Fernando Sahmkow
02e55a28eb
Address Feedback.
6 years ago
Fernando Sahmkow
491aea4a91
Async GPU: Correct flushing behavior to be similar to old async GPU behavior.
6 years ago
Fernando Sahmkow
64b69273f5
MaxwellDMA: Correct copying on accuracy level.
6 years ago
Fernando Sahmkow
d9f1d5a4fd
ShaderCache/PipelineCache: Cache null shaders.
6 years ago
Fernando Sahmkow
ea522da8b5
Address Feedback.
6 years ago
Fernando Sahmkow
ae2b3f2b64
Fix GCC error.
6 years ago
Fernando Sahmkow
38631f6cc3
Correct Linux Compile Error.
6 years ago
Fernando Sahmkow
7007675b65
Clang format.
6 years ago
Fernando Sahmkow
bde001bbf6
QueryCache: Only do async flushes on async gpu.
6 years ago
Fernando Sahmkow
8aeb603988
Async GPU: Only do reactive flushing on Extreme Level.
6 years ago
ReinUsesLisp
0b9454849d
vk_fence_manager: Initial implementation
6 years ago
Fernando Sahmkow
3769318042
QueryCache: Implement Async Flushes.
6 years ago
Fernando Sahmkow
1966f1d948
OpenGL: Guarantee writes to Buffers.
6 years ago
Fernando Sahmkow
7986c97ed2
GPU: Implement Flush Requests for Async mode.
6 years ago
Fernando Sahmkow
af9f901764
FenceManager: Manage syncpoints and rename fences to semaphores.
6 years ago
Fernando Sahmkow
87ddc6a29f
BufferCache: Refactor async managing.
6 years ago
Fernando Sahmkow
967f5cec17
FenceManager: Implement async buffer cache flushes on High settings
6 years ago
Fernando Sahmkow
6092308fe4
Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan.
6 years ago
Fernando Sahmkow
2ee68ad8e4
GPU: Fix rebase errors.
6 years ago
Fernando Sahmkow
b2787048d1
Rasterizer: Disable fence managing in synchronous gpu.
6 years ago
Fernando Sahmkow
e7195b5f87
ThreadManager: Sync async reads on accurate gpu.
6 years ago