Commit Graph

14863 Commits (cf137ea40b8770310773cf9d51ae5e47bdbddf9d)
 

Author SHA1 Message Date
bunnei 8f548266cd
Merge pull request #3760 from Morph1984/trailing-filedir-separator
frontend/filesystem: Add a trailing separator to the string path
5 years ago
Lioncash cc84b48ce5 physical_core: Make use of std::make_unique instead of std::make_shared in ctor
We can also allow unicorn to be constructed in 32-bit mode or 64-bit
mode to satisfy the need for both interpreter instances.

Allows this code to compile successfully of non x86-64 architectures.
5 years ago
Rodrigo Locatti f24c67877b
Merge pull request #3777 from lioncash/warn
page_table: Remove unused captures
5 years ago
Rodrigo Locatti db3dcb2f64
Merge pull request #3778 from lioncash/unused-var
svc: Remove unused variable
5 years ago
Rodrigo Locatti 8aa92491d5
Merge pull request #3781 from lioncash/docs
shared_memory: Amend doxygen reference
5 years ago
Lioncash ce7c02735e shared_memory: Amend doxygen reference
Amends the parameter to match the documentation reference.

Resolves a -Wdocumentation warning with clang.
5 years ago
Lioncash 4730347f8e svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
These were lost in the re-implementation of the virtual memory manager.
5 years ago
Lioncash bed4865981 svc: Remove unused variable
Since the VMM refactor, this is no longer used or needed.
5 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.
5 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).
5 years ago
ReinUsesLisp 4fb921ff6b shader/texture: Support multiple unknown sampler properties
This allows deducing some properties from the texture instruction before
asking the runtime. By doing this we can handle type mismatches in some
instructions from the renderer instead of the shader decoder.

Fixes texelFetch issues with games using 2D texture instructions on a 1D
sampler.
5 years ago
ReinUsesLisp 72deb773fd shader_ir: Turn classes into data structures 5 years ago
ReinUsesLisp 3e35101895 vk_rasterizer: Fix framebuffer creation validation errors
Framebuffer creation was ignoring the number of color attachments.
5 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.
5 years ago
ReinUsesLisp f665c92114 vk_renderpass_cache: Pack renderpass cache key to 12 bytes 5 years ago
Rodrigo Locatti 26f2820ae3
Merge pull request #3768 from H27CK/cmd-title-fmt
Fix format error in performance statistics
5 years ago
gxcreator 8af62c9997 Fixed packaging on some systems with different QT5 path 5 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.
5 years ago
Fernando Sahmkow 5c9feaebb6 Clang Format. 5 years ago
Fernando Sahmkow b8aef40c56 GPU: Add Fast GPU Time Option. 5 years ago
Fernando Sahmkow 18a88d19dc Maxwell3D: Process Macros on MultiMethod. 5 years ago
Fernando Sahmkow 3fedcc2f6e DMAPusher: Propagate multimethod writes into the engines. 5 years ago
Ben Russell bcd0444bb9
Update src/yuzu/main.cpp with missing const
Co-Authored-By: Mat M. <mathew1800@gmail.com>
5 years ago
Ben Russell dd43d725c6
Dump RomFS command to include Updates
Patch the RomFS with the selected updates before dumping. Previously the resulting RomFS only contained data from the original title.

To dump the RomFS without updates the user can disable the update under Properties before choosing Dump RomFS.
5 years ago
bunnei eb26e9e711
Merge pull request #3730 from lioncash/time
service/time: Remove reliance on the global system accessor
5 years ago
bunnei 2409fedacf
Merge pull request #3697 from lioncash/declarations
CMakeLists: Enable -Wmissing-declarations on Linux builds
5 years ago
Kewlan 8d917e14f8 Edit modifier_scale with the deadzone slider 5 years ago
H27CK a26a725515 Fix format error in performance statistics
Formatting
5 years ago
bunnei bf2ddb8fd5
Merge pull request #3677 from FernandoS27/better-sync
Introduce Predictive Flushing and Improve ASYNC GPU
5 years ago
Mat M 2c806c5fd3
Merge pull request #3767 from ReinUsesLisp/point-size-pipeline
vk_pipeline_cache: Fix unintentional memcpy into optional
5 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.
5 years ago
Fernando Sahmkow c043ac4f13 GL_Fence_Manager: use GL_TIMEOUT_IGNORED instead of a loop, 5 years ago
bunnei bee2c64b34
Merge pull request #3725 from MerryMage/fpcr
thread: FPCR.FZ is likely not 1 (and FPCR.RMode = TieAway and FPCR.DN = 0)
5 years ago
Mat M 6ce3d174b7
Merge pull request #3759 from H27CK/opus-mingw-w64
Set _FORTIFY_SOURCE=0 if building Opus with mingw-w64
5 years ago
Fernando Sahmkow 63d2ba4f69
Merge pull request #3763 from H27CK/vk-cmd
Add missing ;
5 years ago
H27CK 4d74578d35 Add missing ; 5 years ago
bunnei 5ed13304e1
Merge pull request #3758 from H27CK/vk-cmd
Introduce dummy context for yuzu-cmd VK support
5 years ago
Fernando Sahmkow afae40a99e
Merge pull request #3653 from ReinUsesLisp/nsight-aftermath
renderer_vulkan: Integrate Nvidia Nsight Aftermath on Windows
5 years ago
Fernando Sahmkow 4e37f1b113 Address Feedback. 5 years ago
Fernando Sahmkow 39e5b72948 Async GPU: Correct flushing behavior to be similar to old async GPU behavior. 5 years ago
Fernando Sahmkow 1b3be8a8f8 MaxwellDMA: Correct copying on accuracy level. 5 years ago
Fernando Sahmkow 644588fd88 ShaderCache/PipelineCache: Cache null shaders. 5 years ago
Fernando Sahmkow f616dc0b59 Address Feedback. 5 years ago
Fernando Sahmkow ec2f3e48e1 Fix GCC error. 5 years ago
Fernando Sahmkow 7f44f22451 Correct Linux Compile Error. 5 years ago
Fernando Sahmkow d2d4a6cbcf Clang format. 5 years ago
Fernando Sahmkow b3e5f177ba QueryCache: Only do async flushes on async gpu. 5 years ago
Fernando Sahmkow f4ab223ef0 Async GPU: Only do reactive flushing on Extreme Level. 5 years ago
ReinUsesLisp b752faf2d3 vk_fence_manager: Initial implementation 5 years ago
Fernando Sahmkow 0649f05900 QueryCache: Implement Async Flushes. 5 years ago