bunnei
ea09930196
Update src/video_core/gpu.cpp
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
6 years ago
Fernando Sahmkow
9df67b2095
Clang Format and Documentation.
6 years ago
Fernando Sahmkow
37c690576f
MaxwellDMA: Optimize micro copies.
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
M&M
c1ffaa8b29
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
Vitor Kiguchi
dffcff9fec
Fix the mistake in the port and update the comment for clarity
6 years ago
ReinUsesLisp
527a1574c3
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
a19c6317ef
Add Restore Defaults and Clear options to hotkeys
6 years ago
Markus Wick
e717a1df20
Fix -Wdeprecated-copy warning.
6 years ago
Markus Wick
c499c22cf7
Fix -Werror=conversion error.
6 years ago
David Marcec
03a6f3b0f4
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
ce7c02735e
shared_memory: Amend doxygen reference
Amends the parameter to match the documentation reference.
Resolves a -Wdocumentation warning with clang.
6 years ago
Lioncash
4730347f8e
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
These were lost in the re-implementation of the virtual memory manager.
6 years ago
Lioncash
bed4865981
svc: Remove unused variable
Since the VMM refactor, this is no longer used or needed.
6 years ago
Lioncash
f77b5dfe81
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
dbaebd8582
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
3e35101895
vk_rasterizer: Fix framebuffer creation validation errors
Framebuffer creation was ignoring the number of color attachments.
6 years ago
ReinUsesLisp
8c37cd1af6
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
f665c92114
vk_renderpass_cache: Pack renderpass cache key to 12 bytes
6 years ago
bunnei
ff0c49e1ce
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
5c9feaebb6
Clang Format.
6 years ago
Fernando Sahmkow
b8aef40c56
GPU: Add Fast GPU Time Option.
6 years ago
Fernando Sahmkow
18a88d19dc
Maxwell3D: Process Macros on MultiMethod.
6 years ago
Fernando Sahmkow
3fedcc2f6e
DMAPusher: Propagate multimethod writes into the engines.
6 years ago
Kewlan
8d917e14f8
Edit modifier_scale with the deadzone slider
6 years ago
H27CK
a26a725515
Fix format error in performance statistics
Formatting
6 years ago
ReinUsesLisp
d9463f4562
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
c043ac4f13
GL_Fence_Manager: use GL_TIMEOUT_IGNORED instead of a loop,
6 years ago
H27CK
4d74578d35
Add missing ;
6 years ago
Fernando Sahmkow
4e37f1b113
Address Feedback.
6 years ago
Fernando Sahmkow
39e5b72948
Async GPU: Correct flushing behavior to be similar to old async GPU behavior.
6 years ago
Fernando Sahmkow
1b3be8a8f8
MaxwellDMA: Correct copying on accuracy level.
6 years ago
Fernando Sahmkow
644588fd88
ShaderCache/PipelineCache: Cache null shaders.
6 years ago
Fernando Sahmkow
f616dc0b59
Address Feedback.
6 years ago
Fernando Sahmkow
ec2f3e48e1
Fix GCC error.
6 years ago
Fernando Sahmkow
7f44f22451
Correct Linux Compile Error.
6 years ago
Fernando Sahmkow
d2d4a6cbcf
Clang format.
6 years ago
Fernando Sahmkow
b3e5f177ba
QueryCache: Only do async flushes on async gpu.
6 years ago
Fernando Sahmkow
f4ab223ef0
Async GPU: Only do reactive flushing on Extreme Level.
6 years ago
ReinUsesLisp
b752faf2d3
vk_fence_manager: Initial implementation
6 years ago
Fernando Sahmkow
0649f05900
QueryCache: Implement Async Flushes.
6 years ago
Fernando Sahmkow
131b342130
OpenGL: Guarantee writes to Buffers.
6 years ago
Fernando Sahmkow
1fb516cd97
GPU: Implement Flush Requests for Async mode.
6 years ago
Fernando Sahmkow
b7bc3c2549
FenceManager: Manage syncpoints and rename fences to semaphores.
6 years ago
Fernando Sahmkow
96bb961a64
BufferCache: Refactor async managing.
6 years ago
Fernando Sahmkow
b10db7e4a5
FenceManager: Implement async buffer cache flushes on High settings
6 years ago
Fernando Sahmkow
4adfc9bb08
Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan.
6 years ago
Fernando Sahmkow
a081a7c855
GPU: Fix rebase errors.
6 years ago
Fernando Sahmkow
e84eb64e51
Rasterizer: Disable fence managing in synchronous gpu.
6 years ago